Web Analytics Made Easy -
StatCounter The best way to prevent DDoS attacks? - CodingForum

Announcement

Collapse
No announcement yet.

The best way to prevent DDoS attacks?

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • The best way to prevent DDoS attacks?

    Hi guys,

    I am making this small tool for doing test PHP code snippet online. http://phpio.net
    Could you please tell me the best way to prevent DDoS attacks?

    Thanks in advance.
    Last edited by VIPStephan; Sep 26, 2016, 02:48 PM. Reason: removed link
    Online PHP Debugger
    (built-in Vim mode)
    http://phpio.net

  • #2
    Whilst truly impossible to "prevent" the best approaches are a bit like door locks and car alarms. You want to make it not worth the hassle when there's some other joker out there wide-open to attack.

    ... and the easiest of these? Membership only access, minimum time between requests, maximum number of requests over a period of time.

    Also, since you seem to be running PHP remotely (ouch) that means setting a REALLY low maximum execution limit just so people don't en-masse send "while (true){}"?

    Can I assume from a security standpoint you've gutted all the functions and objects that could get you in trouble -- like mysql_, mysli, PDO, fopen, file_get_contnets, readfile, include, require...

    Really though, you're doing something I would NEVER suggest actually doing on a website.
    Walk the dark path, sleep with angels, call the past for help.
    https://cutcodedown.com
    https://medium.com/@deathshadow

    Comment


    • #3
      Hi deathshadow,
      Thanks for your comment.
      Online PHP Debugger
      (built-in Vim mode)
      http://phpio.net

      Comment

      Working...
      X