Skip to content

mod_perl Authentication and Authorization via cookies

Notifications You must be signed in to change notification settings

pkg-perl-tools/apache-authcookie

 
 

Repository files navigation

OVERVIEW

Apache::AuthCookie allows you to intercept a user's first unauthenticated
access to a protected document. The user will be presented with a custom
form where they can enter authentication credentials. The credentials are
posted to the server where AuthCookie verifies them and returns a session
key.

The session key is returned to the user's browser as a cookie. As a cookie,
the browser will pass the session key on every subsequent accesses.
AuthCookie will verify the session key and re-authenticate the user.

All you have to do is write a custom module that inherits from AuthCookie.
See the POD documentation for more details.

INSTALLATION

This module uses the Apache::Test framework for testing.  As a result, any
other Apache::Test parameters can be used when generating the Makefile.

    perl Makefile.PL -apxs /usr/sbin/apxs
    make
    make test
    make install

About

mod_perl Authentication and Authorization via cookies

Resources

Stars

Watchers

Forks

Packages

No packages published

Languages

  • Perl 96.9%
  • Shell 2.1%
  • HTML 1.0%