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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 11, 20262026-05-11T01:32:51+00:00 2026-05-11T01:32:51+00:00

I’m going around in circles with regards to WCF and security, so I’m listing

  • 0

I’m going around in circles with regards to WCF and security, so I’m listing some questions here in order to gain a clear picture.

  1. I’m interested in getting a better explanation of Transport vs Message level security.

  2. I think I have a service running under SSL that will authenticate the user based upon their windows credentials. I also think I understand how to limit access to a service method via the PrincipalPermission. But how do I actually retrieve the current IPrinciple, so I can return different results dependent upon who’s calling the service?

  3. I have figured out how to turn tracing on and I can see my trace logs using "Microsoft Service Trace Log Viewer" but ill be damned if I can figure out what Im being displayed. Is there a decent resource explaining how to use this thing?

  4. When using the "Certificate" clientCredentialType, is this something different to SSL?

  5. When using the "Windows" clientCredentialType how can I see what windows user is being passed through?

  6. My requirements mean I have to use basicHttpBindings – Am I correct in assuming:

  • I only have Transport level security available to me?
  • I can not implement custom username/password for this binding?

Edit

  1. How can I add custom SOAP headers to my service in a similar manor to .asmx services? Is this a valid approach?

Edit

Further to the above questions I would like to know if it is possible to authenticate a windows mobile device based upon its windows user by checking against Active Directory. For all that I have found so far it seems unlikely.

N.B. For those who do not know what’s available for Windows CE’s version of WCF it’s: Transport level security only, and either none/certificate for the Client Credential Type. So it seems that CE’s WCF won’t allow this by default but could I securely send this information in the message (via the method signature) and would this be an acceptable way of sending this kind of information?

  • 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. 2026-05-11T01:32:51+00:00Added an answer on May 11, 2026 at 1:32 am

    I don’t know all answers but here are the ones I do know

    1. transport security means the communication is encrypted while the message is transported so it can’t be read and or tampered with. Message security means the contents of the message itself is encrypted the transport however isn’t necessarily. Message security can for instance be used with HTTP while transport security would require the use of HTTPS (or other bindings).
    2. IPrincipal principal = Thread.CurrentPrincipal;
    3. no answer
    4. Yes, although SSL itself uses certificates it’s not the same. You can have the client send a certificate which is known to the service or which is signed by a trusted authority to that the service knows who the client is and whether to allow them to make the call or not. Using SSL will only ensure that third parties can’t read the communication between the client and the services by intercepting the network packages.
    5. IPrincipal principal = Thread.CurrentPrincipal; principal.Identity.Name;
    6. No.
      • You have None, Transport, Message and Mixed security as your options however Transport security will require calling the endpoint using HTTPS since thats the secured version of the protocol
      • EDIT: Check out the discussion at this forum.

    And the questions certainly aren’t stupid.

    P.S. I can recommend the book programming WCF services by Juval Lowy it’s really in depth and comes with a really useful framework extending WCF/Simplifying certain things.

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

Sidebar

Related Questions

link Im having trouble converting the html entites into html characters, (&# 8217;) i
I have just tried to save a simple *.rtf file with some websites and
For some reason, after submitting a string like this Jack’s Spindle from a text
I used javascript for loading a picture on my website depending on which small
I have a string like this: La Torre Eiffel paragonata all’Everest What PHP function
I'm parsing an RSS feed that has an ’ in it. SimpleXML turns this
I'm trying to decode HTML entries from here NYTimes.com and I cannot figure out
I have some data like this: 1 2 3 4 5 9 2 6
I would like to count the length of a string with PHP. The string
That's pretty much it. I'm using Nokogiri to scrape a web page what has

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.