1829108 Members
13389 Online
109986 Solutions
New Discussion

Restrict 'anonymous FTP'

 
SOLVED
Go to solution
Amod Phadke
Occasional Advisor

Restrict 'anonymous FTP'

Is there any way I can restrict an anonymous FTP user from deleting the files in a directory ? But the user should be allowed to put (create) files in the same directory.
Tomorrow never comes if you don't have today.
5 REPLIES 5
Michael Tully
Honored Contributor

Re: Restrict 'anonymous FTP'

You could probably get away with using restricted ftp as opposed to anonymous ftp. Have a look at the man page for 'ftpaccess' in the section that describes delete.

delete no guest
overwrite yes guest,anonymous


Anyone for a Mutiny ?
Amod Phadke
Occasional Advisor

Re: Restrict 'anonymous FTP'

Hi Michael,

Thanks for your reply but I am using HP-UX 10.20 and there is no 'ftpaccess' procision in HP.

Thanks
Tomorrow never comes if you don't have today.
Michael Tully
Honored Contributor
Solution

Re: Restrict 'anonymous FTP'

S.K. Chan
Honored Contributor

Re: Restrict 'anonymous FTP'

Imposing restriction on an anonymous FTP access is (in my opinion) rather pointless. You can't restrict it as such in the same directory. The closest you may get is implement an anonymous FTP sub-login, ie another level of authentication within the already active ftp session thus bringing the user to a specific designated directory defines in ~ftp/etc/passwd but it does not gives you the flexibility plus there is a lot of individual sub-accounts you need to setup. I do not even want to suggest that solution.
Amod Phadke
Occasional Advisor

Re: Restrict 'anonymous FTP'

Hi Michael,

I was able to setup 'wu-ftpd' successfully with all the features I wanted. Thanks a lot for your help.

AMOD.
Tomorrow never comes if you don't have today.