Modifying GAC permissions
来源:岁月联盟
时间:2004-09-05
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)
下一篇:asp程序权限控制的代码











