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

  • Home
  • SEARCH
  • 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 812303
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 15, 20262026-05-15T01:10:57+00:00 2026-05-15T01:10:57+00:00

I have been doing some research lately about best approaches to authenticating web services

  • 0

I have been doing some research lately about best approaches to authenticating web services calls (REST SOAP or whatever). But none of the Approaches convinced me… But i still can’t a make a choise…
Some talk about SSL and http basic authentication -login/password- which just seems weird for a machine (i mean having to assign a login/password to a machine, or is it not ?).
Some others say API keys (seems like these scheme is more used for tracking and not realy for securing).
Some say tokens (like session IDs) but shouldn’t we stay stateless (especially if in REST style) ?

In my use case, when a remote app is calling one of our web services, i have to authenticate the calling application obviously, and the call must – if applicable – tell me which user it impersonates so i can deal with authorization later.

Any thoughts ?

  • 1 1 Answer
  • 3 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-15T01:10:57+00:00Added an answer on May 15, 2026 at 1:10 am

    So, you have User -> clientServer -> yourServer, yes?

    You need to authenticate clientServer -> yourServer, to make sure not just anyone can talk to your server.

    If this is an established trust relationship (i.e. you guys chat, sign documents, and do other things “out of band”), then you can simply use SSL certs, certs that you can sign.

    Basically you set up your own Certificate Authority, create a root certificate, and then create a client certificate signed by that root certificate.

    You then send that certificate to the clientServer, and don’t let anyone connect to your service that doesn’t have a certificate signed by your root certificate.

    If the client ever ceases their relationship, you can revoke their cert and they can’t talk to you any more.

    As for identifying the User, that will need to be part of the API. The Client should authenticate them properly, and then forward any credentials to you that you require.

    That can be a first class part of your web service (like a parameter), or if you use SOAP it can be passed along in a SAML attachment in the SOAP header, that you can then extract.

    WS-Security has about 8000 ways of securing SOAP web services, as you may have discovered.

    So, it kind of depends on what you want to do, and other requirements. But given what little you have, this should work peachy.

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

Sidebar

Related Questions

I've been doing some Web-Projects lately that rely on heavy Data-Binding and have been
I have been doing some research about this and have found a few similar
I have been doing some research lately over my work project, i am trying
I have been doing some research about how to do custom profileprovider in .NET
Lately, I have been doing some research into cryptography. To get a better understanding
We have been doing some research into physically isolating the secure and non-secure sections
I have been doing some research on test driven development and find it pretty
I have been doing some research for using MSMQ. Following 2 gave me fundamental
So I have been doing some research into getting my UTF8 to print correctly.
I have been doing some research on the correct procedure to follow when working

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.