0
I’m starting in the development of Restful applications, with Spring and JAX-RS and I realized that some systems create such a CORS, not having CORS configured in the application would have exactly what impact?
0
I’m starting in the development of Restful applications, with Spring and JAX-RS and I realized that some systems create such a CORS, not having CORS configured in the application would have exactly what impact?
Browser other questions tagged spring restful jax-rs
You are not signed in. Login or sign up in order to post.
CORS is not the setting itself, it refers to something that requires different origins, like vc has an HTTP page in a domain called
xyz.com
and you via Ajax try to callabc.com/foo/bar
, see that the domains are different, then the problem occurs, because for security the browser will bar this, so that it can "share" (the S is probably Sharing) will be necessary to add inabc.com/foo/bar
headers to unlock a type of access as needed/customizable ...– Guilherme Nascimento
... can release that only a few specific vs access the
abc.com
or even liberate any domain, people tend to liberate any and all domain, which not always is ideal, because this would be out of control, but there are cases that are necessary, according to the need of the system. For more details on how to allow a domain to be accessed by specific others or by several others see the answers to the question: https://answall.com/q/145490/3635, specific ask a new detailed question.– Guilherme Nascimento
Excellent explanation, at last I understood rs...
– user97933