Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 8040401
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 5, 20262026-06-05T03:52:59+00:00 2026-06-05T03:52:59+00:00

I am starting to develop a RESTful API (with WCF) which will be working

  • 0

I am starting to develop a RESTful API (with WCF) which will be working in 2Way SSL authentication – client side certifications and server side certification.

As I understand, there will be no need for password/username because the client is already authenticated by the client-side certificate.

My problem is that some of the exposed methods should be restricted to specific clients only.

So, I also need some form of authorization. I thought about using a secret key which will be supplied to clients which are authorized of specific functions, but then I realized that this clients will already be having client-side certificates which can possibly be used for authorization.

Is there any way to get the name of the currently used client-side certificate in a programmatic way and then authorize by the certificate name?

somethine like this:

string clientCertificate = CertificateAuthority.GetCurrentCertificate;
if (Authorize(clientCertificate))
     doSomething()
  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-05T03:53:01+00:00Added an answer on June 5, 2026 at 3:53 am

    Yes there are such methods, most noticeable the X509Certificate2.GetNameInfo Method.
    (BTW, Dominick Baier has an excellent fluent API extension for that)

    However, I think you should take a look at Claims-Based Identity which will give you a much simplified code architecture.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I'm starting to develop a client webservice in C/C++. I don't know which library
Hi there I'm starting to develop an Android app which will be using a
I am starting to develop a facebook game using ASP.NET + Silverlight Which architecture
I am starting to develop with Web Api MVC 4 and created the whole
I'm starting to develop a web application which works with web-services and EJBs. What
I am starting a little side project which consists of building a small-medium sized,
I'm starting to develop a web application in PHP that I hope will become
I am starting to develop a site which basically acts as WordPress MU, in
We're starting to develop a new Silverlight LOB application where the DataAccess will not
We're starting to develop a Web application that will have some complex functionality written

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.