Hi Hamish,
> I need some simple cookie-based authentication: the user should
> initially be presented with a page asking for their email address; an
> email should be sent to that address containing a link; when the user
> visits that link, an association is made between cookie and email
> address. If the user subsequently deletes the cookie, they will get a
> new one and will need to associate it with their email address again
> in the same way.
>
> Would AuthKit be suitable for this? Would something more lightweight
> be better?
AuthKit is extremely light-weight although there isn't any code that
does exactly what you are after built in so you will have to read the
manual and decide the best way to integrate the cookie middleware in
authkit.authenticate.auth_tkt into your application.
> Also, I tried to install AuthDemo but get:
>
> pkg_resources.VersionConflict: (web 0.6.0 (/Library/Frameworks/
> Python.framework/Versions/2.4/lib/python2.4/site-packages/web-0.6.0-
> py2.4.egg), Requirement.parse('web>=0.6.1,<0.7'))
>
> I can't find web>0.6.0, and neither can easy_install. It's a bit
> difficult to google for a package called "web", can anyone point me to
> where I might find a later version?
Sorry, it is part of some legacy code I wrote at pythonweb.org. You can
install it with:
easy_install -f
http://pythonweb.org/eggs/http://pythonweb.org/eggs/web-0.6.1-py2.4.egg
The AuthDemo might be a bit sophisticated for your needs since it
includes a full registration and permissions system but it might give
you some ideas for your own app.
HTH,
James
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"pylons-discuss" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at
http://groups.google.com/group/pylons-discuss?hl=en
-~----------~----~----~----~------~----~------~--~---