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. The auth_allow_ranges takes ranges of ip address in cidr notation comma seperated. The auth_allow_ips takes single ip addresses seperated by commas. The 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.
auth_allow_ranges
auth_allow_ips
auth_ignore_access_handler
<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.
The mod_perl access handler.
For internal use.
Gantry(3)
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 <tkeefer@gmail.com>
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.
To install Gantry, copy and paste the appropriate command in to your terminal.
cpanm
cpanm Gantry
CPAN shell
perl -MCPAN -e shell install Gantry
For more information on module installation, please visit the detailed CPAN module installation guide.