perl-Apache2-AuthCookieDBI - An AuthCookie module backed by a DBI database

Property Value
Distribution openSUSE Leap 42.2
Repository openSUSE Oss all
Package name perl-Apache2-AuthCookieDBI
Package version 2.17
Package release 2.1
Package architecture noarch
Package type rpm
Installed size 89.81 KB
Download size 42.31 KB
Official Mirror
This module is an authentication handler that uses the basic mechanism
provided by Apache2::AuthCookie with a DBI database for ticket-based
protection. It is based on two tokens being provided, a username and
password, which can be any strings (there are no illegal characters for
either). The username is used to set the remote user as if Basic
Authentication was used.
On an attempt to access a protected location without a valid cookie being
provided, the module prints an HTML login form (produced by a CGI or any
other handler; this can be a static file if you want to always send people
to the same entry page when they log in). This login form has fields for
username and password. On submitting it, the username and password are
looked up in the DBI database. The supplied password is checked against the
password in the database; the password in the database can be plaintext, or
a crypt() or md5_hex() checksum of the password. If this succeeds, the user
is issued a ticket. This ticket contains the username, an issue time, an
expire time, and an MD5 checksum of those and a secret key for the server.
It can optionally be encrypted before returning it to the client in the
cookie; encryption is only useful for preventing the client from seeing the
expire time. If you wish to protect passwords in transport, use an
SSL-encrypted connection. The ticket is given in a cookie that the browser
After a login the user is redirected to the location they originally wished
to view (or to a fixed page if the login "script" was really a static
On this access and any subsequent attempt to access a protected document,
the browser returns the ticket to the server. The server unencrypts it if
encrypted tickets are enabled, then extracts the username, issue time,
expire time and checksum. A new checksum is calculated of the username,
issue time, expire time and the secret key again; if it agrees with the
checksum that the client supplied, we know that the data has not been
tampered with. We next check that the expire time has not passed. If not,
the ticket is still good, so we set the username.
Authorization checks then check that any "require valid-user" or "require
user jacob" settings are passed. Finally, if a "require group foo"
directive was given, the module will look up the username in a groups
database and check that the user is a member of one of the groups listed.
If all these checks pass, the document requested is displayed.
If a ticket has expired or is otherwise invalid it is cleared in the
browser and the login form is shown again.


Package Version Architecture Repository
perl-Apache2-AuthCookieDBI - - -


Name Value
/usr/bin/perl -
perl(:MODULE_COMPAT_5.18.2) -
perl(Apache2::AuthCookie) >= 3.08
perl(Apache2::Const) -
perl(Apache2::RequestRec) -
perl(Apache2::ServerUtil) -
perl(Crypt::CBC) >= 2.13
perl(DBI) >= 1.4
perl(Date::Calc) -
perl(mod_perl2) >= 1.999022
rpmlib(CompressedFileNames) <= 3.0.4-1
rpmlib(PayloadFilesHavePrefix) <= 4.0-1
rpmlib(PayloadIsLzma) <= 4.4.6-1


Name Value
perl(Apache2::AuthCookieDBI) = 2.17
perl-Apache2-AuthCookieDBI = 2.17-2.1


Type URL
Binary Package perl-Apache2-AuthCookieDBI-2.17-2.1.noarch.rpm
Source Package perl-Apache2-AuthCookieDBI-2.17-2.1.src.rpm

Install Howto

Install perl-Apache2-AuthCookieDBI rpm package:

# zypper install perl-Apache2-AuthCookieDBI



See Also

Package Description
perl-App-Ack-2.15_01-3.1.noarch.rpm Grep-Like Text Finder Perl Module
perl-App-CELL-0.220-1.1.noarch.rpm Configuration, Error-handling, Localization, and Logging
perl-App-CLI-0.313-19.1.noarch.rpm Dispatcher module for command line interface programs
perl-App-Cmd-0.330-1.1.noarch.rpm Write Command Line Apps with Less Suffering
perl-App-Dochazka-CLI-0.236-1.1.noarch.rpm Dochazka command line client
perl-App-Dochazka-Common-0.204-1.1.noarch.rpm Dochazka Attendance and Time Tracking System shared modules
perl-App-FatPacker-0.010005-1.1.noarch.rpm Pack Your Dependencies Onto Your Script File
perl-App-Nopaste-1.006-1.1.noarch.rpm Easy access to any pastebin
perl-App-cpanminus-1.7042-1.1.noarch.rpm Get, Unpack, Build and Install Modules From Cpan
perl-AppConfig-1.71-4.1.noarch.rpm Perl5 module for reading configuration files and parsing command line ar[cut]
perl-Archive-Extract-0.76-5.1.noarch.rpm Generic Archive Extracting Mechanism
perl-Archive-Peek-0.35-1.1.noarch.rpm Peek into archives without extracting them
perl-Archive-Zip-1.57-1.1.noarch.rpm Provide an interface to ZIP archive files
perl-Array-Unique-0.08-10.1.noarch.rpm Tie-able array that allows only unique values
perl-Authen-DecHpwd-2.006-1.1.x86_64.rpm DEC VMS password hashing