日期:2011-12-19  浏览次数:20751 次

Modifying GAC permissions
To do this on the assembly folder you have to unregister shfusion.dll. Here are the steps

A. Unregister shfusion.dll to allow you access to the Security tab
i) Select Start
ii) Select Run
iii) Type regsvr32 -u C:\WINNT\Microsoft.NET\Framework\v1.1.4322\shfusion.dll
(or regsvr32 -u C:\WINNT\Microsoft.NET\Framework\v1.0.3705\shfusion.dll)

B. In a Windows Explorer, right click c:\winnt\assembly
i) Select Properties
ii) Select the Security Tab
iii) <do what you need to do here>

C. Reregister the shfusion.dll to deny access to the Security Tab on the assembly folder.
i) Select Start
ii) Select Run
iii) Type regsvr32 C:\WINNT\Microsoft.NET\Framework\v1.1.4322\shfusion.dll
(or regsvr32 C:\WINNT\Microsoft.NET\Framework\v1.0.3705\shfusion.dll)