I think I understand what this is. It says that scripts and AJAX requests should come from the same root, which means they should have the same protocol, host, domain and port.
What I do not understand really protects against it. For example, say we have two sites: attacker.com and bank.com. I think the attacker.com can not have a script or the AJAX requests are used by the bank.
You can use
These things Looking at, how does the same basic policy actually protect?
No comments:
Post a Comment