1825747 Members
2856 Online
109687 Solutions
New Discussion

FTP security

 
SOLVED
Go to solution

FTP security

Hi,

I have a little security problem for FTP sessions. I have a directory called /X/Y/Z and created an account ftpuser whose homedir is /X/Y/Z. Everything ok so far. But I would like that this user can only see /X/Y/Z and not other files/directories. How do I set it up?

Thanks,
Dieter
Dieter@Work
5 REPLIES 5
Carol Garrett
Trusted Contributor
Solution

Re: FTP security


you want to changed the ftpd entry in inetd.conf to add in the -a option (see man ftpd) which allows use of the ftpaccess file (see man ftpaccess) which allows you to restrict incoming ftp sessions to particular directories only (no changing dirs once logged in).
James R. Ferguson
Acclaimed Contributor

Re: FTP security

Dieter:

I think you will find document #A5651654 helpful. It's relative to 11.0 and describes how to prevent a FTP-only user from moving outside of his/her HOME directory.

...JRF...

Re: FTP security

Hi James,

Where do I find this document?

Dieter@Work
James R. Ferguson
Acclaimed Contributor

Re: FTP security

Dieter:

Click "Maintenance and Support" -> "Search Technical Knowledge Base" -> [Choose] "Search by Doc. Id" and provide the document ID.

Anyway, here it is as an attachment for your convenience! Hope this helps, regards, Jim.

...JRF...
James R. Ferguson
Acclaimed Contributor

Re: FTP security

Dieter:

Click "Maintenance and Support" -> "Search Technical Knowledge Base" -> [Choose] "Search by Doc. Id" and provide the document ID.

Anyway, here it is as an attachment for your convenience! Hope this helps, regards, Jim.

...JRF...