The Document of Aska

ACL

If you are using ReverseProxy is invalid, ReverseProxy please use the functions.

IPAddressFilter

IP address access control.

cpanm Plack::Middleware::IPAddressFilter
echo "+ 127.0.0.1" >> .iprules
echo "+ 192.168.0.0/24" >> .iprules
echo "- 192.168.0.5-192.168.0.10" >> .iprules
echo "+ 192.0.34.72/255.255.255.240" >> .iprules
# restart plackup

SEE ALSO

Basic Authentication

http basic authentication through apache-style .htpasswd files.

cpanm Plack::Middleware::Auth::Htpasswd
htpasswd -c .htpasswd username
# restart plackup

SEE ALSO