Update cors.md (#30015)
* Update cors.md * Apply suggestions from code review * Update aspnetcore/security/cors.md * Update aspnetcore/security/cors.md * Update aspnetcore/security/cors.mdpull/30017/head
parent
ffd9141366
commit
512066820d
|
@ -17,7 +17,8 @@ uid: security/cors
|
|||
|
||||
By [Rick Anderson](https://twitter.com/RickAndMSFT) and [Kirk Larkin](https://twitter.com/serpent5)
|
||||
|
||||
This article shows how to enable CORS in an ASP.NET Core app.
|
||||
This article shows how **C**ross-**O**rigin **R**esource **S**haring ([CORS](https://developer.mozilla.org/docs/Web/HTTP/CORS)) in enabled in an ASP.NET Core app.
|
||||
|
||||
|
||||
Browser security prevents a web page from making requests to a different domain than the one that served the web page. This restriction is called the *same-origin policy*. The same-origin policy prevents a malicious site from reading sensitive data from another site. Sometimes, you might want to allow other sites to make cross-origin requests to your app. For more information, see the [Mozilla CORS article](https://developer.mozilla.org/docs/Web/HTTP/CORS).
|
||||
|
||||
|
|
Loading…
Reference in New Issue