Recommended way to implement CORS, CRSF, ETag, Secure Headers and other security features
What is the recommended way to implement CORS is it to use the H3 util and define it per route. Is it to import cors packaged as middleware and use as a global middleware? Curious how people are hanlding their security and if there should be a standard implementation. Also are you using middlewares for CSRF, Etag headers
0 Replies