Reputation: 13756
I am posting to SSL server with jQuery. Will my any AJAX posts be protected?
Upvotes: 3
Views: 532
Reputation: 14124
Yes, Javascript obeys the same origin security policy. If the html is served via SSL than the communication through JS must be through SSL as well. See the Wikipedia article: Same origin policy
Upvotes: 1