Skip to content

Make Selenium Easy

And Keep It That Way

  • Home
  • Share
  • Toggle search form

Authentication vs Authorization – Who vs Who+What

Posted on 03/21/2025 By admin

The first job after completing education is always special. I joined a Software company and on the first day itself, I got an ID CARD where my name, employee Ids were mentioned. HR said that you are now authenticated to enter company premises now. By wearing that ID card I was able to enter the company premises which was a multistory building.

I liked the building and was visiting floor to floor. I tried swiping my card to unlock the gate on some random floors but access was denied. The security guard said that you are not authorized to enter this floor as you belong to some other team. A pretty exciting day that was.

Let’s come to the topic now – Authentication vs Authorization. One second! Did I just give a real-time example above?

The very first thing you should understand that both are not the same and both are not related to the word “access“.

Authentication is to prove identity and Authorization is related to access to resources.

In the above example, an ID card given by the company (Not any ID card is valid) is an example of Authentication i.e. identity, or to prove that I am an employee of the company.

I was not allowed or authorized or given access to enter all the floors. I am an authenticated employee but not authorized to access all floors.

You might hear of the term IAM ( Identity and Access management) used by Amazon AWS or Google Cloud etc. Identity is Authentication and Access is authorization.

Please note hear that If you are not authenticated then you do not reach the level of authorization. If I am not an employee of a company I will not able to enter the company premises only. There is no meaning in talking about access on floors.

Let’s understand Authentication and Authorization on a real application. We generally submit timesheets through an application. An employee will log in to the timesheets application using their credentials to submit hours. They will not have any access to approve the timesheets of other employees. But if a manager logs in they will see the option to approve timesheets of their team members. An Employee and manager both are authenticated to access the timesheets application but authorized for similar actions.

You can subscribe to my YouTube channel RetargetCommon to learn from video tutorials.

If you have any doubt, feel free to comment below.If you like my posts, please like, comment, share and subscribe.#ThanksForReading

#HappyLearning

Uncategorized

Post navigation

Previous Post: CSS Selector In Selenium Webdriver: Points You Must Know
Next Post: Frequently Asked Java Program 29: Java Program to Remove Duplicate Characters From Word Without Using Collection Concept

Related Posts

REST Assured Tutorial 6 – Interface in OOPS – Implement As You Wish Uncategorized
TestNG Tutorials 42: Parameters In TestNG or Parameterization of Methods in a TestNG Class | Make Selenium Easy Uncategorized
August 31, 2018 – Make Selenium Easy Uncategorized
#1. OAuth 2.0 Flow – How Does It Work? Uncategorized
Postman Tutorial Part 7 – Difference Between ‘Accept’ and ‘Content-Type’ HTTP Headers Uncategorized
Selenium Topics – Page 11 – Make Selenium Easy Uncategorized

Recent Posts

  • Getting Started with Selenium 4: What Is New and How to Upgrade from Selenium 3
  • Manual Testing
  • Baby Steps To Become Efficient Selenium-Java Automation Tester
  • Features of Selenium 4.0.0 Release – Java Binding
  • Part 1: Handling Drop-down Created Using SELECT Tag In Selenium

Recent Comments

No comments to show.

Archives

  • April 2026
  • April 2025
  • March 2025
  • February 2025
  • January 2025
  • December 2024
  • November 2024
  • October 2024
  • September 2024
  • August 2024
  • April 2024
  • March 2024
  • February 2024
  • December 2023
  • October 2023
  • August 2023
  • November 2022
  • September 2022
  • August 2022
  • July 2022
  • May 2022
  • March 2022
  • October 2021
  • April 2021
  • March 2021
  • January 2021
  • December 2020
  • October 2020
  • September 2020
  • August 2020
  • June 2020
  • May 2020
  • April 2020
  • March 2020
  • February 2020
  • January 2020
  • December 2019
  • November 2019
  • October 2019
  • September 2019
  • August 2019
  • May 2019
  • December 2018
  • November 2018
  • October 2018
  • September 2018
  • August 2018
  • July 2018
  • January 2018

Categories

  • Getting Started
  • Uncategorized

Copyright © 2026 Make Selenium Easy.

Powered by PressBook Masonry Dark