securing ftp
Okay, I have an FTP up right now, and I want to make it so that when ever ou connect you cannot browse other directories but your own, would any one be able to provide me any tips on how to do so?
|
depending on what falvor you are running the configs are little different but all act the same sorta. Anyway without know which ftp util you are using all I can do is be generic and say that in the conf file for the ftp server should contain a stanza that disables anonymous and can set default root locations. In proftp it looks like this:
# To cause every FTP user to be "jailed" (chrooted) into their home # directory, uncomment this line. #DefaultRoot ~ |
Do you know how i can find out what ftp type i am using? (i'm new with this security thing) and uh, where would the config file be found?
|
run a "ps ax | more" or "ps -ef | more" and look at the ftp process name. Once you have it type "which ftpd (or the process name)"
then run the command looking for the version such as /usr/sbin/ftpd -v |
and if you're running wu-ftpd do not call your ftp secure ...
|
All times are GMT -5. The time now is 04:42 AM. |