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 317559
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 12, 20262026-05-12T08:29:18+00:00 2026-05-12T08:29:18+00:00

WCF has a rich security model, I hope everyone can agree upon that as

  • 0

WCF has a rich security model, I hope everyone can agree upon that as a given. I recently came across a situation where our client applications (WCF based applications that leverage the user’s credentials within the domain) needed to communicate with services we had to deploy to a data center outside of our domain and control. Consequently, this broke our single sign-on model and I’d like know if any of you have had any success extending the security model to services beyond the domain.

Our identity model relies on the IIdentity and IPrincipal classes (not the WindowsIdentity/WindowsPrincipal) so using an alternative identity implementation is fine. As my question implies, I don’t have an answer and I’m hoping you do. The one solution I have toyed around with requires the client to authenticate in our domain in the same fashion that they do now. As part of the authentication, they’d be provided with a X.509 certificate signed by our CA (which would be trusted by the data center). Certificates would be housed in a certificate store (I believe there is one that is bundled with .NET, but I’m unclear about it’s ability to be leveraged in an environment where users move occasionally) and created/provided to the user when requested.

I’d appreciate any feedback and/or ideas.

Edit:

We have services that still reside within our data center in addition to the remote data center. I’d like to provide a solution that requires only a single signon (and fwiw, our users must enter their user name and password each and every time they launch this application).

  • 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-05-12T08:29:18+00:00Added an answer on May 12, 2026 at 8:29 am

    If you have more or less point-to-point requests between few participants, like in a B2B environment, then certificates are definitely the way to go. Everything works automagically – once you’ve set it all up correctly, of course! 🙂

    Basically, your service will have a certificate to authenticate itself, and the client will also have a certificate which will be sent to the service and authenticates the clients against the service. On the server side, you’ll be able to tap into the ServiceSecurityContext.Current.PrimaryIdentity to get access to the IIdentity of the caller.

    For more information, see these resources:

    • Fundamentals of WCF Security – excellent intro
    • p&p WCF security scenarios
    • p&p WCF Security Guidance – very extensive, very complete
    • WCF Security – Barebones – Scenarios – excellent blog post series on scenario-driven WCF security
    • Declarative WCF Security – Juwal Lowy’s fundamental article about declarative WCF Security

    Hope this helps a bit!
    Marc

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

Sidebar

Related Questions

Why would you use .NET Remoting over WCF ? I understand that WCF has
We have an application that has a WCF service (*.svc) running on IIS7 and
I'm writing a WCF REST Service that has a mobile client. The mobile client
My WCF Service has an OperationContract that accepts, as a parameter, an array of
A WCF service has been written and can be hosted in any web site.
I have a simple WCF service which has a method that returns a complex
I have a WCF that has two endpoints, one for https one for http.
This application has a WCF web service that is called by a WinForms app.
I have a WCF service that has REST and SOAP endpoints for every service.
Well, it appears that now that WCF has been out for a while, the

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.