public function setCors() {
        $corsConfig = array(
            'CORSRules' => array(array(
                'AllowedHeaders' => array('*'),
                'AllowedMethods' => array('GET'),
                'AllowedOrigins' => array('*'),
            ))
        );
        $args = array(
            'bucket' => Zend_Registry::get('config')->cdn->s3->bucket,
            'cors-configuration' => "'" . json_encode($corsConfig) . "'"
        );
        return $this->s3api('put-bucket-cors', $args);
    }