Security Flashcards

(1 cards)

1
Q

What is CORS. Why isn’t it a security feature

A

Cross origin request policy is a way to relax the same origin policy of the browsers. It doesn’t protect from XSS. Information can still be stolen.
Api doesn’t get protected. It sends response but browser blocks it and returns error if cross site.
Cors only work is browser supports it.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly