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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 29, 20262026-05-29T10:25:43+00:00 2026-05-29T10:25:43+00:00

I have a web project that used to use Forms Authentication. I have new

  • 0

I have a web project that used to use Forms Authentication. I have new requirements to support Windows Authentication. This project contains two web services, one for a Silverlight page (MapService) and one for various ajax calls (AsyncService) Everything is now working, but there are 2 things I don’t quite understand.

The configuration from Web.Config is as follows:

<bindings>
      <basicHttpBinding>
        <binding name="WindowsClientOverTcp">
          <security mode="Transport">
            <transport clientCredentialType="Windows" />
          </security>
        </binding>
      </basicHttpBinding>
      <webHttpBinding>
        <binding name="AsyncWindowsOverTcp">
          <security mode="Transport">
            <transport clientCredentialType="Windows" />
          </security>
        </binding>
      </webHttpBinding>
    </bindings>
    <serviceHostingEnvironment aspNetCompatibilityEnabled="true" multipleSiteBindingsEnabled="true" />
    <services>
      <service name="Project.MapService.MapService">
        <endpoint address="" binding="basicHttpBinding" bindingConfiguration="WindowsClientOverTcp" name="WindowsClientOverTcp" contract="Project.MapService.MapService" />
      </service>
      <service name="Project.AsyncService.AsyncService">
        <endpoint address="" binding="webHttpBinding" bindingConfiguration="AsyncWindowsOverTcp" name="AsyncWindowsOverTcp" behaviorConfiguration="Project.AsyncService.AsyncServiceAspNetAjaxBehavior" contract="Project.AsyncService.AsyncService" />
      </service>
  </services>
  1. With this setup, is it basically required to use SSL? I’ve read that using Transport Security with Windows ClientCredentialType forces an HTTPS endpoint, which seems to be the case. I just want to know if it is reasonable to state generally to a client or management “If they want Windows authentication, our application must use https”

  2. For the AsyncService, it clearly requires Windows credentials from the client, but I didn’t have to change my JS/Ajax code at all and it still works fine. Is there some magic being done by the client browser? Since there’s no client configuration, I don’t get how the calls are authenticated.

Thanks

  • 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-29T10:25:43+00:00Added an answer on May 29, 2026 at 10:25 am
    1. No, you don’t need HTTPS in order to use Windows Authentication. You do need to configure IIS to use Integrated Security, and if the caller is from the same Windows domain or a trusted Windows domain, IIS will be able to authenticate the user.

    2. If the browser is running using credentials of your Windows domain, or a trusted domain, and your Web app is configured to use Windows authentication, then the browser includes the credentials it runs under to IIS.

    EDIT:
    Some additional information. If you’re using BasicHttpBinding as above and want to secure it, a good option is to use TransportWithMessageCredential as your security mode. This secures the message using the Transport layer (HTTPS) and includes the Windows credentials in the message. See also “Programming WCF Security” at http://msdn.microsoft.com/en-us/library/ms731925.aspx.

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

Sidebar

Related Questions

I have inherited a web site project that makes use of a number of
I have a web project that I developed where one of the main functions
I have a web application project that works with a quite large database (over
I have inherited a web project that is perl based and I'm attempting to
I have a web application project (wap) that is successfully being deployed to a
We have a updatable web site project that is written in c#, it has
I have an ASP.NET VB.NET web project that references a VB.NET class library. I
I'm starting a web project that likely should be fine with SQLite. I have
Hello Ruby/Rails/Merb developers! Im currently working on a web project that will have a
I have numerous Web Services in my project that share types. For simplicity I

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.