Re: How to Strong Name -AGH!!!

From: Patrick Steele [MVP] (patrick_at_mvps.org)
Date: 05/26/04


Date: Wed, 26 May 2004 15:23:28 -0400

In article <#Arl4J1QEHA.2400@tk2msftngp13.phx.gbl>, dmj2195
@DONTSPAMMEokstate.edu says...
> I move it into the Share and run this command:
>
>
> caspol -enterprise -adduflltrust pathtoapp.exe
>
> it says are you sure? I say yes, it says Success....great, but when I go to
> run it...this error, STILL!!!!!!
>
> System.Security.Permissions.SecurityPermission error...

I haven't worked much with the command-line caspol tool. I've only
briefly used the "Microsoft .NET Framework 1.1 Configuration" from
Administrative Tools.

In there, you could add a new code group based on the public-key you've
created for your application. Give that code FullTrust permission and
then make sure *no one* get's access to that key file you used to sign
the assembly. Otherwise, they could sign their own malicious code with
your ky and since you've given FullTrust to that key, the code could do
anything it wanted.

-- 
Patrick Steele
Microsoft .NET MVP
http://weblogs.asp.net/psteele


Relevant Pages

  • Re: Installing Net Framework Service Pack 1
    ... You *do* have a valid install of 1.1, ... We had already established that I had changed the ASP.NET tab to 1.1.4322, ... That's not a registry command. ... It's a command to configure a virtual app as an app which will use the .Net Framework 1.1. ...
    (microsoft.public.dotnet.framework.aspnet)
  • Re: Installing Net Framework Service Pack 1
    ... I have to go back and change on the Web Sites node. ... Just select the application you want to change, the .Net Framework version ... We had already established that I had changed the ASP.NET tab to 1.1.4322, ... That's not a registry command. ...
    (microsoft.public.dotnet.framework.aspnet)
  • Re: Installing Net Framework Service Pack 1
    ... You *do* have a valid install of 1.1, ... We had already established that I had changed the ASP.NET tab to ... That's not a registry command. ... Here I try to enter the directory where the Net Framework 1.1 ...
    (microsoft.public.dotnet.framework.aspnet)
  • Re: Installing Net Framework Service Pack 1
    ... You *do* have a valid install of 1.1, ... We had already established that I had changed the ASP.NET tab to 1.1.4322, ... That's not a registry command. ... It's a command to configure a virtual app as an app which will use the .Net Framework 1.1. ...
    (microsoft.public.dotnet.framework.aspnet)
  • Re: Installing Net Framework Service Pack 1
    ... All you have to do to use the Webmatrix is open the file you wish to run. ... So why was I even considering the command line? ... You have a valid install. ... Here I try to enter the directory where the Net Framework 1.1 resides, ...
    (microsoft.public.dotnet.framework.aspnet)