Beefy Boxes and Bandwidth Generously Provided by pair Networks
Just another Perl shrine
 
PerlMonks  

comment on

( [id://3333]=superdoc: print w/replies, xml ) Need Help??

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>

 


In reply to Users and Usergroups Modules or Application with API by Angel

Title:
Use:  <p> text here (a paragraph) </p>
and:  <code> code here </code>
to format your post; it's "PerlMonks-approved HTML":



  • Are you posting in the right place? Check out Where do I post X? to know for sure.
  • Posts may use any of the Perl Monks Approved HTML tags. Currently these include the following:
    <code> <a> <b> <big> <blockquote> <br /> <dd> <dl> <dt> <em> <font> <h1> <h2> <h3> <h4> <h5> <h6> <hr /> <i> <li> <nbsp> <ol> <p> <small> <strike> <strong> <sub> <sup> <table> <td> <th> <tr> <tt> <u> <ul>
  • Snippets of code should be wrapped in <code> tags not <pre> tags. In fact, <pre> tags should generally be avoided. If they must be used, extreme care should be taken to ensure that their contents do not have long lines (<70 chars), in order to prevent horizontal scrolling (and possible janitor intervention).
  • Want more info? How to link or How to display code and escape characters are good places to start.
Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others learning in the Monastery: (6)
As of 2024-04-25 08:10 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found