secure login on web

Olav Bandmann olav at sics.se
Thu May 3 06:00:01 EDT 2001


Ben Hutchings wrote:
> 
> Brian Lee <senux at senux.nospam> writes:
> 
> > Hi,
> >
> > With Python, I want to write a code to make a secure login
> > on web. How can I do that with Python? Is there any related
> > Python module?
> 
> It's not quite clear to me whether you're talking about the client or
> server end of things.  The httplib module is useful for web clients.
> For the server end there are various options - CGI (with the help of
> the CGI module), the Zope server, mod_snake or mod_python for Apache,
> or similar extensions for IIS.

If you're talking about client side ("session-persistent") SSL login,
you
should check out "webbot.py" at
http://starship.python.net/crew/jrush/Webbot/
as an example.

> I assume by 'secure login' you mean that login information should be
> sent over an SSL connection.  httplib doesn't support SSL 'out of the
> box', but I think you can add that capability using one of the modules
> listed at <http://www.vex.net/parnassus/apyllo.py?find=ssl>.

You will need to install OpenSSL anyway (if you haven't installed it
already).
After that, all you need to do is to recompile your fresh copy of Python
2.1.



More information about the Python-list mailing list