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

  • Home
  • SEARCH
  • 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 8909495
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 15, 20262026-06-15T03:26:40+00:00 2026-06-15T03:26:40+00:00

I am pretty new to WCF services and especially to security – and am

  • 0

I am pretty new to WCF services and especially to security – and am a bit overwhelmed by all the security options.

We are currently implementing a WCF service (both the service and clients) in an intranet running Windows machines. So I thought about using Windows credentials as transport security mechanism.

But I think I need some help on a few things:

  1. after adding the transport security settings in the config of the WCF service, the client config then contains after updating the service reference an element called userprincipalname. That confuses me as I thought the user would be the Windows user running the app, which calls the service, rather than some hardcoded value in the client config. So why is a user specified in the client config?

  2. and does Windows automatically pass the right user from the clients to the service or do I need to add any special code on the client side to "set" the right user? We would be calling the WCF service from a Windows Forms client.

    (We will be self hosting the service in a windows service if it matters – for testing I run the service under my own account.)

Thanks all!

  • 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-15T03:26:41+00:00Added an answer on June 15, 2026 at 3:26 am

    Have a look at this: http://msdn.microsoft.com/en-us/library/ms733089(v=vs.100).aspx

    Has the configs for both, client and server.

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

Sidebar

Related Questions

I am pretty new to RESTful WCF services so bear with me. I am
I have a pretty simple client-server ASP.NET app; communication is via WCF service. All
I am pretty new to both Android and WCF. I am making a user
guys. I'm pretty new to both Silverlight and WCF. What I'm trying to do
I'm currently implementing a WCF REST service on a web role in Windows Azure,
I am pretty new to WCF in general. What little experience I have comes
I am new to WCF so I think this is pretty basic. I have
Im pretty new to Java Web Services, but I cant find a good explanation
I'm pretty new to WCF and SOA, so I apologize if the question is
I'm pretty much new at WCF and have a performance question. I have 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.