Suppose there are A,B,C,D and E js files present in a CDN but we are using only B and C. Currently script-src in csp allows all js files being downloaded from that CDN but I want to restrict the download only to B and C for my application? Can this be done in Content security policy configuration?
<add name="Content-Security-Policy" value="default-src 'self'; script-src 'self' https://cdnjs.cloudflare.com />