We have been asked to implement Content-Security-Policy to mitigate XSS attacks on our App. As result we need to move all inline scripts to referenced files, which could then be specified as safe in the Content-Security-Policy HTTP headers.
This has mostly been doable, however it now seems that some webcontrols ie webforms inject inline scripts to do callbacks.
Is there a way around this or do we need to use 3rd party controls or possibly create custom controls?