Denial-of-service (DoS) attack prevention