Restricting users to trusted IP ranges
You can configure cloud.gov to restrict users in a particular domain (e.g.,
agency.gov) from using cloud.gov services unless their requests originate from a trusted network location. You can use this feature to help your agency comply with the Trusted Internet Connections (TIC) Initiative while using cloud.gov. For more context, see Meeting TIC requirements.
This feature only limits requests to cloud.gov services, such as the cloud.gov API accessed via the command line and the cloud.gov dashboard. This feature does not restrict requests directly to applications that you run on cloud.gov, though you can do that on your own.
Contact support to configure restrictions for your domain
Note: As of October 2017, this feature is not yet available, pending FedRAMP approval. If you want to configure this feature, create a ticket and our team will let you know our estimated timeline for approval.
Create a support ticket specifying the IP address ranges that are valid for your domain. Because address restriction applies to all cloud.gov users from your email domain, we will request confirmation from your agency CIO before changing the configuration.
Grant roles only to users from your restricted domain
To fully limit access to your apps and services, you must ensure that all users with roles in your orgs and spaces are using email addresses within your email domain. For example, if your email domain is
agency.gov but you grant access to a contractor whose email address is
firstname.lastname@example.org, the contractor will not be limited to your configured IP address ranges. We recommend you give contractors an e-mail address within your domain like
email@example.com, and grant roles to them using only that address.
Restricting access to your own applications
To limit requests to your own applications, you can modify your application logic directly. Alternatively, you can create a route service to act as a gatekeeper, then bind the gatekeeper to the routes bound to your application. The route service itself can be an application in cloud.gov that proxies according to your needs. For example, you can create a simple route service by deploying the Staticfile buildpack configured with a custom