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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 26, 20262026-05-26T19:59:49+00:00 2026-05-26T19:59:49+00:00

I have created a server/client application. Both of them are written in C#. It

  • 0

I have created a server/client application. Both of them are written in C#. It uses TCP/IP communication with custom SSL implementation.
Currently the login procedure requires a username/password pair for logging in.

I was asked to implement the single sign on to eliminate the need of username/password.

So now when the client starts it determines the currently logged in user’s SID and sends it to the server which maps this connection to a user by the SID.

This solution works well but it is not a secured solution at all, I think.

The client has a strong name and it is obfuscated, of course.

I started thinking on how it is possible to hack this login and I think it is very easy from a hacker’s point of view:
– To find out a user’s SID on a network is not a problem
– Removing the strong name and changing the appropriate code to use a hard coded SID instead of the current one can be implemented easily

So what do you think?
Can you suggest me a better solution please?
Can you tell me please how to improve the security?

Or could you tell me please how Outlook handles the user authentication? (I guess/hope it is not so easy to cheat Outlook)

Thank you!

  • 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-26T19:59:50+00:00Added an answer on May 26, 2026 at 7:59 pm

    To authenticate with Windows Authentication, you can use NegotiateStream.

    MSDN provides a decent example that you can use to perform authentication:

    http://msdn.microsoft.com/en-us/library/system.net.security.negotiatestream(v=vs.85).aspx

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

Sidebar

Related Questions

I have written a TCP server implementation using which I created an application which
I have WCF client server application, and create msi setup projects for both projects.
I have to create an application server client in android(both the client an server
I want to create an application which will have a client and server components.
I have created a java server, which takes screenshots, resizes them, and sends them
I have created a few DTS packages and saved them on the server. where
Suppose you have a client/server application, say a webserver component and a qt gui.
Helloes good people of Stack Overflow, I have a .NET client-server application running with
I have a Java web application that currently uses Log4J for logging. I'd like
I have a client-server application, in which the client communicates with the server using

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.