Results 1 to 7 of 7

what is CORS? How does it work?

This is a discussion on what is CORS? How does it work? within the Web Design forums, part of the Web Designing & Development category; (CORS) Cross-Origin Resource Sharing is a mechanism that enables many resources (e.g., JavaScript, fonts etc.) on a web page to ...

  1. #1
    Senior Member
    Join Date
    Aug 2016
    Location
    Ranchi
    Posts
    106

    Default what is CORS? How does it work?

    (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.

  2. #2
    Senior Member dennis123's Avatar
    Join Date
    Apr 2013
    Location
    Bangalore
    Posts
    2,060

    Default Re: what is CORS? How does it work?

    Cross-origin source discussing (CORS) is a conventional for obtaining web sources on different websites. CORS allows web programs to have interaction more freely with material outside of the unique sector, major to better incorporation between web services.

  3. #3
    Senior Member Ashley234's Avatar
    Join Date
    May 2017
    Posts
    250

    Default Re: what is CORS? How does it work?

    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.

  4. #4
    Senior Member
    Join Date
    May 2017
    Posts
    477

    Default Re: what is CORS? How does it work?

    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.

  5. #5
    Senior Member
    Join Date
    Nov 2016
    Posts
    148

    Default Re: what is CORS? How does it work?

    Nice one..!!

    Quote Originally Posted by dennis123 View Post
    Cross-origin source discussing (CORS) is a conventional for obtaining web sources on different websites. CORS allows web programs to have interaction more freely with material outside of the unique sector, major to better incorporation between web services.

  6. #6
    Junior Member
    Join Date
    Oct 2017
    Posts
    10

    Default Re: what is CORS? How does it work?

    nice explain mate
    Quote Originally Posted by dennis123 View Post
    Cross-origin source discussing (CORS) is a conventional for obtaining web sources on different websites. CORS allows web programs to have interaction more freely with material outside of the unique sector, major to better incorporation between web services.

  7. #7
    Senior Member dennis123's Avatar
    Join Date
    Apr 2013
    Location
    Bangalore
    Posts
    2,060

    Default Re: what is CORS? How does it work?

    CORS - Cross Origin Resource Sharing. It allows you to specify (on your server) what other servers can have access, by adding a couple headers to HTTP responses. This makes it possible to serve your front-end app from one server, and your back-end API from a different server, without sacrificing security.