CodeIgniter Forums

Full Version: Htpasswd protection library
You're currently viewing a stripped down version of our content. View the full version with proper formatting.

El Forum

[eluser]PHP Four[/eluser]
Hey Guys,

I've just released a small contribution to the CI people out there. It's a library designed to allow the application to protect any folder in the webserver using the htpasswd method of Apache. It can also group the users and create group based permission on the folders. The use is very simple: you need to define an array of the users (and array of groups if you need that), tell it where to store the password files and tell which folder to protect. It will do the rest for you.

Check out the post here.


Md Emran Hasan