Hi Cylt,
Thank you for posting.
Regarding on your question about configure the assembly to allow only some
particular assemblies to call it, I think we can consider using the .NET
CAS security setting. In .NET built-in CAS permission setting, there is on
"StrongNameIdenitityPermission" which can help configure
assembly/class/method to allow only some certain assemblies which have
the specific strong-named to call it. We can use the following attribute
to declare such strong-name identity requirement statically:
#StrongNameIdentityPermissionAttribute Class
http://msdn2.microsoft.com/en-us/library/system.security.permissions.strongn
ameidentitypermissionattribute(VS.80).aspx
Also, you can also use the StrongNameIdentityPermission Class to
programmatically do such checking in your code at runtime:
http://msdn2.microsoft.com/en-us/library/system.security.permissions.strongn
ameidentitypermission(VS.80).aspx
Hope this helps.
Regards,
Steven Cheng
Microsoft Online Community Support
==================================================
When responding to posts, please "Reply to Group" via your newsreader so
that others may learn and benefit from your issue.
==================================================
This posting is provided "AS IS" with no warranties, and confers no rights.
Get Secure!
www.microsoft.com/security
(This posting is provided "AS IS", with no warranties, and confers no
rights.)