Asset Container Permissions and Node.js ScriptsHi

Hi, I’d like to clarify one issue as a followup to this question, if I may:

http://support.backendless.com/t/hosted-scripts-file-permissions-question

The permissions system doesn’t seem to include “execute” permissions. But if I set the “read” permission on a node.js script in the web/scripts directory of the Files service to only allow “Authenticated” users access, does that restrict “execute” access to the script?

Thanks.

Hi Rick,

Since you cannot fetch a Node.js script with the GET command or delete one with the DELETE command or update the file with the PUT/POST, Backendless interprets all these commands as they would relate to “execute”. In other words, the “Read” permission would restrict execution of the GET command for your script, the “Delete” permission would restrict the execution of the “DELETE” command for your script and so on.

Hope this help.

Regards,
Mark