Re: Trust An Assembly (With Updates)
From: Jason Garland \(Secure Access Pty Ltd\) (Jase_at_SecureAccess.Com.Au)
Date: 10/24/03
- Previous message: deepti_radhakrishnan_at_yahoo.com: "How to connect an assembly to a particular code group."
- In reply to: Dave Jefferson: "Re: Trust An Assembly (With Updates)"
- Next in thread: Dave Jefferson: "Re: Trust An Assembly (With Updates)"
- Reply: Dave Jefferson: "Re: Trust An Assembly (With Updates)"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ] [ attachment ]
Date: Fri, 24 Oct 2003 08:42:20 +1000
Thats Great
2 Quick Questions.
a) Do you know of away of doing this via CASPOL or some other scripting ?
b) Do you know if this can be pushed out in Dot Net Security (from Server to
Clients)
With THanks
Jase
"Dave Jefferson" <david.jeffersd@REMOVETHISkbcfp.com> wrote in message
news:oprxh5hvhahnd987@news.microsoft.com...
> The simplest thing to do is:
> 1. Generate a strong name key pair using "sn -k myKey.snk"
> 2. Get your application to use this (in the AssemblyInfo.cs file)
> 3. Run C:\WINNT\Microsoft.NET\Framework\v1.1.4322\mscorcfg.msc (assuming
> you are using v1.1 of the framework)
> 4. Runtime Security Policy -> Increase Assembly Trust. Choose your
> assembly and in the next dialog pick the option "All assemblies with the
> same assembly public key"
> 5. Choose the security level
>
> Now any version of any application which is signed with myKey.snk can run
> on this PC.
> If you want to deploy your application to other PCs then choose Runtime
> Security Policy -> Create Deployment Package and thne deploy the resulting
> msi package to all PCs in your company.
>
> What we do is my development group has it's own key and we sign all our
> assemblies with that key and all the PCs in my company have their security
> policy adjusted so trust that key.
>
> Hope this helps,
>
> Dave
>
>
>
> On Thu, 23 Oct 2003 18:07:05 +1000, Jason Garland (Secure Access Pty Ltd)
> <Jase@SecureAccess.Com.Au> wrote:
>
> > Does anyone know of a method to allow an Application (not a specific
> > version
> > or build) to be allowed to be trusted with full rights ?
> >
> > Sort of a Registration of a Certificate, and any app that is signed with
> > that certificate (regarless of name or build) is right to run ?
> >
> > Any thoughts would be great.
> >
> >
>
>
>
> --
> Using M2, Opera's revolutionary e-mail client: http://www.opera.com/m2/
- Previous message: deepti_radhakrishnan_at_yahoo.com: "How to connect an assembly to a particular code group."
- In reply to: Dave Jefferson: "Re: Trust An Assembly (With Updates)"
- Next in thread: Dave Jefferson: "Re: Trust An Assembly (With Updates)"
- Reply: Dave Jefferson: "Re: Trust An Assembly (With Updates)"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ] [ attachment ]
Relevant Pages
|