Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations biv343 on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Password protecting folder from the FTP access

Status
Not open for further replies.

gizmicek

Programmer
Jun 25, 2003
107
CZ
Hi all,
I have posted this question about week ago but it has been probably deleted because I can't find it.

I have following problem: I have pages on the server managed by the webhosting provider and have one FTP access to the server. The webpages are unfortunately located within this one FTP access (in and there are other people who have access to the FTP and can modify the pages :(. Is there any way how to password-protect the subfolder (eg. something like htaccess with HTTP protocol)??

Any help would be appreciated
 
I thought that "htaccess" is Apache feature. Isn't it?
 
It is a feature of Apache, but only applies when your accessing the site with a web browser. If other people can access a higher level directory via FTP, then they'll be able to access the lower directory via FTP, wether there's an apach .htaccess or not. Whoever maintains the server needs to set the permissions that you want.
 
Apache is an http process, not ftp.

Newposter
"Good judgment comes from experience. Experience comes from bad judgment."
 
I think there is a file called .ftpaccess that works similar to .htaccess. If you are using linux though, you can set the permissions for the file or directory that you want to protect to to allow only the owner access to those files as smah has stated. Windows 2k and xp will allow similar permissions although they are more difficult to use.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top