Hello, 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.