Re:How I built a Hacker News mobile web app, Part 2
by enoughalready on Monday March 26, 2012 @12:12PM
(#3757323)
JSONP is considered by most to be a hack and a security risk. CORS is extremely easy to implement, as it only requires you to send some headers to the browser.
For example, in a node app I recently wrote, adding CORS was just a matter of adding these lines:
[ Parent
| on HN ]
There are no comments on this comment yet.