I want to use jsonp so that other sites can receive json data from my site. I understand that it would be dangerous if I used cookies to authenticate users, because browsers sent cookies with all the requests to my site, so an malicious page could fulfill authenticated requests for the behavior of my users without asking them.
All requests to my service must be authenticated using a special set of headers in the request X-AG-AUTH. This header should contain a secret token that identifies the user.
Can a malicious site get data from my service through jsonp without providing the user with a secret token?
source
share