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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 20, 20262026-05-20T20:11:28+00:00 2026-05-20T20:11:28+00:00

We have a few existing web services which require some sort of basic security

  • 0

We have a few existing web services which require some sort of basic security to prevent unauthorised third parties from making calls against the services.

If possible it would be best to avoid having to change the services at all. Like adding extra parameters to the service methods to pass a token for each call.

One idea (if possible) is to have an IIS module which intercepts all calls to the services and checks the header for a token. When the token is correct it lets the request through or otherwise cancels it. This way third parties only need to pass an extra http header field once we give them their key and we don’t have to change the services at all.

This raises the questions:

Is it even possible to do this with a managed IIS module? (Or unmanaged if necessary). And if so, how hard is it to pass extra header fields when connecting to a web service with WCF or Web References in Visual Studio.

If there are other options i’d like to hear them if they fit my requirements. 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-20T20:11:28+00:00Added an answer on May 20, 2026 at 8:11 pm

    You can use Basic/Digest/Windows Authentication. You can set this in IIS. It is rather trivial to use. Microsoft has a run-through post on this here. This is easy to setup in Visual Studio.

    More in-depth information and step-by-step instructions in this 15 seconds article on securing web services with this method.

    Neither of these require you to change the web service itself. But these only offer basic security. Using SSL, as another user suggested, can offer a higher level of security, but requires the web service to run in its own (sub) domain or application.

    If you eventually do consider changes your web service and adding authentication to it, consider reading this CodeProject article.

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

Sidebar

Related Questions

I am entirely new to streaming implementation. I have developed some RESTful web services
I have some existing (largish) ASP.NET web applications that people are starting to visit
I have few basic questions on session management in GWTP. Now, we create a
I have few basic questions on session management in GWTP. Client : GWTP, Server
I have few graphic effects on image which i am able to run on
I have a really tricky task to do: there is an existing web project
I have an existing PHP website which uses a considerable amount of jQuery and
I have been tasked with making an existing Java program available via a web
After a few failed attemps of integrating the existing Web based sql table editors
I have written an ASP.NET web page with C# behind that runs an existing

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.