[quoted text, click to view] <molloyr@nortel.com> wrote in message
news:1120664388.080113.102920@g47g2000cwa.googlegroups.com...
<snip>
> Once I deploy the msi to client machines the Internet zone now has full
> trust, as does Local Intranet and Trusted Sites zones.
Umm... That's not so good. You might want to consider distributing a new
MSI that reverts these zone groups to their default permission sets (or
whatever permission sets your company uses).
[quoted text, click to view] > Couple of questions;
>
> 1) Should this new rolled out security policy now allow any user of
> that machine to run those strong named assemblies. We have found that
> the user needs to have local admin OR Domain Admin rights before the
> assembly will download and run??
In general, admin rights should not be necessary. How does this failure to
download and run for non-admins manifest? If you're seeing an exception,
could you please provide the full exception details? If you're not seeing
an exception, might non-admins have different IE security settings than
admins? (Check the run options for ".NET Framework-reliant components"
under the security settings for the appropriate zone in the IE options.)
[quoted text, click to view] > Does it totally depend on what the assembly is doing - e.g if we are
> writing to the event log does granting the assembly full trust
> facilitate this or does the user ALSO need admin rights to write to the
> event log.
In order to execute an action that is protected by both CAS and the the
operating system, the code must have the appropriate CAS permissions, and
the user must have the appropriate OS permissions. However, writing to the
event log usually doesn't require admin rights (although it can for heavily
protected logs).
[quoted text, click to view] > 2) We have a 3rd party dll signed with a different strong name and yet
> it still runs (once the user is an admin).
> I'm not convinced that our new code group is getting evaluated at all -
> I think that the Internet zone (parent) which now has full trust is
> allowing anything from the the Internet zone to run.
Your new code group is getting evaluated. It is, however, redundant as long
as the assembly is getting a full trust grant based on the internet zone
group. If the full trust grant for the internet zone were removed (which it
really ought to be), your new group would presumably start having an effect.
[quoted text, click to view] > What I want to happen is for CAS to evaluate my Assembly and allow it
> to run IF a) its coming from the internet zone AND b) it has been
> signed with our private key.
Then you should create a new group with the appropriate strong name
membership condition under the All_Code\Internet_Zone code group.
[quoted text, click to view] > At the moment I only think a) is being evaluated.
They're both being evaluated but, since a full trust grant is attained via
one of the two, the second one is redundant.
[quoted text, click to view] >
>
> Any help greatly appreciated.....
>