PDA

View Full Version : problem with encrypting user/pass


ww311s
03-27-2009, 01:47 PM
Hi,

I am trying to get the automatic logon to work with the "encrypt=true" parameter and my results that I am getting are that it just doesnt work. I am setting encrypt = true and base64 encoding the username and pass. This doesnt work at all.. connection fails. when I leave "encrypt=true" set and send the username and pass in cleartext, it connects. when I set "encrypt=false" and pass the u/p in clear text, it also connects. The code that does the base64 encoding has been checked and validated and is correct.

The problem is that am required to prevent any clear text passwords from winding up in the source of the page, and clearly both of the ways that I am able to get this to work leave the cleartext visible. As I am dynamically inserting the u/p values (its an .aspx page), I am not able to leave the connection parameters in the params.txt file as the manual suggests.

This is so clearly not working as the manual specifies. Is there a workaround I havent thought of?

Thanks!

William

vglass
03-28-2009, 01:21 PM
Could be a problem with the applet HTML code. Please also check that you do not have parameters in params.txt that are conflicting with applet parameters. If you continue to have trouble submit a ticket to the Help Desk at http://www.jscape.com/support/ along with URL for remote debugging.

ww311s
04-06-2009, 02:12 PM
I'll be happy to open a ticket, but unfortunately due to where I work, a remote debug is impossible.

vglass
04-06-2009, 02:30 PM
I suspect the issue is applet parameters are not being specified in both IE and Firefox formats or that there is some parameter in your params.txt file that is conflicting with HTML applet parameters. Please see the following for more information.

http://www.jscape.com/sftpapplet/docs/HTML/specifyingappletparameters.html

ww311s
04-06-2009, 04:56 PM
I had specified the encrypt = "true" param after the username/password params.... if I specify it first on the page it works.