Hot answers tagged

1

What is CORS? A cross-origin resource sharing request occurs when JavaScript from domain A attempts to contact domain B. This occurs even when domain A and domain B are both subdomains under domain C. Why is this restricted? A malicious actor could inject JavaScript into a webapp on domain A to steal sensitive data (passwords, session IDs, credit card info, ...


Only top voted, non community-wiki answers of a minimum length are eligible