Advantages and Disadvantages of Message Based Authentication

written by: Giulio Delgado; article published: year 2006, month 07;


In: Root » Internet » Web design and development » Advantages and Disadvantages of Message Based Authentication

Dutch French Spanish Portuguese Italian German Japanese Chinese Korean Russian Arabic Bookmark and Share this Article

Client credentials can also be passed along with the regular message payload. This is marginally easier to implement on the client side because adding credentials should be no more difficult than adding another parameter to the request. Remember that even if a secure (SSL) endpoint is used, the URL used for the request is still sent in the clear, so if the credentials are passed on the URL (as is the case with a REST request), they will be visible to any and all intermediaries.

Advantages:

  • Easily handled — Authentication should be checked before any other processing, just like a regular page.

  • Easy to code — Programmers who wish to access the API need only add an additional parameter.

  • Easy to track — Configuring your application to track how many calls during a certain time period, and throttle if necessary, should be easy.

Disadvantages:

  • Credentials in the clear — REST APIs will have their credentials sent in the clear whether or not a secure endpoint is used. Nonsecure endpoints will have credentials sent in the clear for both REST and SOAP APIs.

  • No encryption — All requests and responses are visible to anyone between the requesting server and the API server.

Message-based authentication is very similar to HTTP authentication in the level of security it provides, the primary difference being the pass off from handling the authentication from the web server to the API application itself. As with HTTP authentication, the API's authentication should be separate from authentication used elsewhere on the site.

Disclaimer

1) E-articles is not responsible for the information contained by this article as well for any and all copyright infringements by authors and writers. E-articles is a free information resource. If you suspect this article for any copyright infringement, please read the terms of service and contact us to investigate the problem.
2) E-articles is not responsible for inaccuracies, falsehoods, or any other types of misinformation this article may contain and will not be liable for any loss or damage suffered by a user through the user's reliance on the information gained here.

link to this article