1. Prohibit upload of certain types of files
Add an access rule to the user's "Directory Access", set the path to *. exe, cancel all permissions, and put the rule at the top.
Path = *. exe
Access = ---
After this processing, the user cannot upload files in his/her own directory *. *. the exe file is not listed, and the uploaded file suffix cannot be changed to exe. The test is normal in Serv-U 6.
2. only certain types of files can be uploaded.
1. Add an access rule to your "Directory Access", set the path to *. html, set the read, write, append, and delete permissions, and put them in the first one.
2. Cancel the write, append, and delete permissions on the file directory.
After this processing, you can only upload *. html files.
Handsome author Ling Yun
You must cancel the File Execution permission and reduce the running permission of serv_u to prevent elevation of permission.
If you use ftp to download software, you only need to grant the read + permission. Do not select any other software.