DEV Community

Discussion on: Using Google drive in a C# application

Collapse
 
bytehide profile image
ByteHide

Your article is super interesting, you have explained it very clearly, and I think it is very useful for file management.

Still I always think that manipulating API key, or as in this case google credentials are insecure, the article is perfect, but it would be nice to talk about how to make those credentials secure, because in this current form, anyone can get them and use your drive account.

Still a very good article, congratulations 🥳!

Collapse
 
theonlybeardedbeast profile image
TheOnlyBeardedBeast • Edited

Thank you, I think you are right, but the package has no other option to load the credentials, or I didn't find any other way. But for example, we can extend and override the FileDataStore class (github.com/googleapis/google-api-d...) where we can implement some custom logic to encrypt/decrypt our file, but that's just an idea. I have to be honest I am more a frontend guy than a backend guy and I think security is one of the topics where I need to improve.