Re: strong name and web service
From: Ivan Medvedev [MS] (email@example.com)
From: "Ivan Medvedev [MS]" <firstname.lastname@example.org> Date: Fri, 11 Apr 2003 11:25:06 -0700
all strong naming does is giving your assembly a cryptographically strong
unspoofable name. If you need this kind of strong identity for your code
(for example to make the security policy give certain trust to that
assembly, or to implement "semi-public API" scenarios, where the APIs only
allow their callers to be assemblies having certain identity) then you
should use strong naming. You may also use it if you are planning on putting
the assembly in the GAC or would like to restrict assembly's callers to only
those having full trust (strongname signing and not putting
AllowPartiallyTrustedCallersAttribute does that).
I can not think of any direct benefits from signing web service code.
This posting is provided "AS IS" with no warranties, and confers no rights.
"Guogang" <nospam@no_such_domain.com> wrote in message
> Great, that solves one question, strong name won't be checked by clients.
> I am investigating the use of strong naming in our .Net solutions.
> Does it make sense to use strong naming on .Net application that won't be
> put into Global Assembly Cache?
> What can I benefit from strong naming a web service?
> "Steven Grayson [MSFT]" <email@example.com> wrote in message
> > You can assign a strong name to assemblies that make up a web service,
> > not to a web service. A strong name consists of an assembly's identity -
> > simple text name, version number, and culture information (if
> > plus a public key and a digital signature. It is generated from an
> > file (the file that contains the assembly manifest, which in turn
> > the names and hashes of all the files that make up the assembly), using
> > corresponding private key. Microsoft® Visual Studio® .NET and other
> > development tools provided in the .NET Framework SDK can assign strong
> > to an assembly.
> > What were you wanting to do by assigning a strong name to a web service?
> > --
> > This posting is provided "AS IS" with no warranties, and confers no
> > Use of included script samples are subject to the terms specified at
> > http://www.microsoft.com/info/cpyright.htm
> > "Guogang" <nospam@no_such_domain.com> wrote in message
> > news:ep27$2i$CHA.3512@TK2MSFTNGP11.phx.gbl...
> > > I saw that I can assign a strong name to my web-service.
> > > My question:
> > > Is there benefit in assigning a strong name to web service?
> > > Will this strong name be checked by any remote client?
> > >
> > > Thanks,
> > > Guogang
> > >
> > >