Help answer threads with 0 replies.
Go Back > Forums > Linux Forums > Linux - Networking
User Name
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.


  Search this Thread
Old 12-30-2002, 10:05 PM   #1
Registered: Dec 2002
Posts: 56

Rep: Reputation: 15
how can I restrict ftp users listing files from a pure-ftp server

simply speaking, I only allow ftp user download files from using download manager provided that they know the path of the files.

If they are using ftp client to login ftp server, they just get a empty directory.

Can pure-ftp do that ?

I.E. restrict the use of LIST command
Old 12-31-2002, 05:38 AM   #2
Registered: Sep 2002
Location: IN, USA
Distribution: Debian, Endian FW
Posts: 368

Rep: Reputation: 30
Isn't your download manager using ftp?
Old 12-31-2002, 08:23 AM   #3
Registered: Feb 2002
Location: Austria
Distribution: LFS based opon debian or course
Posts: 38

Rep: Reputation: 15
If your ftp deamon runs as "ftp-data" then chown -R the ftp directory as root or anyother user (not ftp-data (secu reasons)) and chmod the dirrectory o-x (Others minus eXecute) and ls, dir what ever will get a Permission denied. but if the directoy has Read permissions he will be able to get the files.

Works in Proftpd and wu-ftpd so imho in your ftpd too.


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
ftp server - Pure ftp - logs in OK but no files visible tp11235 Linux - Networking 2 08-30-2005 05:11 AM
enabling virtual users in pure-ftp? Red Squirrel Linux - Software 0 08-20-2005 05:18 PM
Authetication failure for pure-ftp virtual users hobz Linux - Networking 1 03-19-2005 07:16 AM
FTP Server Up and running... how do I hide ftp users from local login screen? joe1031 Mandriva 2 03-18-2005 04:24 PM
Recursively listing files over FTP? overbored Linux - Software 4 10-14-2004 12:12 PM

All times are GMT -5. The time now is 03:31 AM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration