Help - Search - Members - Calendar
Full Version: Hiding .htaccess from FTP user
The Planet Forums > System Administration > General Support Questions
syruss32
I am looking for a way to hide the .htaccess file from accounts when they log in using ftp.

I don't even want them to be able to see that file exists.

Is there a way to do this? Or make it so that when FTP logs in it starts in the www directory instead of the home/account directory?
JFrechA
Try adding this to your /etc/proftpd.conf


Order allow,deny
Deny from all
Satisfy All


This hide any file that begins with .ht.

After, do: ]# service proftpd restart

JFrech
This is a "lo-fi" version of our main content. To view the full version with more information, formatting and images, please click here.
Invision Power Board © 2001-2009 Invision Power Services, Inc.