Authentication: Checking who someone is before letting them in, usually with a password, an OTP, a fingerprint, or a sign-in through another account such as Google.

Example

When you log in to the company portal with your email and password, and then enter an OTP sent to your phone, the system is authenticating you.

Common Ways to Authenticate

MethodExample
PasswordEmail and password on a login page
OTPA one-time code sent by SMS or email
Multi-factor (MFA)Password plus an OTP or authenticator app
Single sign-on (SSO)"Sign in with Google" or your company's Microsoft account
TokenAn API request carrying a token that proves who is calling

Authentication vs Authorization

Authentication answers "Who are you?" Authorization answers "What are you allowed to do?" You authenticate once when you log in; authorization is checked every time you try to do something, such as delete a record.

A simple way to remember: your office ID card gets you into the building (authentication), but only some cards open the server room (authorization).

What Interns Should Know

  • Never store passwords as plain text; they are stored as hashes.
  • Never put passwords or tokens in code you push to Git. Use configuration or secret stores.
  • In a project, use a framework's built-in authentication instead of writing your own from scratch.
  • Interviewers often ask you to explain how login works in your project, step by step.

Related terms

  • Authorization: what happens after you are authenticated.
  • API: APIs authenticate every request they receive.
  • Backend: where authentication logic usually runs.
  • HTTP: a 401 status code means a request was not authenticated.

Previous term: Artificial Intelligence (AI)  |  Next term: Authorization

Related guides

Frequently asked questions

What is authentication in simple words?

Authentication is checking who someone is, usually through a password, OTP, or sign-in with another account, before letting them use a system.

What is the difference between authentication and authorization?

Authentication checks who you are. Authorization checks what you are allowed to do after you are logged in.

What is multi-factor authentication?

It means using two or more checks, such as a password and an OTP, so that a stolen password alone is not enough to log in.

How should passwords be stored?

As salted hashes, never as plain text, so that even the database owner can't read them.

Explore more internship terms

The IT Internship Glossary explains 199 terms you will hear before and during your internship, with simple definitions and real examples.

Browse all 199 terms
Dhaivat Ajwaliya

About the author

Dhaivat Ajwaliya

Dhaivat has 16+ years of experience in the IT industry, working on AI and cloud technologies, project delivery, and engineering leadership. He has interviewed and mentored many interns, wrote The Lost Intern, and runs the non-commercial Career Impact Initiative, mentoring students for free.