in reply to Re: Perl-CGI - Emulating Apache authentication?
in thread Perl-CGI - Emulating Apache authentication?

I want to control the behaviour (enabling/disabling) of the authentication based on dynamic variables in the Perl code, that's why I really can't use it as it is.
I guess I can use mod_perl in some way, but the environment for this specific task is very strict - I really can't install mod_perl in the target environment.
  • Comment on Re^2: Perl-CGI - Emulating Apache authentication?

Replies are listed 'Best First'.
Re^3: Perl-CGI - Emulating Apache authentication?
by rnewsham (Curate) on Mar 08, 2013 at 10:45 UTC

    I think you really just need to create a cookie based login session system. If you have reasons for not wanting to store users in a database then you can still use a .htpasswd file for storing users. I think App::Authentication::Htpasswd should allow you to do that.