WebOptimizer icon indicating copy to clipboard operation
WebOptimizer copied to clipboard

Authorization for bundles

Open jsneedles opened this issue 5 years ago • 0 comments

Hi,

First - LOVE this project, it's fantastic.

I'm using it in a tool that has some extra security concerns and I want to be able to restrict certain bundles based on .Net roles / authentication etc... I tried applying it to a rule inside of OnPrepareResponse of app.UseStaticFiles -- but that didn't work for bundled js/css.

Is this possible?

Thanks!

jsneedles avatar Sep 15 '19 20:09 jsneedles