CGI::Auth::Basic

Basic CGI authentication interface.
Download

CGI::Auth::Basic Ranking & Summary

Advertisement

  • Rating:
  • License:
  • Perl Artistic License
  • Price:
  • FREE
  • Publisher Name:
  • Burak G
  • Publisher web site:
  • http://search.cpan.org/~burak/Text-Template-Simple-0.50/lib/Text/Template/Simple.pm

CGI::Auth::Basic Tags


CGI::Auth::Basic Description

Basic CGI authentication interface. CGI::Auth::Basic is a basic CGI authentication interface in Perl.SYNOPSIS use CGI::Auth::Basic; $auth = CGI::Auth::Basic->new(cgi_object => $cgi, password => 'J2dmER4GGQfzA'); $auth = CGI::Auth::Basic->new(cgi_object => $cgi, file => "path/to/password/file.txt"); $auth = CGI::Auth::Basic->new(cgi_object => 'AUTOLOAD_CGI', password => 'J2dmER4GGQfzA', cookie_id => 'passcookie', cookie_timeout => '1h', http_charset => 'ISO-8859-9', logoff_param => 'logout'); if ($someone_wants_to_enter_my_secret_area) { $auth->check_user; }or you can just say: CGI::Auth::Basic->new(cgi_object=>CGI->new,file=>"./pass.txt")->check_user; # J2dmER4GGQfzA == blahThis module adds a simple (may be a little complex if you use all features) user validation system on top of your program. If you have a basic utility that needs a password protection or some unfinished admin section and you don't want to waste your time with writing hundreds of lines of code to protect this area; this module can be useful.Module's interface is really simple and you can only have a password area; no username, no other profile areas. This is not a member system afterall (or we can say that; this is a basic, single member system -- or call it a quick hack that does its job). Not designed for larger applications. Requirements: · Perl


CGI::Auth::Basic Related Software