how to block user upload certain format file?

seachen

Verified User
Joined
Feb 3, 2007
Messages
491
let said user upload *.mp3, or *.bt file. we cant search one user by one user.

may i know how to block user to upload this kind or format file?
 
You can't control file upload types through FTP, SCP, or the FileManager. You can shut down FTP and SCP access, disable access to the FileManager by writing a custom skin, and then write your own FileManager code, which you could write to allow or disallow anything you want.

Or you can make sure your clients know which file types you won't allow, and will automatically delete, and you can write a simple script to search the entire userbase once an hour, day, whatever, and delete all files of types you don't want on your server.

Jeff
 
Back
Top