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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 15, 20262026-06-15T06:28:57+00:00 2026-06-15T06:28:57+00:00

I will like to create a service with custom authentication. The way I will

  • 0

I will like to create a service with custom authentication. The way I will like to authenticate users is as:

  1. Client connects to service.

  2. Service generates a random number lets say 1234 and sends that number to client

  3. Client then is supposed to add the numbers (Latter I will use a better hash) so the client sends 10

  4. The Server performs the same hash algorithm and expects to receive 10

  5. server received 10 it then authenticates the user and the user is able to start consuming the service.

I have some basic question though. If I uses security = “none” then will the messages be encrypted? In other words if I use security = “none” I know that the user will not have to be authenticated but are the messages sent to the service in plain text? How can I force the connection to be encrypted without having to authenticate the user? I will like to restrict users from sniffing packages. I don’t mind them connecting to the service. If they connect to that service I will only want to let them see the messages they send but not other’s people messages.

  • 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-15T06:28:59+00:00Added an answer on June 15, 2026 at 6:28 am

    For encrypted communication with server without authenticating the user you can use Transport or Message level security.

    Refet to the following articles for details:

    1. patterns & practices Improving Web Services Security Guide
    2. Transport Level Security
    3. Configuring HTTP and HTTPS
    4. Bindings and Security

    And a general advise: don’t invent your own authorization/authentication/encryption protocols, unless you are one of the greatest information security/crypthography experts in the world. Use the protocols already present on the market.

    What have you described is not a handshake at all, since it’s protected only by the fact, that an attacker does not now your hash function. Such an assumption considered quite bad basement for the cryptographic/authentication protocol.

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

Sidebar

Related Questions

I'd like to create a project which generates a sqlite database, which will eventually
In a REST WCF Service, is there a way to create a custom WebFaultException?
I like to create a specific filename for a file that will be created
I would like to create a regular expression that will replace a normal space
I would like to create a new controller that will allow the admin user
I'd like to create a regex that will match an opening <a> tag containing
I would like to create a caching system that will bypass some mechanisms in
I would like to create a function that will return list of type that
I'd like to create a regular expression that will match and return based on
I would like to create a view where this subview will be in repeated

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.