Set a Cloud Object’s Permissions
Access to a cloud object is controlled by the setting of its Permissions option. Set permissions so that only you have access, or share a cloud object with the world.
So That Only You Have Access...
With the default setting of $Permissions, a newly created cloud object has Permissions->"Private", which prevents anyone but its owner from accessing it:
![](Files/SetACloudObjectsPermissions.en/1.png)
The object’s permissions show that only the owner can read, write and execute the cloud object:
![](Files/SetACloudObjectsPermissions.en/2.png)
When the Cloud Object Already Exists...
Set the permissions of an existing cloud object with SetPermissions.
Deploy an APIFunction:
With the default permissions, anyone but the owner who visits the URL will be denied access:
![](Files/SetACloudObjectsPermissions.en/6.png)
Set the object’s permissions to give anyone access:
![](Files/SetACloudObjectsPermissions.en/7.png)
Now anyone can access the API:
So That Only You Have Access...
With the default setting of $Permissions, a newly created cloud object has Permissions->"Private", which prevents anyone but its owner from accessing it:
![](Files/SetACloudObjectsPermissions.en/11.png)
The object’s permissions show that only the owner can read, write and execute the cloud object:
![](Files/SetACloudObjectsPermissions.en/12.png)
When the Cloud Object Already Exists...
Set the permissions of an existing cloud object with SetPermissions.
Deploy an APIFunction:
With the default permissions, anyone but the owner who visits the URL will be denied access:
![](Files/SetACloudObjectsPermissions.en/16.png)
Set the object’s permissions to give anyone access:
![](Files/SetACloudObjectsPermissions.en/17.png)
Now anyone can access the API:
So That Only You Have Access...
With the default setting of $Permissions, a newly created cloud object has Permissions->"Private", which prevents anyone but its owner from accessing it:
![](Files/SetACloudObjectsPermissions.en/19.png)
The object’s permissions show that only the owner can read, write and execute the cloud object:
![](Files/SetACloudObjectsPermissions.en/20.png)
When the Cloud Object Already Exists...
Set the permissions of an existing cloud object with SetPermissions.
Deploy an APIFunction:
With the default permissions, anyone but the owner who visits the URL will be denied access:
![](Files/SetACloudObjectsPermissions.en/24.png)
Set the object’s permissions to give anyone access:
![](Files/SetACloudObjectsPermissions.en/25.png)
Now anyone can access the API: