This template demonstrates how you can implement APIKey Verification for your REST services to learn more
Most public web services use API Keys as a means to control access. This provides you with a way to revoke the key of a malicious or malfunctioning application that is causing problems with your service.
Callers that want to invoke your service will need an API key. You will have to create a mechanism for issuing and revoking, storing and retrieving API keys.
This APIKeyAuthoirzation behavior will apply to all services in the web site using the web.config provided because it uses a behavior without a name making it the default behavior for all services (including SOAP services). Typically that is what you want, but if you need different behavior you can name this behavior configuration and selectivly apply it.