security - Webservice calls from Jquery -


ok, kind of new jquery , web programming in general, (though have been doing web services , sharepoint related c# few years, ever internal setup security wasn't issue) looking create public website pulls information internal database. know how can implement web service , know how can make secure. need call web service using jquery page. know how well.

what struggling how secure that. if able call web service page, what's stop person xyz coming along, stealing jquery/code , accessing web service thier website? how can stop this, i've thought ways encrypt data/authenticate, can accessible because can view whatever in jquery.

any suggestions on how go securing web service people website access great.

a start use basic http authentication. assume you'll find way implement on server side. here jquery client example how use basic auth jquery , ajax?.

a should notify next problem origin not allowed access-control-allow-origin.


Comments

Popular posts from this blog

php - Calling a template part from a post -

Firefox SVG shape not printing when it has stroke -

How to mention the localhost in android -