zsharp
zsharp

Reputation: 13756

Does SSL also encrypt AJAX posts?

I am posting to SSL server with jQuery. Will my any AJAX posts be protected?

Upvotes: 3

Views: 532

Answers (3)

Danny
Danny

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

Zepplock
Zepplock

Reputation: 29135

Assuming you are accessing HTTPS server, yes.

Upvotes: 4

YOU
YOU

Reputation: 123791

Yes, just like normal https pages

Upvotes: 5

Related Questions