0

In Security Scan, The third-party links/scripts don't have integrity attribute for the browser, so i want to generate SRI Hash in automatically for security purpose.

I need to Generate SRI Hash automatically in .net framework. But,i found for .net core like below but not for .net framework.

https://programmingcsharp.com/generate-sri-hash-for-client-libraries-asp-net/

Tried, Generated SRI hash in manually and used in HTML lik below, its working for me.

Generated SRI hash and updated in html

But I need to generate SRI Hash in automatically and used in html like above.

1 Answer 1

0

My colleague recently asked for the same, and I found this https://github.com/halotron/AspNetMvcSubResourceIntegrityHelper from github for non .net core version. I hope this could help you and others.

Sign up to request clarification or add additional context in comments.

Comments

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.