PDA

View Full Version : Password protecting specific folder


elspethmac
09-24-2005, 08:58 AM
I am new here and after browsing this forum and not finding an answer to my specific problem I was wondering if anyone knew of a way to password protect one specific folder on my website.
I have given some space to a friend who has her own website, I don't want her to be able to access my own personal websites, but I would like to be able to access her folder (incase she needs help with files... she's not very html savvy). She needs her own password to the folder for uploading files via ftp
I contacted my provider and they said to try a htaccess file as they don't have (at this moment) a cpanel with password protection for folders enabled for their customers. I don't understand much about htaccess files .... if anyone knows of any tuts or general links where I can do some reasearch... that'd be great.
So is there any way to stop her gaining access to my files, password protect her own files but make them still viewable to the general internet.
Hope all of that made sense? :)

Sysop_Neo
09-24-2005, 11:54 PM
hi

i dont understand very much also but i think you need make the .hta file, the problem (the same as i) is that if you are running with a Windows as OS you cant do the .hta. Maybe im not correct but if someone have the knowledge to make a .hta under a OS Windows can help us.

Bye,

Neo

Sysop_Neo
09-30-2005, 03:50 AM
hi

I've found the way to create a .hta file under a OS Windows.

To create it use Notepad and load it up, add text to the file, then go to File > Save As. Then click the drop down menu saying Save As Type and select All files. Then in the filename, type in .htaccess and it will save it.

To protect a specific folder enter here (http://usertools.plus.net/tutorials/?id=5)


Bye,

Neo