Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Is it possible to allow Cross Site Scripting (XSS) in Mobile safari?

I am building a hybrid app (HTML,CSS, JS + Native iOS code), and Would like to make calls to a web service, but this is being blocked currently by the XSS Security.

What do I need to do to turn off this security feature (or more likely provide a whitelist that is allowed to connect?)

Thanks for the help!

like image 664
Nathan Avatar asked Mar 15 '12 13:03

Nathan


1 Answers

Yes.

You can use Cross Origin Resource Sharing, iff you're allowed to configure the server to support it, and it works on enough browsers for your needs.

like image 106
Yusuf X Avatar answered Oct 23 '22 05:10

Yusuf X