Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 7687983
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 31, 20262026-05-31T19:49:20+00:00 2026-05-31T19:49:20+00:00

Most of the websites says username or password is wrong whenever we typed wrong

  • 0

Most of the websites says “username or password is wrong” whenever we typed wrong password.
Why are they not saying “your password is wrong”?

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-31T19:49:21+00:00Added an answer on May 31, 2026 at 7:49 pm

    Just ignore the security issue of saying “Your password is wrong”.
    First we can check whether it is possible to say “Your password is wrong”.

    I posted this question in our college group and I felt one answer from the group is worth positing here.

    A website can say that ‘your password is wrong’ only if the website is
    sure that you typed your username correctly. How do the website know
    that you typed your username correctly? There is no way to know that.

    The authentication failure may occur in three ways:

    1. You may enter correct username but wrong password.
    2. You may enter correct password but wrong username.
    3. You may enter wrong username and password .

    The website process it as given below.

    a. If the username is not in database, the website can’t say that ‘Your username is wrong’. Because the website don’t know whether the password you entered is your correct password.So the website can say ‘Username or password is wrong.’ only.

    b. If the username is in database, the website can’t say that ‘Your password is wrong’.
    Because the website don’t know whether the username you entered is your correct username. So website can say ‘Username or password is wrong.’ only.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I see that most of big websites are returning javascript objects instead of pure
Most of my clients require donation and shopping cart integration into their websites. I
For typical most typical internet facing websites when you login & leave the website
i've seen websites that allow you to say update your profile and when the
in the following website https://make.mad-scientist.net/papers/how-not-to-use-vpath/ the author says: VPATH was designed to find sources,
I have included reset.css which is pretty common for most websites that use, on
What is better for serving static files of most websites (javascripts, css, images, html):
I have a website, and offcourse like most websites it loads faster in Firefox.
We write a most of our websites in PHP and use MySQL database connections
Most websites use - (like Stack Overflow) but most PHP frameworks generate + encoded

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.