Results 1 to 3 of 3
Hi there .
I´m facing a problem with a linux/ftp account. I´ve installed vsftpd and created one user without shell access to access a directory on my server.
But ideally, ...
- 10-21-2007 #1Just Joined!
- Join Date
- Oct 2007
- Posts
- 4
Restrict directory content to only one filetype
Hi there
.
I´m facing a problem with a linux/ftp account. I´ve installed vsftpd and created one user without shell access to access a directory on my server.
But ideally, I want to restrict the content upload to that directory to only one type of content (videos, pdfs, docs...).
Is that possible? Thanks in advance, Simon.
- 10-21-2007 #2Just Joined!
- Join Date
- Oct 2007
- Posts
- 37
I don't think you can do that with FTP, unless you have a FTP scanning tool (like Clam) that can filter out and prevent the uploading of certain files (that's some coding on your part).
You can also filter content upload through php/perl/etc.
Or you can have a cron run every minute that remove certain files from that directory based on file type.
- 10-21-2007 #3Just Joined!
- Join Date
- Oct 2007
- Posts
- 4


Reply With Quote
