Gantry::Control::C::Access - Authentication by IP
This is an Authentication module against an IP range.
This is the minimum configuration to set up Authen on a location,
it is probably more usefull with Authz on and the App based authz handlers turned on as well.
auth_allow_ranges takes ranges of ip address in cidr notation comma seperated.
auth_allow_ips takes single ip addresses seperated by commas.
auth_ignore_access_handler allows the access not to over ride authen and authz if needed,
set to 1 not to override do not set if you want the override to happen.
<Location / > PerlSetVar auth_allow_ranges "192.168.1.0/24,192.168.2.0/24" PerlSetVar auth_allow_ips "127.0.0.1" PerlSetVar auth_ignore_access_handler 1 AuthType Basic AuthName "My Auth Location" PerlAccessHandler Gantry::Control::C::Access require valid-user </Location>
No database is specfically required for this module.
It only checks against the IP addresses and users table and only provides yes/no access. For more granuality check out the Authz handlers to turn on as well.
Tim Keefer <firstname.lastname@example.org>
Copyright (C) 2005-6, Tim Keefer.
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.