redss
Programmer
- Oct 20, 2002
- 195
My website accepts a username/password (using a perl cgi script) and redirects a user to an external website, and automatically logs the user in by sending the following headers:
As you can see, it is passing cgi parameters (user,password) using the get method.
The problem is that the password is left visible in cleartext in the browser history so another user on that computer can find out the password.
Is there a way to accomplish this using the POST method so that the password will not show up?
Code:
Content-type: text/html
Location: [URL unfurl="true"]https://www.mysite.com/handler.cgi?user=foo?password=bar[/URL]
The problem is that the password is left visible in cleartext in the browser history so another user on that computer can find out the password.
Is there a way to accomplish this using the POST method so that the password will not show up?