541 posts
Location
Melbourne, Australia
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?
1610 posts
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.
541 posts
Location
Melbourne, Australia
Posted 30 May 2014 - 01:55 PM
thankyou, sorry I'm a forum newbie :)/>