Tag: basic authentication

  • How to protect REST API using Basic Authentication?

    How to protect REST API using Basic Authentication?

    REST APIs are one of the primary means of communication between different apps in modern web applications. Anyone can send a request to a public REST API and get a response. This poses security risk. We need only legitimate users to hit our REST APIs and get the information they need. We can do this…

  • How to secure a REST service in Spring Boot using Basic Authentication?

    Rest Services can be secured in a variety of ways: Basic Authentication , Bearer Authentication , API Keys , Open Id etc. Basic Authentication is the simplest , it uses a user name and password to secure a REST service. In this post let’s see how to protect a REST service using basic authentication in…