In article <(E-Mail Removed)>,
(E-Mail Removed)
says...
> Hi Patrick,
>
> Yes, you state the case correctly; this is exactly what I'd like to do. I
> see how CAS can acheive this, however CAS seems more of an administrative
> tool than a development option. For a commercial product which will be
> installed all over the place, I don't see how CAS can be a viable solution
> unless CAS rules can be manipulated programmatically, or via our installer.
> Would this be possible?
I believe the link I posted suggested that you simply strong-name your
assemblies that want to call your utility assembly. Then, your utility
assembly methods (or maybe the whole assembly?) has an attribute to
demand a specific strong-name public key from all callers. Since only
your assemblies are signed with the proper key, they will be the only
ones allowed to call the utility assembly.
I don't think you'll need to manipulate any CAS rules for that.
--
Patrick Steele
http://weblogs.asp.net/psteele