Jump to content




spam free file uploading to my website?


  • You cannot reply to this topic
2 replies to this topic

#1 cdel

  • Banned
  • 496 posts
  • LocationMelbourne, Australia

Posted 30 May 2014 - 06: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?

#2 apemanzilla

  • Members
  • 1,421 posts

Posted 30 May 2014 - 12: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.

#3 cdel

  • Banned
  • 496 posts
  • LocationMelbourne, Australia

Posted 30 May 2014 - 12:55 PM

thankyou, sorry I'm a forum newbie :)





1 user(s) are reading this topic

0 members, 1 guests, 0 anonymous users