Re: Client side controls in IE not working as expected

Tech-Archive recommends: Repair Windows Errors & Optimize Windows Performance

From: fowad (fowad.syed_at_gmail.com)
Date: 10/20/04


Date: 20 Oct 2004 08:37:05 -0700

When I evaluate my assembly, I get the following code group list

Code groups that apply to this assembly

- Enterprise Policy
        - All_Code

- Machine Policy
        - All_Code
                - My_Computer_Zone

- User Policy
        - All_Code

I added a new group 'MyCodeGroup' under Machine Policy and set the
member condition as 'Site=<IpAddress>'. This works. I can see my
controls downloaded on the browser. I change it to 'Strong Name' and
import my dll to get the public key. That does'nt work. I tried Hash
code and that does'nt work either.

note: My assembly has references to other assemblies but all of them
use the same public key.

v-jetan@online.microsoft.com ("Jeffrey Tan[MSFT]") wrote in message news:<fuCPYxatEHA.724@cpmsftngxa06.phx.gbl>...
> Hi,
>
> Thanks very much for your feedback!!
>
> For this issue, I think you can first ensure if your assembly belongs to
> the code group you created. In .NET Configuration Tool, just right click
> the Runtime Security Policy node, then use "Evaluate Assembly" to select
> your assembly. Then you may find out which code group(s) a particular
> assembly belongs to, or which permissions it has.
>
> Also, for a correct steps of using "strong name" in code access security,
> please refer to the article below, there is a step-by-step in this article
> using strong name:
> "Understanding .NET Code Access Security"
> http://www.codeproject.com/dotnet/UB_CAS_NET.asp
>
> I will wait for your further feedback, thanks
>
> Thank you for your patience and cooperation. If you have any questions or
> concerns, please feel free to post it in the group. I am standing by to be
> of assistance.
>
> Best regards,
> Jeffrey Tan
> Microsoft Online Partner Support
> Get Secure! - www.microsoft.com/security
> This posting is provided "as is" with no warranties and confers no rights.



Relevant Pages

  • Re: No touch deployment
    ... @rem whenever Caspol.exe is run using an option that would cause policy ... @rem - machine - specifies adding the new code group at machine policy ... > which he clicks OK to trust my assemblies. ... > Dim strFormTOLoad As String ...
    (microsoft.public.dotnet.framework.setup)
  • Re: Altering .NET Security policy across domain
    ... caspol.exe to create a code group, but it can also be done using the .NET ... permissions you grant the signed assemblies. ... >>> all machines in the domain. ...
    (microsoft.public.dotnet.security)
  • Re: problem with strong name CAS
    ... the strong name I used for the other assemblies in the application. ... > created a small stub app which is installed on the client pc. ... I created a code group under the Machine ... The code group is granted FullTrust permissions and its ...
    (microsoft.public.dotnet.security)
  • Re: dotnet security exception issues
    ... Your best option in this case would be to strong name your assemblies ... Or create a new code group with a higher trust ... and add your assemblies to that code group. ... Those security features are for your ...
    (microsoft.public.dotnet.languages.vb)
  • problem with strong name CAS
    ... I am having a strange problem with a NTD Smart Client application. ... created a small stub app which is installed on the client pc. ... I created a code group under the Machine ... It was my understanding that because the assemblies ...
    (microsoft.public.dotnet.security)