Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
HomeAnnouncementsFree MagazinesWhite PapersSubmit Content
Discussion GroupsASP.NETWindows FormsLanguages.NET FrameworkVisual Studio.NET
Articles.NET FrameworkASP.NETToolsWindows Forms
.NET DirectoryOpen Source ProjectsUser GroupsWeb Resources
Related Topics
Visual Basic 6SQL ServerMS AccessOther DB ProductsMS Server ProductsMore Topics ...

.NET Forum / ASP.NET / Security / October 2004

Tip: Looking for answers? Try searching our database.

Client Side Certificates for Web Services?

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
localhost - 25 Oct 2004 18:22 GMT
Part 1:
I have a simple web service.  I would like to protect the web
application by only allowing callers that have a client-side
certificate installed.  How can I do that programmatically?  I have no
access to the IIS metabase, so I need to do it in web.config or in my
application .cs code.

Part 2:
Assuming I can make Part 1 a success, I want to make a console app
that uses client-side certificates "on the fly" to access the web
service.  I don't want a user to have to install a certificate with
any UI, I want to do it for them behind the scenes.

Thanks.
Joe Kaplan \(MVP - ADSI\) - 25 Oct 2004 21:08 GMT
My instinct is that you would want to use WSE 2.0 for this so you can do it
at the message level.  Enforcing client certificates at the transport level
unfortunately means changing the IIS metabase configuration which you said
you can't do.

I'd also suggest reading some of the recent MSDN magazine articles on WSE
2.0 and try posting your question in one of the webservices or WSE
newsgroups.

Joe K.

> Part 1:
> I have a simple web service.  I would like to protect the web
[quoted text clipped - 10 lines]
>
> Thanks.
richlm - 25 Oct 2004 21:09 GMT
Take a look at WS-Security - implemented as web services enhancements (WSE)
in .NET.
This should provide the features you need - certainly for part 1. It should
provide the flexibility you need.

http://msdn.microsoft.com/webservices/building/wse/default.aspx

As for part 2, if you need transparency your most secure bet is probably to
look at something like a smart card based approach (where the certificate is
on the card
[MSFT] - 28 Oct 2004 09:48 GMT
Did you still have any further questions on the issue? If so, please feel
free to post here.

Luke

Free Magazines

Get these publications absolutely FREE for up to 12 months. There are no hidden fees and no obligation. Simply choose a title, complete the application form and submit it. Read more ...

Oracle MagazineNetwork ComputingComputer WorldBio-IT WorldeWeekInformation WeekInfosecurity
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.