http://qs321.pair.com?node_id=495461

Angel has asked for the wisdom of the Perl Monks concerning the following question:

Dear Monks,

I am really trying not to reinvent the flat tire again. I wrote a web application with login and passwords and it works. But now we want multiple levels of administration and possibly the ability for people to log into different applications with the same username and password. I can write this but it seems like something that someone else would have written before. Right now my user data lives in a table in a MySQL database. And I need to combine that data with other data from the database for reports. So keeping it in the database would be preferable.

I checked Super Search and got that many people suggest using LDAP. And I looked around and found that it was good and there are perl modules to allow the access of that data contained within and reading the data from it. There is even one that makes it look like SQL.

But then I have a database with the data in it and a database with the login information in it. Does there exist a set of modules or an application with an API that use MySQL or Postgres and has user accounts and user groups already implemented. I found some stuff on CPAN. I have a add/mod/delete user thing written but having one that handles multiple addresses/phone numbers/ect out of the box that I don't have to code would be a great time saver.

If not I write it make sure its not filled with security holes and then put it on CUPF.

User::Simple has some of the features but only simple access levels. This means I might not be searching for the right thing.Any ideas of where to look? Or of any idea of where to start>

 

  • Comment on Users and Usergroups Modules or Application with API

Replies are listed 'Best First'.
Re: Users and Usergroups Modules or Application with API
by Angel (Friar) on Sep 29, 2005 at 14:47 UTC
    Well I guess I am writing it. Wish me luck :)