http://qs1969.pair.com?node_id=699655

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

hello there fellow monks,

Does anyone know of a website authentication mechanism/layer type thing ?

To be more specific, a mech that authenticates a user with the usual username and password, but then manages the session from that point onwards. I will be using apache on linux but not mod_perl.

thanks in advance,

Isaac Close.

Replies are listed 'Best First'.
Re: website authentication mechanism
by InfiniteSilence (Curate) on Jul 23, 2008 at 18:00 UTC
    Lookup CGI::Session and/or Apache::Session and update your question after you have considered the pros and cons of either of them.

    Celebrate Intellectual Diversity

      thanks, basically thats enough information I need, just wasn't sure what words to use to begin my search.

      many thanks

      Isaac Close
Re: website authentication mechanism
by stonecolddevin (Parson) on Jul 23, 2008 at 17:59 UTC

    There are about a million out there.

    Check around for Authen modules.

    Some more specifics wouldn't hurt either...like whether you're using a framework, mod_perl, etc.

    meh.
Re: website authentication mechanism
by broomduster (Priest) on Jul 23, 2008 at 20:28 UTC
    The Apache documentation on your site should include a .../path/to/apachedocs/howto/auth.html that describes the Apache-supplied authentication methods (password, digest, db). You specifically say
    a mech that authenticates a user with the usual username and password
    If you mean the system user/passwd, then be aware that opening access via your web server to the system password file(s) is generally considered a BadIdea (which is why the Apache Group does not provide a mechanism to do this). One of the O'Reilly Apache books (either the Complete Guide or the Cookbook; neither is directly at hand, so I can't be more specific just now) gives a clearer explanation than I can do at the moment.