mozilla / page-metadata-service

DEPRECATED - A RESTful service that returns the metadata about a given URL.
Mozilla Public License 2.0
19 stars 8 forks source link

Allow only outbound connections on 80/443 #101

Closed jaredlockhart closed 8 years ago

jaredlockhart commented 8 years ago

We should specifically validate that we are not attempting to establish connections to remote parties on ports other than 80 or 443. We could do this at the infrastructure level, but we should also make sure to make it clear in the code so that it's obvious that is the behaviour to anyone inspecting the services code.

jaredlockhart commented 8 years ago

File an additional bugzilla ticket to update the security group policy for all deployments of this service to restrict outbound network connections to these two ports.

jbuck commented 8 years ago

This has been implemented at the AWS infrastructure level: https://bugzilla.mozilla.org/show_bug.cgi?id=1303642#c2