Re: Client Certificate and Code Access Security
From: Jürgen Laude (JrgenLaude_at_discussions.microsoft.com)
Date: 01/13/05
- Next message: DAve: "Re: Using System.DirectoryServices from within webservice"
- Previous message: Dilip Krishnan: "Re: Client Certificate and Code Access Security"
- In reply to: Dilip Krishnan: "Re: Client Certificate and Code Access Security"
- Next in thread: Dilip Krishnan: "Re: Client Certificate and Code Access Security"
- Reply: Dilip Krishnan: "Re: Client Certificate and Code Access Security"
- Messages sorted by: [ date ] [ thread ]
Date: Thu, 13 Jan 2005 07:39:10 -0800
Hello Dilip,
Changing permissions on the client side is not an option for my customers.
Why am I able to use client side certificates in the internet zone with my
default internet explorer settings for web pages, but not from a .NET
application for web services? Browsing the asmx page works with the client
certificate, because IE is pulling it from the store. I understand that a
.NET app should not be allowed to access a users certificate store without
his knowledge, but the client is receiving the certificate from a user
selected file, so it is users intention to provide it to the application for
his authentication.
Thanks,
Jürgen
"Dilip Krishnan" wrote:
> Hello Jürgen,
> Basically yr having a client application that your trying to run as a
> downloaded interenet application. Such applications are security sandboxed
> as "internet" applications. Which have restricted permissions as far as loading
> things from the hard disk etc. Assuming yr using ssl a client cert cannot
> get access to your certificate in your local stores. Giving just appropriate
> permissions should solve this problem
>
> HTH
> Regards,
> Dilip Krishnan
> MCAD, MCSD.net
> dkrishnan at geniant dot com
> http://www.geniant.com
>
> > Hi,
> >
> > I am implementing a IIS deployed client (Windows Forms) that accesses
> > a web
> > service on the same server. I want to use client certificates for
> > authentication.
> > My problem is, when I call the web service with CAS "Internet"
> > permissions,
> > I'm receiving a SecurityException in a thread that seems to create the
> > connection. The user selects the certificate with a OpenFileDialog
> > configured
> > for working with "Internet" permissions. I can verify the loading of
> > the
> > certificate and assigning it to the web service proxy works without
> > problems.
> > Running the same with "Full Trust" works perfect, but my customers
> > require
> > "Internet" permissions only.
> > What do I need to do to work arround that? If not, why is using a
> > client
> > certificate that the user manually selects a security risk (it is no
> > problem
> > for Internet Explorer to do that)?
> > Thank you in advance,
> >
> > Jürgen
> >
>
>
>
- Next message: DAve: "Re: Using System.DirectoryServices from within webservice"
- Previous message: Dilip Krishnan: "Re: Client Certificate and Code Access Security"
- In reply to: Dilip Krishnan: "Re: Client Certificate and Code Access Security"
- Next in thread: Dilip Krishnan: "Re: Client Certificate and Code Access Security"
- Reply: Dilip Krishnan: "Re: Client Certificate and Code Access Security"
- Messages sorted by: [ date ] [ thread ]
Relevant Pages
|