DEV Community

Discussion on: Three Steps For Increasing The Security of Your Web Apps

Collapse
 
dotnetcoreblog profile image
Jamie

External scripts aren't really a big problem.

I would recommend that you have add it to your CSP, generate an SRI, and make sure that require SRI for is enabled in your CSP.

That way, if the external script ever changes then the browser won't even load it.