GithubHelp home page GithubHelp logo

geoffrey-young / apache-authdigest Goto Github PK

View Code? Open in Web Editor NEW
0.0 2.0 0.0 27 KB

CPAN distribution Apache::AuthDigest (released 12/2002)

Home Page: http://search.cpan.org/~geoff/Apache-AuthDigest/

Perl 99.65% XS 0.35%

apache-authdigest's Introduction

NAME

Apache::AuthDigest - reimplementation of mod_digest.c in Perl

SYNOPSIS

PerlModule Apache::AuthDigest

<Location /protected>
  PerlAuthenHandler Apache::AuthDigest
  Require valid-user
  AuthType Digest
  AuthName "cookbook"
  AuthDigestFile .htdigest
</Location>

DESCRIPTION

Apache::AuthDigest is a reimplementation of mod_digest, the standard Apache module that implements Digest authentication. For more information on Digest authentication, see RFC 2617: ftp://ftp.isi.edu/in-notes/rfc2617.txt

To do this, Apache::AuthDigest uses an API provided by Apache::AuthDigest::API, which is included in this distribution. see the Apache::AuthDigest::API manpage if you want to implement a Digest authentication scheme that uses something other than a flat file.

EXAMPLE

The configuration for Apache::AuthDigest is relatively simple:

PerlModule Apache::AuthDigest

<Location /protected>
  PerlAuthenHandler Apache::AuthDigest
  Require valid-user
  AuthType Digest
  AuthName "cookbook"
  AuthDigestFile .htdigest
</Location>

please note that Apache::AuthDigest does not configure a handler for the authorization phase, which is a bit different than mod_digest. if you want to use something other than Require valid-user, you will need to use Apache::AuthzDigest:

PerlModule Apache::AuthDigest
PerlModule Apache::AuthzDigest

<Location /protected>
  PerlAuthenHandler Apache::AuthDigest
  PerlAuthzHandler Apache::AuthzDigest
  Require user foo
  AuthType Digest
  AuthName "cookbook"
  AuthDigestFile .htdigest
</Location>

see the Apache::AuthzDigest manpage for more information.

NOTES

this module essentially mimics the Digest implementation provided by mod_digest.c that ships with Apache. there is another implementation, classified as "experimental" that also ships with Apache, mod_auth_digest.c, which is more complete wrt RFC 2617. of particular interest is that the mod_digest implementation does not work with MSIE (so neither does this implemenation). at some point, Apache::AuthDigest::API::Full will implement a completely compliant API - this will have to do for now.

Apache::AuthDigest will decline to process the transaction if mod_digest.c is detected, allowing the faster mod_digest implementation to control the fate of the request.

FEATURES/BUGS

none that I know of yet, but consider this alphaware.

SEE ALSO

perl(1), mod_perl(1), Apache(3), Apache::AuthDigest(3)

AUTHORS

Geoffrey Young [email protected]

Paul Lindner [email protected]

Randy Kobes [email protected]

COPYRIGHT

Copyright (c) 2002, Geoffrey Young, Paul Lindner, Randy Kobes.

All rights reserved.

This module is free software. It may be used, redistributed and/or modified under the same terms as Perl itself.

HISTORY

This code is derived from the Cookbook::DigestAPI module, available as part of "The mod_perl Developer's Cookbook".

For more information, visit http://www.modperlcookbook.org/

apache-authdigest's People

Contributors

geoffrey-young avatar

Watchers

 avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.