Restrict access URL

0

I am adapting my site developed in MVC5 so that it can reach the security mechanisms required by a partner, and I came across the following question:

  

Any User can access the following URL: www.mysite.com/scripts/jquery.js.

Or Be, any user can access my JS files.

I tried to block Request Blocking , denying all access to java script files (* .js), however, the site itself could not load these files anymore because they were blocked.

Any solution?

    
asked by anonymous 14.08.2018 / 23:45

0 answers