安全組態檔

安全組態檔包含程式碼群組階層架構和與原則層級相關聯的使用權限集合的資訊。強烈建議您使用 .NET Framework 組態工具 (Mscorcfg.msc)程式碼存取安全性原則工具 (Caspol.exe) 來修改安全性原則,確保原則變更不會損毀安全組態檔。

下表顯示安全組態檔的位置。

企業原則組態檔  

Windows 2000

%Runtime install path%\Config\Enterprisesec.config

Windows NT

%Runtime install path%\Config\Enterprisesec.config

Windows 98 和 Windows Millennium Edition (Windows Me)

%Runtime install path%\Config\Enterprisesec.config

電腦原則組態檔  

Windows 2000

%Runtime install path%\Config\Security.config

Windows NT

%Runtime install path%\Config\Security.config

Windows 98 和 Windows Me

%Runtime install path%\Config\Security.config

使用者原則組態檔  

Windows 2000

%USERPROFILE%\Application data\Microsoft\CLR security config\vxx.xx\Security.config

Windows NT

%USERPROFILE%\Application data\Microsoft\CLR security config\vxx.xx\Security.config

Windows 98 和 Windows Me

%WINDIR%\username\CLR security config\vxx.xx\Security.config

請參閱

其他資源

組態檔
.NET Framework 的組態檔結構描述
安全性原則管理