.netsecurityiis-6global-assembly-cache

bin-deploying DLLs banned in leiu of GAC on shared IIS 6 servers


I need to solicit feedback about a recent security policy change at an organization I work with. They have recently banned the bin-deployment of DLLs to shared IIS 6 application servers. These servers host many isolated web application pools. The new rules require all DLLs to be installed in GAC.

The is a problem for me because I bin-deploy several dlls including the ASP.NET MVC Framework, HTML Agility Pack, ELMAH, and my own shared class libraries. I do this because:

Now, here are my questions.


Solution

    1. It allows them to turn the trust policy knob to eleven.
    2. Yes. Be sure to bump your [AssemblyVersion] when you make a breaking change
    3. Yes.

    Try not to argue the decision, you can't win. Make sure all your assemblies are strong-named, test with gacutil.exe