Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Should a web server's firewall block outbound HTTP traffic over port 80?

I understand the need for putting a web server in a DMZ and blocking inbound traffic to all ports except 80 and 443. I can also see why you should probably also block most outbound traffic in case the server is compromised.

But is it necessary to block outbound HTTP traffic over port 80? If so, why? A lot of web applications these days rely on sending/retrieving data from external web services and APIs, so blocking outbound traffic over port 80 would prevent this capability. Is there a security concern that's valid enough to justify this?

like image 284
Richard Davies Avatar asked Apr 03 '09 16:04

Richard Davies


1 Answers

The only reason I can think of is if your machine is somehow compromomised remotely then it won't be able to DDoS another website on port 80. It's not something I normally do though.

like image 60
Steven Robbins Avatar answered Oct 12 '22 00:10

Steven Robbins