Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5

Explain what is CORS? How does it work?
#1

Explain what is CORS? How does it work?
Reply
#2

In order to keep a website and its users secure from the security risks involved with sharing resources across multiple domains the use of CORS is recommended, but what is CORS? CORS, also known as Cross-Origin Resource Sharing, allows resources such as JavaScript and web fonts to be loaded from domains other than the origin parent domain.

These days, a web page commonly loads images, stylesheets, scripts, etc. from other domains. Although, a few years ago due to security reasons, web fonts and AJAX (XML Http Requests) were normally restricted to the same-origin policy which restricted their use between domains. Now however, with the use of CORS, the browser and server can communicate to determine whether it is safe to allow a cross-origin request.
Reply
#3

Cross-origin resource sharing (CORS) is a standard for accessing web resources on different domains. CORS allows web scripts to interact more openly with content outside of the original domain, leading to better integration between web services.

Cross-origin resource sharing (CORS) is a mechanism that allows restricted resources (e.g. fonts) on a web page to be requested from another domain outside the domain from which the first resource was served. A web page may freely embed cross-origin images, stylesheets, scripts, iframes, and videos.



Book Ad in Times of India | Newspaper Ad Agency in Delhi
Reply
#4

(CORS) Cross-Origin Resource Sharing is a mechanism that enables many resources (e.g., JavaScript, fonts etc.) on a web page to be requested from another domain outside the domain from which the resource originated. It is a mechanism supported in HTML5 that manages XMLHttpRequest access to a domain different.
Reply
#5

Thanks for sharing the information
Reply
#6

Cross-origin resource sharing (CORS) is a standard for accessing web resources on different domains. It allows web scripts to interact more openly with content outside of the original domain, leading to better integration between web services.
Reply
#7

Cross-origin resource sharing (CORS) allows web developers to work around the same-origin policy. CORS adds HTTP headers which instruct web browsers on how to use and manage cross-domain content. The browser then allows or denies access to the content based on its security configuration.
Reply


Possibly Related Threads...
Thread / Author Replies Views Last Post
Last Post by har.sinha
03-13-2016, 11:34 PM

Forum Jump:


Users browsing this thread: 1 Guest(s)