[Twisted-Python] Log in - state of the art?

Donovan Preston dp at ulaluma.com
Fri Nov 5 14:21:14 EST 2004

On Nov 5, 2004, at 10:59 AM, Alexander May wrote:

> I'm using twisted and nevow and would like to implement a log in 
> system for
> my site.  The view of the site will differ based on the credentials a 
> user
> supplies.  I would also (obviously) like to prevent any circumvention 
> of the
> log in via deep linking or any other means.
> I vaguely remember a while back some discussion of cred/newcred, but I 
> do
> not know what classes and modules correspond to each system.  I also 
> see a
> nevow guard class that may be useful, or may be old, with a mysterious
> comment:
> Resource protection for Nevow. If you wish to use twisted.cred to 
> protect
> your
> Nevow application, you are probably most interested in
> L{SessionWrapper}.
> """
> What modules and classes should I be looking at?  Are there any 
> examples out
> there?  Is the how-to on the website
> (http://twistedmatrix.com/documents/current/howto/cred) up to date?

There are several examples of using nevow.guard and implementing a 
simple cred realm in the nevow examples directory. If you need more 
help, it is more appropriate to ask on the twisted-web mailing list, 
where you are more likely to get an answer:


Another good place to get help is the #twisted.web channel on 


More information about the Twisted-Python mailing list