B 
		
								
				
				
			
		Brad
I've just used StrongNameIdentityPermission at the class level and it works
fine. Can I use it similar to the following for the entire assembly?
<StrongNameIdentityPermission(SecurityAction.LinkDemand,
PublicKey:="00...")>
Rather than protect each class idependently I'd prefer to protect the entire
assembly from being accessed by an invalid program. I tried <Assembly:
StrongNameIdentityPermission(SecurityAction.LinkDemand, PublicKey:="00...")>
but it creates the error "SecurityAction type invalid on assembly"
Thanks
Brad
Cross posted to microsoft.public.dotnet.security &
microsoft.public.dotnet.languages.vb
				
			fine. Can I use it similar to the following for the entire assembly?
<StrongNameIdentityPermission(SecurityAction.LinkDemand,
PublicKey:="00...")>
Rather than protect each class idependently I'd prefer to protect the entire
assembly from being accessed by an invalid program. I tried <Assembly:
StrongNameIdentityPermission(SecurityAction.LinkDemand, PublicKey:="00...")>
but it creates the error "SecurityAction type invalid on assembly"
Thanks
Brad
Cross posted to microsoft.public.dotnet.security &
microsoft.public.dotnet.languages.vb
	
 Putting RequestMinimum for that permission will verify that your assembly will execute ONLY if it is signed with the key mentioned in the permission attribute -- it's quite different from what you need if I see it correctly.