Forum Moderators: phranque

Message Too Old, No Replies

Using the different usernames and passwords in different places on web

         

houssam ballout

6:21 pm on Nov 18, 2011 (gmt 0)

10+ Year Member




Hello,
I need help in implementing .htaccess on my web script in which I want the following:
- different usernames and passwords in different places on the site

for example:
the path
1- localhost/web/folder1/
2- localhost/web/folder2/
3- localhost/web/folder1/subfolder1

1- I need username called A (for example to access it)
2- username called B
3- username for access subfolder 1

also,can I have some user that will access all folders?

Thanks in advance

tangor

1:37 am on Nov 19, 2011 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member Top Contributors Of The Month



A lot of good information in this regard is found at: [httpd.apache.org...]

Welcome to Webmasterworld!

Put together your best effort .htaccess (using example.com for any specifics) and we'll be happy to help!

lucy24

3:20 am on Nov 19, 2011 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member Top Contributors Of The Month



Eeuw. This is not something I say every day, but are you sure htaccess is the best way to go? Sure, you can use it to check for overall authorization. But for the folder-specific variations you might be better off doing something with php.