DEV Community

Discussion on: 7 security tips for your React application. πŸ”

 
vaibhavkhulbe profile image
Vaibhav Khulbe

I don't know much about ReDoS and same for the CSP that's why I didn't write about these. But thanks for your information, people will definitely learn something cool!

Thread Thread
 
kodikos profile image
Jodi Winters

ReDos is where you exploit a regex (and these are often used for validation, which can be worrying when it's cited as a way of preventing attacks!) that causes an exponential processing loop that slows the server down (mitigating that with rate limiting makes sense).
CSP is where you add headers from the server to indicate to the browser what kind and from where resources are allowed to be loaded onto the page. Content from any places not explicitly mentioned are blocked. Helps with things like defacing too.
Thanks for writing about this anyway, more awareness of security issues is always good, and it's not an easy topic to write about.

Thread Thread
 
vaibhavkhulbe profile image
Vaibhav Khulbe

Ah, I see. Will look into these two in future. Thanks for writing about this :)

And yes, it's quite challenging... πŸ₯΄