Security Options

There are several different mechanisms that can be used to provide security for your API and portal. Below are the options for security relating to the Proxy.

  • SSL – client/server
  • Whitelist
  • Shared secret
  • OAuth 1.0a/Oauth 2.0
  • HTTP-Auth

SSL

(Secure Socket Layers) can be utilized to encrypt traffic over the internet.  There are two different use cases for SSL with regard to your API.  Adding SSL to the segment of the API call between the Mashery Proxy and your Endpoint is included for all levels of the Mashery API service, there is no additional cost.  We will self-sign a certificate and provide you with the key and certificate to install on your server. 

Client facing SSL, allowing users to submit via HTTPS rather than HTTP is available though not included in any of the offerings. Client side SSL will result in a recurring monthly fee. In order to do client side SSL you will need to provide us with the SSL key and SSL certificate for Mod/SSL or openSSL.

Whitelist

If you choose to allow only Mashery Proxied traffic through to your servers we recommend an IP whitelist as a simple solution.  The following list contains the Mashery Traffic Manager IP addresses for all regions  as well as monitoring IP addresses/Regions that Mashery uses to monitor your Direct API.

If IP whitelisting will be enforced on the API backend, please whitelist the IP addresses for the Traffic Manager and selected regions for the monitoring service.  The whitelist information is subject to change. When such changes occur, Mashery Support will notify and work with you to get your whitelist updated. Previous versions of the IP List can be found at http://support.mashery.com/docs/proxy_information/Archived_IP_Whitlisting_Information/.

IP Whitelist Version 4.1 (3/28/2013)

Notes: No updates to core Traffic manager IP addresses. Updates specific to IP monitoring hosts noted below.

Traffic Manager IPs:

Premium Platform IPs (NOTE: network blocks)
64.94.14.0/27 Atlanta
64.94.228.128/28 Atlanta
216.52.244.96/27 Los Angeles
119.59.74.32/27 Hong Kong (Will be decommissioned 3/18/2013)
175.41.41.147-159 Australia (Will be decommissioned 3/18/2013)

Enterprise Platform IPs (US-East)
23.23.79.128/25 (Added 2/15/2013. Reserved for future use, does not impact current customers but please add if you are a new customer)
107.22.159.192/28
75.101.137.168
75.101.142.168
75.101.146.168
75.101.141.43
75.101.129.141
174.129.251.74
174.129.251.80

Enterprise Platform IPs (US-West)
50.112.119.192 (Added 2/15/2013. Reserved for future use, does not impact current customers but please add if you are a new customer)
50.18.151.192/28
50.112.119.192/28
204.236.130.149
204.236.130.201
204.236.130.207

Enterprise Platform IPs (Europe)
176.34.239.192/28
79.125.12.141
79.125.12.145
46.137.109.189
46.137.109.191

Enterprise Platform IPs (Australia) - Added 2/15/2013
54.252.79.192/27

Enterprise Platform IPs (Singapore) - Added 2/25/2013
54.251.88.0/27

Monitoring Server regions (please whitelist all IPs within a selected region):

North America
209.188.15.177
209.188.15.182
209.188.15.187
208.72.116.130 198.145.18.52
208.72.116.131 198.145.18.60
69.71.111.140
69.71.111.141
207.126.59.91
207.126.59.94
209.92.37.121
209.92.37.123
64.187.127.233
64.187.127.234
64.187.127.235
64.187.127.236

South/Central America
200.85.152.87
200.85.152.89
200.155.158.42 187.45.223.91
200.155.158.43 187.45.223.93


EU
213.253.50.227
213.253.50.236
213.253.50.244
213.253.50.252
62.80.0.35
62.80.0.37
85.17.230.243
85.17.230.241
85.17.230.231
85.17.230.226
87.236.193.132
87.236.193.137


Asia-Pacific
24.153.101.36
124.153.101.33
203.142.29.46
203.142.29.49
203.142.29.52
203.142.29.55
123.100.230.144
123.100.230.146
123.100.230.148
123.100.230.150
110.50.254.174
110.50.254.177
110.50.254.173

 

Shared Secret

Mashery supports Shared Secrets.  Shared secrets can be set to be automatically assigned to users receiving keys via the Mashery service.  By default the shared secret is hashed with the current time (GMT) allowing for 5 minutes of clock drift.  Through the use of Custom Adapters which we have built in to the system Mashery can support virtually any kind of authentication request utilizing Shared Secrets and signatures.

OAuth 1.0a / OAuth 2.0

We offer an OAuth accelerator so you can add OAuth to your API with very little effort or cost.  OAuth allows a user to designate access to his data to a third party while protecting his credentials.  The authorization token can be revoked at any time.

Mashery can handle two different approaches to OAuth.

  1. Mashery OAuth Accelerator.  Mashery acts as the token provider.  Our Client creates a page on their system which allows a user to allow or revoke access to their data.  Our Client then uses Mashery's API to create or revoke access for a particular site.  Mashery handles the authentication of calls.  This path requires that the Client do very little to implement OAuth and can focus on their core business.
  2. Client implemented OAuth.  Some clients may wish to handle OAuth on their own, in this case the OAuth call looks just like any other API call being made through the proxy.  The client must create the system to create and manage OAuth tokens as well as authenticate calls.

HTTP-Auth

Some clients prefer to not shut off access at the edge of their network using whitelists, but would rather control access on a call by call basis.  By adding an http challenge to your application/webserver you will be able to allow access to users with the correct credentials.  Mashery can easily add the appropriate username/password pair to all calls made to your Direct API. 

Docs Navigation