Calling A Secure Script From An Unsecure Page

Oct 4, 2010

My Google-fu is apparently pretty weak today. I'm unable to find a good reference for this problem I'm having on a client's site.

They have a script on their remote, secure server and our pages (some of which are secure and some which are not) call it.

The problem appears to be on the unsecure pages calling the client's remote, secure JS file. I'm told that on FireFox and Chrome, it times out and produces an error on our back-end.

View 3 Replies


ADVERTISEMENT

JQuery :: Identify If User Chose To See Secure Only Or Secure And Nonsecure Items?

Aug 11, 2009

My site is secure but also contain non secure items from google adsense. users have the options to view secure only or secure and non- secure item. I would like to be able to identify what that user chose so I can show some other things if they choose to only see secure items.

View 1 Replies View Related

JQuery :: Secure Login - Send The Username And Password To The Server In A Secure Way?

Oct 22, 2009

I would like to implement a login functionality to my website.

I've written a login form like this:

The problem is: how can I send the username and password to the server in a securely way? I mean, if the server sends the whole page in HTTP then the user wants to log in, he would not be able to send it in HTTPS, unless the server sends the login page to the user in HTTPS. But I would like this thing to happen with no full page refresh.

View 1 Replies View Related

JQuery :: Login Script - Replace, The ?secure-page Part With The File Name Of The Page?

May 10, 2010

I am using a Jquery/PHP/MySQL login script which is supposed to display an error or success message when the user enters their username/password and also if the username/pw is successfull go to a secure page. Right now as I have it coded, this isn't working properly. Basically nothing is displayed either way.Also,wasn't sure if I just needed to replace, the ?secure-page part with the file name of the page I want to go to if successful?Here is the code as I have it now.

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
"http://www.w3.org/TR/html4/loose.dtd">
<html>[code].....

View 1 Replies View Related

Parsing A Secure Page For Data

Aug 23, 2007

The data that needs to parsed is on an asp page secured by a login
form. I have access to the site, but I was wondering how one would go
about writing a script that would automatically access the page and
grab the HTML.

Garbing the HTML then parsing the information I understand. I just
don't know if its possible to access the data through an external
script (run from another server) even though we have access rights to
the page requiring login that is situated on another server.

The reason for this is because we don't have direct access to the
database.

View 1 Replies View Related

Warning - This Page Contains Both Secure And Nonsecure Items

Jul 30, 2010

I am trying to get rid of this warning over and over.

My pages are located in directory WEBSERVERAPPLICATIONSWC

Master pages in WEBSERVERAPPLICATIONS

CSS and Javsasripts are in WEBSERVER

And in css I have background:url no-repeat right top;

Dont know even though the image gets accessed by Https. why it is still giving that warning.

View 2 Replies View Related

Warning Over And Over - This Page Contains Both Secure And Nonsecure Items

Jul 30, 2010

I am trying to get rid of this warning over and over.

My pages are located in directory WEBSERVERAPPLICATIONSWC

Master pages in WEBSERVERAPPLICATIONS

CSS and Javsasripts are in WEBSERVER

And in css I have background:url no-repeat right top;

Dont know even though the image gets accessed by Https. why it is still giving that warning.

View 1 Replies View Related

JQuery :: Modifying Page Links That Is On Secure Server

Feb 26, 2010

I have a page that is on a secure server, lets say https://server.com and I have a link on a page /somelink.html. I am trying to use jQuery to change the link to http://server.com/somelink.html

Here is the code I have come up with:
$(document).ready(function() {
$("a[href^='https://server.com']")
.each(function(){
this.href = this.href.replace(/^https://server.com/,"http://www.server.co");
});
$("a[href^='/']")
.each(function(){
this.href = this.href.replace(/^//,
"http://www.server.co");
});
});

However, my code only seems to work in Firebug after everything has rendered. I assume that the links are changes when the Document is Ready but before the server address is attached to the links.

View 1 Replies View Related

Calling Function Residing On Ancestor Page From Child Page

Dec 13, 2005

I am working on a web application and have run into a problem. From a
main window (Window1) I open a child window (Window2), and from that
child window I open a grandchild window (Window3). I need to call a
funcion that resides on Window1 from Window3. I do this successfully
by calling a function with window.opener on Window3, which calls a
function with window.opener on Window2, which calls a function on
Window1.

My problem comes in with the case of a user closing Window2, and trying
to carry out the function on Window3 that calls the function on Window
1. I have already tried window.top, but it doesnt seem to work.
window.opener of course returns the error "window.opener has no
properties".

View 2 Replies View Related

Called Sub-page Immediately Returns To Calling Page?

Feb 4, 2010

I have been a mainframe programmer for over 20 years - I have a new project that requires browser pages written in JavaScript. I currently begin with a HTML page that assigns the values retrieved from a third party vendor's API to an array. I pass this array to another page to build a table full of links - when a client clicks on one of the links, two variables are put into yet another array and a third page is called, successfully passing the required data. Ultimately page 1 and page 3 will be .asp pages so that additional third party vendor API's can be called. The problem is this: after the third page is called from the second page, it displays for a second and then returns to the second page. When I click back I can see the third page, followed by the second page, and finally the first page. My question is this: why is the third page not displaying in the browser? I'm sorry if I have not posted this correctly as I really am a mainframe programmer and this is my first time doing anything code related with web pages

View 8 Replies View Related

Is Internal JS Secure? (is External?)

Dec 19, 2005

I like having scripts external, but I wonder about the security of internal anyway. Someone could save and change the HTML, right? But is that possible with an external script? I always thought not (unless there was an error), until a person on this forum was able to grab the script I was working with at the time. No problem with that, but it brings up the question in my mind about security in general surrounding java-script.

View 8 Replies View Related

Secure Password System

Aug 28, 2006

My idea is to create a safety system that indicates the safety of the password. I have a field in a form called PASSWORD and I want that if the person writes only letters by means of a document.write there appears a phrase that says: easy password. If more than 8 letters appear: medium password. And if writes letters and numbers appear: high password.

View 3 Replies View Related

JQuery :: Secure A Link With A Password

Dec 12, 2011

I would like to secure a link with a password.

Upon entry into the link(selected) appeared to pop up a password.

After entering the incorrect order were moving to the home page .

If true, would redirect to the example thread.

I would also like to not be able to type a password time to look into the source of the page.

View 2 Replies View Related

Secure DropBox FTP Script Or Plugin?

Apr 30, 2011

Is there any type of script or plugin out that has a secure, DropBox-like interface? I wanted clients to have a username and password, and that username and password to be tied to a mysql db of sorts that allows them access to their specific FTP space without them knowing the actual server info.

View 2 Replies View Related

Transfer The Information Into The Secure Login?

Oct 12, 2006

I've got two seperate websites that I'm working on. I am doing the design of the main website and the second site is a secure login area which another person has created.

My question is... can I put a login form on the main page, and then have it transfer the information into the secure login? The purpose being so that people can login directly from the main page instead of having to click to go to the secure area and then log in?

View 3 Replies View Related

Secure Facebook Style Like Button?

Jul 26, 2011

I'm trying to create a button similar to Facebook's 'Like' button which is applied to each item in a list. When a user clicks the like button this item is favourited for the logged in user. For the moment I do this in the following way:-

<div id="item_<?php echo $row['item_id'];?>" onclick="like(<?php echo $row['item_id'];?>)"></div>

Obviously this is very unsecure because anyone can easily modify the item id stored in the like() function in the onclick property and like any item thes guess the id of.

My question is how do I make this secure by either not displaying the id of the item but still having it accessible to my like function or via some other method?

View 3 Replies View Related

Calling JS From Web Page

Jul 20, 2005

i do not know much javascript, but i am trying to call several different
scripts from the same web page and it is not working. Is there something i
can do or is this not a thing that is do-able?

View 3 Replies View Related

Which Method Will Make The Page Load Faster - Calling Code From A .js File 50 Times Slow Down Page Load?

May 12, 2011

I have a single webpage that contains information on all 50 U.S. states. There are 50 links at the top to jump down to the state you want, and at the bottom of the information for each state a Back to Top link.

I'm making the Back to Top link into something more complex, and it will require three or four lines of code.

So that I don't have to repeat the code 50 times, and create a burden when I need to edit it, I want to place it in a .js file and call it x. Then below the information for each state I'll simply have:

Does calling code from a .js file 50 times slow down the page load? Which method would load faster?

View 3 Replies View Related

SOAP Call To Secure WSDL And Database?

May 19, 2010

Is it possible to call a WSDL document behind authentication with an existing SOAP service to pull data from a database behind authentication in Javascript?

Ultimately, I want to insert script into a spreadsheet to aggregate data from a database behind authentication.

View 8 Replies View Related

Identifiying The Calling Page

Jul 23, 2005

I'm trying to do something simple: find out which page had the link
which got me to the current page. I am using window.referrer, in IE6,
but it never has anything but blank in it. The scenario is that the
user must go though a sign on page to get to the goodies. If they go
direct, they get bumped to login:

if (window.referrer != "login_page" { window.location.href =
"login_page" }

But the referrer is no present. I've also tried looking at
window.history but to no avail. Are these all netscape specific and if
so, what is an IE equivalent?

View 1 Replies View Related

Calling A Function From Another Page

Feb 17, 2006

I have an iframe inside of a parent page. How do I call the onChange
function in the parent page from the ddlProfileNames dropdown in the
iframe page?
Thanks.

code in parent page:

View 1 Replies View Related

Calling On Page Load?

Aug 2, 2011

I have an ASP.Net 2.5 application and I need to call a javascript function when one of the pages loads initially. I've tried:

Code:

string ScriptToCall = @"EnableCheckboxes(" + cblDetails.ClientID + ", false);";
ClientScript.RegisterStartupScript(this.GetType(), "addScript", ScriptToCall, true);

where EnableCheckboxes is a javascript function on the page. This doesn't work (doesn't disable the CheckBoxList), although the EnableCheckboxes function DOES work when I call it in other ways, so I'm sure that the problem is that I'm not calling it properly on page load.

I've tried:

Code:

ClientScript.RegisterStartupScript(this.GetType(), "addScript", "alert('Hello');", true);

which DOES work, so I know I'm on the right track, but how do I do this?

View 4 Replies View Related

Calling JS Function In Another Page?

Mar 10, 2010

ring how could I call a function on a separate page from another page; I know if you want to call a function you write something like this:

<a href="javascript:myFunc()" target="my_frame">Click Me!</a>

But what I wanted to do is, says I have two pages: page1.html and page2.html, and in page2.html I have a few JS functions namely myFunc1(), myFunc()2 and myFunc3(). Then I am inserting a few links in page1.html with an iframe below all the links with the name="my_frame", and what I want to do now is for the 3 <a> links I want to open up page2.html into the iframe (e.g. <a href="page2.html" target="my_frame">open Func 1</a>) but also when the page is loaded, one of those 3 functions would be invoked correspondingly depending on which link on page1.html I clicked.

View 3 Replies View Related

Calling Script From A Html Page?

Dec 12, 2009

I have to call the script below from my html page. How would I do that? Do I need to modify the script at all? Put in a function that returns the random title to the html page?

html page that calls the script

<html>
<head>
<script type='text/javascript' src='titles.js'></script>
<script>

[Code].....

View 2 Replies View Related

Calling Function From Included Page?

Jul 5, 2010

I have this structure:includes/top.php : This contains <head> tags, jQUery library & functions :

<script type="text/javascript">
function makeslider()
{

[code]....

View 1 Replies View Related

Calling A Function On A Page From The Browser?

Nov 4, 2009

Suppose there is a function myFunction() defined in a web page. Now how can a visitor call this function manually, using the JS console or Firebug etc.Is this possible?

View 4 Replies View Related







Copyrights 2005-15 www.BigResource.com, All rights reserved