I have many modules in my codeignitor application as
module/products
module/billing
module/cms
module/groups
.....
Some of the above modules are accessible to admin user only so I want to put .htpasswd file to restrict those module. In my module structure of the application, how can I add .htpasswd file to restrict only few modules and also I want to put only one .htpasswd file.