Hello James,
As I understand, you create a custom code access permission and make
declarative demands for your custom permission. And now you cannot debug
the methods which are enforced by the custom permission. Please correct me
if there is any misunderstanding. I'd like to share the following
information with you:
As you know, default security policy does not know about the existence of
any custom permission. You have to update security policy to make it know
your custom permission. After that, we can grant FullTrust to either the
share or the individual assemblies. Please refer to the following articles
and resources:
Updating Security Policy
http://msdn.microsoft.com/library/de...us/cpguide/htm
l/cpconupdatingsecuritypolicy.asp
<
http://msdn.microsoft.com/library/de...-us/cpguide/ht
ml/cpconsecuritypolicybestpractices.asp> for .NET framework security best
practices. It has several good links.
How to trust a specific share:
http://msdn.microsoft.com/library/de...us/vsintro7/ht
ml/vxurfprojectfoldernotsecuredialogbox.asp
<
http://msdn.microsoft.com/library/de...-us/cptools/ht
ml/cpgrfcodeaccesssecuritypolicyutilitycaspolexe.asp?frame=true> has a
really good description for the Caspol command line syntax.
Hope this helps.
Regards,
HuangTM
Microsoft Online Partner Support
MCSE/MCSD
Get Secure! ¨C
www.microsoft.com/security
This posting is provided Ħ°as isĦħ with no warranties and confers no rights.