Google Apps Script Add-On Source Code/Security

本小妞迷上赌 提交于 2019-12-07 17:36:46

问题


I'm building a Google Apps Script Add-On and wanted to know whether anyone can access the underlying source code when I publish it to the Marketplace? I want to store a password/private key in the code and wanted to make sure no one who installs the app can access it.

Using a Google Apps Script Library allows a user to use their own script to step into the source code, so that's an example of a public library whose source code is visible to the end user.

Failing that, is there a better solution for storing a password/private key?

Thank you.


回答1:


From the comment by St3ph

You can check this page https://developers.google.com/apps-script/guides/properties first tab explain what kind of data you can store in properties. For your case scriptproperties is the best one. The all users mention in the table are users who can access the code, users who access addon don't have access to the code.



来源:https://stackoverflow.com/questions/32878136/google-apps-script-add-on-source-code-security

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!