开发者

How to change the security level of a local assembly to internet or customized permission set?

开发者 https://www.devze.com 2022-12-10 09:34 出处:网络
I built a assembly which is a class library, for example lib.dll . And I also have a application to access this lib, for example test.exe.

I built a assembly which is a class library, for example lib.dll . And I also have a application to access this lib, for example test.exe.

I changed the security permission for the test.exe to "intranet". At the same time, I want to change lib.dll to "Internet" like this: (Because I want to do some testing for security.)

CasPol.exe -m -ag 1.2 -strong -file lib.dll lib 1.0.0.0 Internent

Bu开发者_开发问答t it seems the lib.dll can not get the security permission as I wanted. What is wrong with the command? Or maybe there are some other better solutions?

Thanks -Jamebo


Please visit below link which help you to change trust level of local assembly

http://support.microsoft.com/kb/815147

0

精彩评论

暂无评论...
验证码 换一张
取 消