Monday, September 14, 2015

[google-cloud-sql-discuss] Re: C# best connection method?

Salutations Ryan,

RESTful API is one option.  If you are ok with using Java or Python you can also use endpoints which gives you more control over the data passed back and forth. You can then use any email address (simply include it in the call and check Datastore if they are allowed access).

On Friday, September 11, 2015 at 12:07:00 PM UTC-4, Ryan Johnson wrote:
Hey guys,

Pretty new to MySQL and google cloud as well.

I have a c# WPF & Xamarin Android application that uses a SQlite Database to input some data and read it for my small business.
Now I want to expand it to the cloud so that multiple people can read/write information and share the same database.


I understand about RESTful web api and found some example code for PHP that i deployed to the app engine and it works without issue.
Problem is i dont think its as secure as it should be? anyone can visit my app engine URL which costs money each time they do and might open the app for them to figure out how to POST,GET information.

So the access options were to assign whitelisted IP's which is near impossible as mobile devices and broadband IP's change on a daily or weekly basis.
Second option was to whitelist gmail accounts, which i really dont want to force users to sign up for gmail if they dont have it.

So can someone please explain what is the best method to connect to a Cloud SQL Database, i think i am half way there with the the app engine REST php script.

Thanks

--
You received this message because you are subscribed to the Google Groups "Google Cloud SQL discuss" group.
To unsubscribe from this group and stop receiving emails from it, send an email to google-cloud-sql-discuss+unsubscribe@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/google-cloud-sql-discuss/956df94e-03ca-4369-9226-acffe1ed1893%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

No comments:

Post a Comment