Beefy Boxes and Bandwidth Generously Provided by pair Networks
Perl-Sensitive Sunglasses
 
PerlMonks  

Re: User authorization and design of larger web/intranet applications.

by johnnywang (Priest)
on Oct 10, 2005 at 17:48 UTC ( [id://498898]=note: print w/replies, xml ) Need Help??


in reply to User authorization and design of larger web/intranet applications.

Just want to say that I do exactly what you're doing with C::A, i.e., put DB connection in setup(), and authentication in cgi_prerun(). For authorization, my applications usually only have a few roles, so I usually just check some flags similar to authentication (e.g., is the admin flag set? the sub classes can decide which flag they want.)
  • Comment on Re: User authorization and design of larger web/intranet applications.

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://498898]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others surveying the Monastery: (2)
As of 2024-04-25 21:52 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found