|
if your any good at php (and tbh if your starting a file host you really should have one on your team.)
You can have a list of flag words, if one of these words is found in the uploaded filename it flags it so you can check it later (eg porn, warez, mission impossible 2 movie blah blah).
Also id recommend any file that you remove from the database for not compling with rules to md5() or sha1() the file. Store every sha1()/md5() in a table within your database, whenever someone uploads a file, sha1()/md5() it and check it against that table. if it matches it means someone has uploaded the same file again and you can safely remove it (md5 and sha1 are pretty **** difficult to match duplicate different files, and if you really dont want to match duplicate files do a md5($file).sha1($file) and store that instead.
Hope that helps
Edit: is there any sites that use xtrafile online?
|