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

AccessPolicy Property

The access policy assigned to a container.

Syntax

int GetAccessPolicy();

int SetAccessPolicy(int iAccessPolicy);

Possible Values

  AP_FULL_PUBLIC(0), 
  AP_BLOBS_ONLY(1), 
  AP_PRIVATE(2)

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 Linux Edition - Version 16.0 [Build 7239]