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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 17, 20262026-05-17T15:19:50+00:00 2026-05-17T15:19:50+00:00

I am creating an API with a bunch of public methods to be published

  • 0

I am creating an API with a bunch of public methods to be published on the web and I need to secure them. In this case it is not about encryption but authentication.

The idea is that whoever is consuming the web services is a registered user on the DataBase so that we can keep outsiders out. I have being reading about API Keys but I don’t know neither if they are the correct approach for my issue nor how to implement them.

So, question is: How do I keep unknown people from consuming the web services?

Notes: Logs are likely to be made to requests made by known users to keep track of what they do and terminate connections on suspicious activities. Also I’m using ASP.NET.

  • 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-17T15:19:51+00:00Added an answer on May 17, 2026 at 3:19 pm

    I came back to explain how I ended up doing it.

    First, I used a (custom implementation of a) per-application API Key, so for each application that would consume my web services I created and gave them a key. Such key has to be provided alongside some application data needed to regenerate the key and match against what was provided by the application.

    Second, I used SoapHeader and a variation of this method in order to accomplish my goal. Basically, the key and app data come with the message as part of the header for each call to a method. So, the validation process happens every time an app calls on a public method.

    I appreciate the answers that were given to me and the approached are really interesting, the reason why I decided to it this way was because the web services were already up and running and is .NET 3.5… so neither WCF nor ASP. WSE could provide me of the best and easier to implement solution.

    Thanks.

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

Sidebar

Related Questions

Most things that I've found about the .net AdWords API mention creating a bunch
I am creating a RESTful API web service and I need a way of
I am creating a web api using asp.net mvc4 and the response output is
I am creating a ASP.Net Web API to expose an existing database for use
I am creating an API using PHP and MongoDB. In this system I got
I'm creating an api using Asp.net web api. I have controller BookController with two
I am looking at creating javascript API methods for my application similar to how
I'm creating a web API and I want to be able to version it.
I am in need of creating a rest api for syncing data with my
I'm creating an API for a particular website. This API will be in the

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.