Browsers already have strong protections against that sort of thing, look up the same-origin policy and CORS
reply
Browsers already have strong protections against that sort of thing, look up the same-origin policy and CORS