Annotated CPAN


LDS > HTTPD-User-Manage-1.66 > HTTPD::UserAdmin

[ search.cpan.org | Kobes search | report a bug ]

(1 note; [first note])

NAME

HTTPD::UserAdmin - Management of HTTP server user databases

New Note §

SYNOPSIS

    use HTTPD::UserAdmin ();

New Note §

DESCRIPTION

This software is meant to provide a generic interface that hides the inconsistencies across HTTP server implementations of user and group databases.

New Note §

METHODS

Message Digest User Databases

Currently, you can store user info in a format for servers who support Message Digest Authentication. Here's an example:

New Note §
  $user = new HTTPD::UserAdmin (DB => '.htdigest', Encrypt => 'MD5');
  
  ($username,$realm,$password) = ('JoeUser', 'SomePlace', '14me');

  #The checksum contains more info that just a password
  $user->add($username, "$username:$realm:$password");
  $user->update($username, "$username:$realm:newone");

  $info = $user->password($username);
  ($realm, $checksum) = split(":", $info);

  $user->delete($username);                                

New Note §

See <URL:http://hoohoo.ncsa.uiuc.edu/docs/howto/md5_auth.html> for NCSA's implementation.

New Note §

So, it's a little more work, but don't worry, a nicer interface is on the way.

New Note §

SEE ALSO

HTTPD::GroupAdmin(3), HTTPD::Authen(3)

New Note §

AUTHOR

Doug MacEachern <dougm@osf.org>

New Note §

Copyright (c) 1996, Doug MacEachern

New Note §

This library is free software; you can redistribute it and/or modify it under the same terms as Perl itself.

New Note §

(1 note; [last note])