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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 18, 20262026-05-18T22:27:07+00:00 2026-05-18T22:27:07+00:00

We have the following setup for authenticating users. A wcf authentication service that is

  • 0

We have the following setup for authenticating users. A wcf authentication service that is hosted as a windows service on a server machine. The client is a C# CAB based application that communicates with the authentication service and other services (auditing,..) as needed.
We want to give an option of using Active directory to logon to the application.
The steps that were proposed are as shown below.

  1. Authentication service running on server
  2. user opens application on client
    machine and chooses login by AD.
  3. application, uses the userName and
    password to authenticate user
    against AD.
  4. application sends some token from
    the authenticated user to the
    authentication service, to get back
    information about sql server and sql
    db name.
  5. authentication service uses token against Active Directory
    and verifies that user is logged on
    and authenticated and returns back the required sql information.

Are steps 4 & 5 possible without the client app needing to send the username and password to the server for authenticating against AD? I want to avoid as much as possible sending passwords on the network.

  • 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-18T22:27:07+00:00Added an answer on May 18, 2026 at 10:27 pm

    You can’t do that with AD and a client only, you need to involve a service in the authentication mechanism. If I were you, I’d send the username and password to the authentication service, the client shouldn’t talk to the AD directly at all. And if you need some SSO, you can create a token in the authentication service. AD doesn’t issue tokens, only you can, or another, more sophisticated service, like ADFS.

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

Sidebar

Related Questions

I have the following setup: Code on my local machine (OS X) shared as
I have this following setup, a textarea named with some data in it that
Let's say you have the following setup. You have a server with the basepath
I am trying to create a WCF service that uses certificate authentication over SSL
I have the following scenario: Server: Jetty (with configured JAAS) Client: Jersey invoked via
I have an ASP.NET MVC 3 application that uses a WCF service within the
I have the following scenario (Asp.net 3.5, Windows Server 2008 R2, IIS7): User1 logs
Ok I'm following this tutorial for a basic PHP webservice server/client setup: http://www.java-samples.com/showtutorial.php?tutorialid=1186 Now
I have following setup, but when I put 1024 and replace all 512 with
I have a following setup: App - Magnolia site running under Tomcat 6.0.16 ISAPI

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.