function make_private()
    {
        if ($this->cfs_http->getCDNMUrl() == NULL) {
            throw new CDNNotEnabledException(
                "Authentication response did not indicate CDN availability");
        }
        list($status,$reason) = $this->cfs_http->remove_cdn_container($this->name);
        #if ($status == 401 && $this->_re_auth()) {
        #    return $this->make_private();
        #}
        if (!in_array($status, array(202,404))) {
            throw new InvalidResponseException(
                "Invalid response (".$status."): ".$this->cfs_http->get_error());
        }
        $this->cdn_enabled = False;
        $this->cdn_ttl = NULL;
        $this->cdn_uri = NULL;
        $this->cdn_log_retention = NULL;
        $this->cdn_acl_user_agent = NULL;
        $this->cdn_acl_referrer = NULL;
        return True;
    }
function make_private()
    {
        if ($this->cfs_http->getCDNMUrl() == NULL) {
            throw new CDNNotEnabledException(
                "Authentication response did not indicate CDN availability");
        }
        list($status,$reason) = $this->cfs_http->remove_cdn_container($this->name);
        #if ($status == 401 && $this->_re_auth()) {
        #    return $this->make_private();
        #}
        if (!in_array($status, array(202,404))) {
            throw new InvalidResponseException(
                "Invalid response (".$status."): ".$this->cfs_http->get_error());
        }
        $this->cdn_enabled = False;
        $this->cdn_ttl = NULL;
        $this->cdn_uri = NULL;
        $this->cdn_log_retention = NULL;
        $this->cdn_acl_user_agent = NULL;
        $this->cdn_acl_referrer = NULL;
        return True;
    }
function make_private ( ) { if ( $ this -> cfs_http -> getCDNMUrl ( ) == NULL ) { throw new CDNNotEnabledException ( "Authentication response did not indicate CDN availability" ) ; } list ( $ status , $ reason ) = $ this -> cfs_http -> remove_cdn_container ( $ this -> name ) ; #if ($status == 401 && $this->_re_auth()) { #    return $this->make_private(); #} if ( ! in_array ( $ status , array ( 202 , 404 ) ) ) { throw new InvalidResponseException ( "Invalid response (" . $ status . "): " . $ this -> cfs_http -> get_error ( ) ) ; } $ this -> cdn_enabled = False ; $ this -> cdn_ttl = NULL ; $ this -> cdn_uri = NULL ; $ this -> cdn_log_retention = NULL ; $ this -> cdn_acl_user_agent = NULL ; $ this -> cdn_acl_referrer = NULL ; return True ; }
Disable the CDN sharing for this container

Use this method to disallow distribution into the CDN of this Container's
content.

NOTE: Any content already cached in the CDN will continue to be served
from its cache until the TTL expiration transpires.  The default
TTL is typically one day, so "privatizing" the Container will take
up to 24 hours before the content is purged from the CDN cache.

Example:
<code>
# ... authentication code excluded (see previous examples) ...
#
$conn = new CF_Authentication($auth);

$public_container = $conn->get_container("public");

# Disable CDN accessability
# ... still cached up to a month based on previous example
#
$public_container->make_private();
</code>

@returns boolean True if successful
@throws CDNNotEnabledException CDN functionality not returned during auth
@throws AuthenticationException if auth token is not valid/expired
@throws InvalidResponseException unexpected response
Disable the CDN sharing for this container