This is a read-only snapshot of the ComputerCraft forums, taken in April 2020.
cdel's profile picture

spam free file uploading to my website?

Started by cdel, 30 May 2014 - 05:11 AM
cdel #1
Posted 30 May 2014 - 07:11 AM
I am currently developing a 'gaming console' for ComputerCraft and I want users to be able to upload there own games to my website via a PHP script, however how could I prevent hackers and evil people from spamming my website by uploading pointless files?
apemanzilla #2
Posted 30 May 2014 - 01:36 PM
1. Only allow certain extensions and MIME types
2. Only allow certain file sizes
3. Log their IP and deny requests if they upload too fast

Additionally, this does not belong in this section as it is not directly related to ComputerCraft.
cdel #3
Posted 30 May 2014 - 01:55 PM
thankyou, sorry I'm a forum newbie :)/>