Cloud Storage Integrator 2016 PHP Edition
Cloud Storage Integrator 2016 PHP Edition
Questions / Feedback?

AccessPolicy Property

The access policy assigned to a container.

Object Oriented Interface

public function getAccessPolicy();
public function setAccessPolicy($value);

Procedural Interface

incloudstorage_azureblob_get($res, 2 );
incloudstorage_azureblob_set($res, 2, $value );

Default Value

2

Remarks

This property allows you to specify whether blobs in a container can be accessed publicly. The access policy is set for a container when calling CreateContainer or SetContainerACL. AccessPolicy will also be populated after a GetContainerACL call.

The available access policies are:

0 (apFullPublic)Full public read access. Both ContainerName and blob data can be read via anonymous requests.
1 (apBlobsOnly)Public read access for blobs only. Only blob data within ContainerName can be read via anonymous requests.
2 (apPrivate)No public read access. ContainerName and blob data can be read by the account owner only.

Data Type

Integer

 
 
Copyright (c) 2019 /n software inc. - All rights reserved.
Cloud Storage Integrator 2016 PHP Edition - Version 16.0 [Build 7239]