passwords to CGI

Erik Max Francis max at alcyone.com
Tue Jan 14 05:25:24 EST 2003


Will Stuyvesant wrote:

> Sending a password to a CGI script with this HTML::
> 
>     <input type=password name=pwd>
> 
> is scary for a user since he sees the pwd appearing
> in the url the browser calls.  This is when you use
> the GET method (I'd rather not use POST, see below).
> Is there a way to encrypt a password before it is
> sent?  Maybe completely different HTML?  I know
> about the getpass module but I want the user to be
> able to only use his browser.

No, not with pure CGI and HTML.  With client-side scripting you could.

-- 
 Erik Max Francis / max at alcyone.com / http://www.alcyone.com/max/
 __ San Jose, CA, USA / 37 20 N 121 53 W / &tSftDotIotE
/  \ You must surely know / If man made Heaven, then man made Hell
\__/ Level 42
    Polly Wanna Cracka? / http://www.pollywannacracka.com/
 The Internet resource for interracial relationships.




More information about the Python-list mailing list