5 ms·
Please use Access-Control-Max-Age instead. CORS has some nice security properties.
by zemnmez 5y ago
Please use Access-Control-Max-Age instead. CORS has some nice security properties.
- jefftk 5y agoWhat is the security risk of moving from an API subdomain to a single host?
- cerved 5y agonothing CORS is just a verification that the cross domain request is to a trusted domain. Your own domain is assumed to be trusted, by default
- jefftk 5y agoThat is also my understanding, but I'm trying to find out what my parent thinks the security advantage is
- zemnmez 5y agoCORS tries to prevent CSRF issues by preventing cross-origin cookie authentication.