0

I have written a C# winform program that uses the google drive SDK and that I want to release publicly. However, I'm not sure if it's safe to store my Google Drive client and secret ID's in the source code, and if it's not, what is the recommended way to store them?

Example, i have a class that explicitly defines two varialbes - String CLIENT_ID = and String SECRET_ID = . If I send out the .exe for this, is this information easily attained by someone?

4

1 回答 1

1

是的。使用反射器之类的工具,您可以在几秒钟内提取该信息。

答案是,不要使用你的谷歌驱动器。让用户使用他们的驱动器。或者,如果您的程序只需要 READ... 那么,将文件公开。

于 2012-09-15T02:49:56.783 回答