[Twisted-Python] HTTP Basic Auth using cred, an example

Itamar Shtull-Trauring itamar at itamarst.org
Mon Nov 10 18:11:15 MST 2003


I've put up some code showing how to use HTTP Basic authentication
together with cred to guard a resource at
http://www.twistedmatrix.com/users/roundup.twistd/twisted/issue393

You need to implement a realm that returns resources, and then wrap it
in a portal with an appropriate username/password credential checker.

-- 
Itamar Shtull-Trauring    http://itamarst.org/
Available for Python & Twisted consulting




More information about the Twisted-Python mailing list