SoftLayer Network ContentDelivery Authentication Address

From SoftLayer Development Network Wiki

Jump to: navigation, search

This page refers to the SoftLayer_Network_ContentDelivery_Authentication_Address service. For information on the SoftLayer_Network_ContentDelivery_Authentication_Address data type please see SoftLayer_Network_ContentDelivery_Authentication_Address (type).

Contents

Overview

For more details on CDN's content authentication service, see Authentication Token.

You can restrict or grant access to your content by configuring an authentication IP address or an IP block. . This configuration will affect the entire secure content of your CDN account. Configuring an authentication IP Address does not mean all of your content will be secured. You must place your content in the right directories (/media/securehttp, /media/secureflash, /media/securewm) and you have to use an authentication token. Authentication IP address validation occurs before a token is validated. Consider authentication IP as an additional way to secure your content. You can have up to 20 IP address records. If you want to block access from IP 211.37.0.0/16, you can enter "211.37." instead. IP blocks can be specified in the manner of "8bit times n".

IP range value you will pass to API
123.0.0.0/8 123.
123.123.0.0/16 123.123.
123.123.123.0/24 123.123.123.
123.123.123.123 123.123.123.123 (Allow or Deny a single IP)



IP match starts from higher priority IP to lower and if there is a match, it will stop the process.

You can also set an authentication IP with an * (asterisk). This can be helpful if you want to deny all IP addresses. The example below shows that requests from 199.7.0.0/16 are allowed and requests from any other IP ranges are blocked.

Name IP Address Access Type Priority
Allow from Netherlands 199.7. ALLOW 10
Deny all * DENY 20

Endpoints

SOAP WSDL Public Network: https://api.softlayer.com/soap/v3/SoftLayer_Network_ContentDelivery_Authentication_Address?wsdl
Private Network: http://api.service.softlayer.com/soap/v3/SoftLayer_Network_ContentDelivery_Authentication_Address?wsdl
XML-RPC Endpoint Public Network: https://api.softlayer.com/xmlrpc/v3/SoftLayer_Network_ContentDelivery_Authentication_Address
Private Network: http://api.service.softlayer.com/xmlrpc/v3/SoftLayer_Network_ContentDelivery_Authentication_Address
REST URL Public Network: https://api.softlayer.com/rest/v3/SoftLayer_Network_ContentDelivery_Authentication_Address/
Private Network: https://api.service.softlayer.com/rest/v3/SoftLayer_Network_ContentDelivery_Authentication_Address/

Methods

createObject

Creates an authentication IP record

  • returns
SoftLayer_Network_ContentDelivery_Authentication_Address
  • parameters
SoftLayer_Network_ContentDelivery_Authentication_Address templateObject



deleteObject

Deletes an authentication IP address.

  • returns
boolean
  • parameters
None



editObject

Edits an authentication IP

  • returns
boolean
  • parameters
SoftLayer_Network_ContentDelivery_Authentication_Address templateObject



getObject

Retrieve a SoftLayer_Network_ContentDelivery_Authentication_Address record.

  • returns
SoftLayer_Network_ContentDelivery_Authentication_Address
  • parameters
None



rearrangeAuthenticationIp

rearranges authentication IPs

  • returns
boolean
  • parameters
integer cdnAccountId
SoftLayer_Network_ContentDelivery_Authentication_AddressArray templateObjects
Personal tools