Serv-u the method of setting up a certain kind of file upload _ftp server
Source: Internet
Author: User
One, prohibit some kind of file uploads
Add an access rule to the user's directory access, set the path to *.exe, cancel all permissions, and place the rule in the top position.
Path=*.exe
access=--–
This processing, the user can not upload *.exe files in their own directory, while the directory below the *.exe file will not be listed, and can not modify the uploaded file suffix for exe. The test is normal in the Serv-u 6 release.
Second, only allow a certain type of file upload
1, in the user's "Directory Access" where the addition of an access rule, the path set to *.html, set read, write, append, delete permissions, and put in the first article.
2, cancel the file directory write, append, delete permissions.
After this processing, you can only upload *.html files.
The author handsome Lingyun
Must cancel the file the execution authority, reduces the Serv_u the operation authority, may prevent the right to mention
If you provide software downloads via FTP, just read + inherit permissions, and don't choose anything else.
The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion;
products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the
content of the page makes you feel confusing, please write us an email, we will handle the problem
within 5 days after receiving your email.
If you find any instances of plagiarism from the community, please send an email to:
info-contact@alibabacloud.com
and provide relevant evidence. A staff member will contact you within 5 working days.
A Free Trial That Lets You Build Big!
Start building with 50+ products and up to 12 months usage for Elastic Compute Service