View previous topic :: View next topic |
Author |
Message |
Xavier -
Joined: 17 Jan 2004 Posts: 50
|
Posted: Sat Jan 17, 2004 10:03 pm Post subject: Password protection |
|
|
How can i password protect specific folders to prevent viewing from unauthorized users? |
|
Back to top |
|
 |
some random person -
Joined: 06 Oct 2003 Posts: 128 Location: I live here! At my house!
|
Posted: Sat Jan 17, 2004 10:11 pm Post subject: |
|
|
Well you could go to http://hotscripts.com and find some php scripts that can do that.
Or you can go to:
your abyss web server console -> Server Configuration -> Advanced -> Access Control. From there, click add. From the virtual path put the folder you want to protect. Ex. /phpMyAdmin would protect a folder called phpMyAdmin. For realm, just put something that describes where you are trying to enter. This doesn't matter to much though.
To allow certain users, select one of the users you made (if you havn't, go to you main console page -> Server Configuration > Advanced > Users and Groups and make one.)
Then, click ok. Go to that directory and put your username/password in the form that you made for the user you created. _________________ New image comming soon...
Image hosted by abyss powered website
Image copyright some random person (I made it......)
Abyss > Apache (Meaning abyss is better than apache)
My site powered by abyss->(Undergoing construction) |
|
Back to top |
|
 |
Karasu Kami -
Joined: 22 Sep 2003 Posts: 712 Location: Colorado
|
|
Back to top |
|
 |
Anonymoose -
Joined: 09 Sep 2003 Posts: 2192
|
Posted: Sat Jan 17, 2004 10:36 pm Post subject: |
|
|
Just put an empty file called index.htm in the htdocs folder and it will stop people from browsing the root level but still allow them to view the rest of the sites in the subfolders. Alternatively, why not add a redirector page that forces them onto whatever your default site is... |
|
Back to top |
|
 |
Karasu Kami -
Joined: 22 Sep 2003 Posts: 712 Location: Colorado
|
|
Back to top |
|
 |
Anonymoose -
Joined: 09 Sep 2003 Posts: 2192
|
Posted: Sat Jan 17, 2004 11:40 pm Post subject: |
|
|
Maybe I can stick around for a bit longer then ? :D |
|
Back to top |
|
 |
aprelium -
Joined: 22 Mar 2002 Posts: 6800
|
|
Back to top |
|
 |
|