Re: [Proftpd-user] Is there a way to block a LIST command that does not specify a filename?
Matus UHLAR - fantomas <[email protected]> Thu, 5 Aug 2021 16:20:55 +0200
| Newsgroups | gmane.network.proftpd.user |
|---|---|
| Message-ID | <[email protected]> |
On 03.08.21 19:12, [email protected] wrote: > I posted this question to Github at > https://github.com/proftpd/proftpd/issues/1279 and was directed to send > the question here. > I am hoping to find a way to block a LIST command by throwing a permission > denied error or something similar when a LIST command is sent to proftpd > where specifying a directory, not a file. > I do not want it to fail when a LIST command is sent, specifying a file. > There is other info in the posted issue. > I appreciate any info or suggestions that can be provided. listing of directory can be denied on UN*X system by setting permissions for the user not to be able to read a directory. e.g. chmod 751 allows owner to read/write, group to read/list and others only access files without listing them (so, users must know what files are there). -- Matus UHLAR - fantomas, [email protected] ; http://www.fantomas.sk/ Warning: I wish NOT to receive e-mail advertising to this address. Varovanie: na tuto adresu chcem NEDOSTAVAT akukolvek reklamnu postu. 99 percent of lawyers give the rest a bad name. _______________________________________________ ProFTPD Users List <[email protected]> Unsubscribe problems? http://www.proftpd.org/list-unsub.html