Jump to content

This topic is 7792 days old. Please don't post here. Open a new topic instead.

Recommended Posts

Posted

Hi there,

Right after Microsoft released a security cumulative patch for Internet Explorer 6.1 (Q832894--http://www.microsoft.com/technet/security/Bulletin/MS04-004.asp) about a month ago

After that my online clients can not use javascript based login like the one I have

-->>>

.

var varjs;

.

.

varjs = varjs + document.myform.mypassword.value + "@" ;

document.location = "http://" + varjs + "domain.com/FMPro?-db=logo......

.

.

I may leave just the logon button in my form maybe without using text boxes for user id and the password but I'd like to avoid "Pop-up" login.

Is there any workaround for this?

Thanks for your time.

Ken

Posted

You can look at ways of using your own security system. Combining a User database and [FMP-InlineActions] at the start of each page.

A small PHP script in the middle may offer another solution.

Good Luck.

Garry

Posted

You might still be able to use JavaScript by creating an MSXML ActiveX object and setting the username and password in the open method. This doesn't embed in the user and password in the URL, so it circumvents the limitations imposed by Microsoft's recent change.

The following syntax for the open() method is from the MSDN:

http://msdn.microsoft.com/library/default.asp?url=/library/en-us/xmlsdk/htm/xml_mth_or_7nxs.asp

Syntax:

oXMLHttpRequest.open(bstrMethod, bstrUrl, varAsync, bstrUser, bstrPassword);

Sample usage:

var xmlhttp = new ActiveXObject("Msxml2.XMLHTTP.4.0");

xmlHTTP.open("GET","http://myserver/save.asp", false, myUserName, myPassword);

xmlHTTP.send();

Posted

Thanks for the leads Garry and Mariano,

for now I think I should go ahead with ActiveX, but I believe it is time for me to redesign everything with PHP.

Ken

This topic is 7792 days old. Please don't post here. Open a new topic instead.

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.