ravendisplayed ([info]ravendisplayed) wrote in [info]python_dev,

CGI login module

I've decided to dip my toes in the waters of cgi by writing a web version of the Hacker's Diet tools. Since I am planning on having it support multiple users I started looking for modules that would simplify handeling user accounts and authentication. I found logintools, but it seems to be quite broken.

Are there any other similar modules that aren't quite as broken, or should I just roll my own?

**Update**
With the help of the author I have worked through the issues, some were on my side, some where on his. Anyway, now that it is up and running well I must say that logintools is really nice.

  • Post a new comment

    Error

    Anonymous comments are disabled in this journal

    Your IP address will be recorded 

  • 5 comments

[info]hythloday

October 10 2005, 08:03:20 UTC 6 years ago

No suggestions for authentication libraries, I'm afraid, but if you find logintools lacking, why don't you fix it rather than roll your own?

[info]ravendisplayed

October 10 2005, 21:34:41 UTC 6 years ago

Good point.

[info]mfoord

October 10 2005, 08:17:46 UTC 6 years ago

logintools

I'm the author of logintools - I use it on a couple of projects. Email me to discuss it if you want.... it should work.

[info]ravendisplayed

October 10 2005, 21:36:19 UTC 6 years ago

Re: logintools

Will do, thanks!

[info]lazarus834

October 20 2005, 18:46:45 UTC 6 years ago

you could write an object that wraps around some calls to os.popen() calling the htpasswd command (which comes with apache).

htpasswd is a command line program that encrypts passwords to a plaintext but MD5 file.

If your program works with htpasswd files then it will be able to use the same passwords as apache.

Create an Account
Forgot your login or password?
Facebook Twitter More login options
English • Español • Deutsch • Русский…