Jump to content

apache security


lenerd3000

Recommended Posts

hi,

 

        i want my files to be secured and can only be access if you are authorize. i want it to be multiuser. how can i do that. i have tried using http authentication but its a single user only. my web server should be capable of accepting users with different username and password. anyone here has an idea?

Link to comment
https://forums.phpfreaks.com/topic/92259-apache-security/
Share on other sites

Set up a groups file, then for each user you add with apache auth, add them to their appropriate group. Once that's done, instead of using "Require" use "Require group" and list the group or groups that can access the dir. It's all in the manual.

 

Keep in mind that if you are using basic auth, you will also want to use SSL.

Link to comment
https://forums.phpfreaks.com/topic/92259-apache-security/#findComment-476949
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.