SoftLayer_Network_ContentDelivery_Account controls a single CDN user account and that account’s content hosted on SoftLayer’s CDN hosting infrastructure. Individual customer accounts can have more than one CDN account.
Every CDN account has the capability to configure and upload content to SoftLayer’s CDN infrastructure. When a user requests content from the CDN they retrieve data from the node in closest physical proximity to them, assuring failover in the case of single node failure and the lowest network latency possible.
CDN supports three distinct types of content, streaming Flash, streaming Windows Media and traditional HTTP. Each of these types of service are automatically set depending on the folder you upload your content to. Each of these types of content are accessed from different URLs. URL examples can be found on the [https://manage.softlayer.com customer portal].
CDN supports directory creation, [[SoftLayer_Network_ContentDelivery_Account::getBandwidthData|bandwidth reporting]], and an [[SoftLayer_Network_ContentDelivery_Account::createOriginPullRule|Origin Pull]] rule if you wish to manage your content directly on one of your servers. Files uploaded to CDN are accessed by users in directories relative to your account’s root directory. For instance, if the file “/images/header.jpg” exists in your CDN space then it can be accessed at the URL “
CDN accounts support FTP transfers in addition to API-based uploads. To access a CDN account’s FTP space on the SoftLayer private network, log into “‘ftp.cdnlayer.service.softlayer.com”’ with an FTP client using your CDN account name and a password set either in the SoftLayer [https://manage.softlayer.com customer portal] or by via the [[SoftLayer_Network_ContentDelivery_Account::setFtpPassword|setFtpPassword]] method
CDN supports the content authentication service. CDN’s content authentication service is the technology that allows only authorized user to access your content. It performs a token based authentication before delivering content. An authentication token can be obtained from the SoftLayer customer portal or API and it needs to be appended to the CDN URL. When an end-user requests a file, CDN server will check the validity of the token passed via HTTP GET string with a remote web service provided by SoftLayer. Then the content will be delivered if the value returned from the web service is good otherwise the connection will be rejected. The token authentication web service call is made in real time and it will hold the incoming connection until receiving a value returned from the website.
There are several scenarios where this authentication capability could be useful. Websites can prevent other rogue websites from linking to their videos. Content owners can prevent users from passing around HTTP links, thus forcing them to login to view contents. See [[SoftLayer_Network_ContentDelivery_Authentication_Token|SoftLayer_Network_ContentDelivery_Authentication_Token]] and [[SoftLayer_Network_ContentDelivery_Authentication_Address|SoftLayer_Network_ContentDelivery_Authentication_Address]] for more details on the content authentication service.