The Perl Toolchain Summit needs more sponsors. If your company depends on Perl, please support this very important event.

NAME

OzDB - database interface module for OzBot

SYNOPSIS

use OzDB;

DESCRIPTION

The OzDB Perl module handles authentication and access control for the OzBot based utility bots. The basic database format is the authentication schema. This is based on a numerical ordering authentication system. If the user's Authentication level is higher than that of the command's authentication level then the user is authenticated for the command and the command's special arguments will be returned to the function. This is useful for BACKEND authentication only, where the usernames are entered by an already physically or password authorized connection. This is for information purposes, and is not to be used as an actual database such as MySQL or PgSQL. This is written to faciliate developers with rudimentary information storage and any protected information, including passwords, should not be stored in this database. It is simply a method to allow applications to store and retrieve data in an arbitrary and extensible format with special delimiters.

EXPORT

None by default.

METHODS

  • $obj->authenticate("authuser.db", "authcmd.db", "$name", "$command");

  • $obj->add_user("$authuserdb", "$authcmddb", "$name", "$authlevel");

SEE ALSO

http://support.linuxops.net

AUTHOR

NeXeN, aka Osbourne nexen@cpan.org

COPYRIGHT AND LICENSE

Copyright (C) 2005 by Daniel Remsburg

This library is free software; you can redistribute it and/or modify it under the same terms as Perl itself, either Perl version 5.8.6 or, at your option, any later version of Perl 5 you may have available.