Hacker News new | ask | show | jobs
by upheaval7276 384 days ago
CORS doesn’t protect you from anything. Quite the opposite: it _allows_ cross origin communication (provided you follow the spec). The same origin policy is what protects you.