Re: Security for Web service deployed over GAE

61 views
Skip to first unread message

Gaurav Bansal

unread,
Jan 22, 2013, 7:03:48 AM1/22/13
to google-a...@googlegroups.com
Please do reply....

On Tuesday, 8 January 2013 12:06:57 UTC+5:30, Gaurav Bansal wrote:
Hi 

I have created a REST service and deployed over cloud using GAE. I don't want it to be accessed by any one just by using the URL. I should have some control over there to provide the authentication, may be along with the request. 

I explored and got some OAuth related tutorials, but could not understand properly.

Please help me regarding this.

Thanks in advance.

Jesús Espejo

unread,
Jan 22, 2013, 7:09:26 AM1/22/13
to google-a...@googlegroups.com
Hello,

Maybe the best solution, if you don't want to complicate your code, is to use CORS, allowing cross-requests only for the domains that you want to allow access to your RESTful API.

Reply all
Reply to author
Forward
0 new messages