[Proftpd-user] Properly hiding .ftpaccess files

This is a discussion on [Proftpd-user] Properly hiding .ftpaccess files within the proftpd forums, part of the Tools category; Hi mates, I needed .ftpaccess on some folders of some servers (for ensuring some users only are able to read in that folders, others to write..., other times for enforcing ...

Go Back   Unix Linux Forum > Technologies & Tools > Tools > proftpd

FixUnix.com - Unix Linux Forums

Unix Content Register FAQ Calendar Search Today's Posts Mark Forums Read
  #1  
Old 08-27-2008, 03:13 AM
Default [Proftpd-user] Properly hiding .ftpaccess files

Hi mates,

I needed .ftpaccess on some folders of some servers (for ensuring some
users only are able to read in that folders, others to write..., other
times for enforcing bandwitdh...). I wanted to ensure that any user
can't read, write or do something in that files... just the daemon to be
able to use them but I wanted the users not to be able to touch them...


So I entered this lines in the default server and in an ssl virtual host :


HideFiles "(\\.ftpaccess)$"
PathDenyFilter "(\\.ftpaccess|\\.htaccess)$"


IgnoreHidden on



All of my users data is all under /home, for example /home/theuser or
other times /home/company/theuser.

So are this lines ok to be able to add in default host and on ssl
virtual host for obtaining that users not to be able to do nothing with
..ftpaccess files but the daemon (proftpd) to be able to read and use
them without problems?


Thanks a lot mates!!


-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.p...r_id=100&url=/
_______________________________________________
ProFTPD Users List
Unsubscribe problems?
http://www.proftpd.org/list-unsub.html

Reply With Quote
Reply

Thread Tools


All times are GMT -5. The time now is 11:46 AM.

In an effort to better serve ads to our visitors, cookies are used on Fixunix.com. For more information, check out our Privacy Policy.

Powered by vBulletin® Version 3.7.2
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 3.2.0
Ad Management by RedTyger