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 8528009
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 11, 20262026-06-11T08:42:25+00:00 2026-06-11T08:42:25+00:00

I am developing a PHP application which has user accounts, I have followed best

  • 0

I am developing a PHP application which has user accounts, I have followed best practices for security (so have done my part) – but this will obviouslly not stop accounts from being hacked.

This is just me forward thinking, but see the following scenario:

Let’s say a user was silly enough to get there account hacked by
writing down there password (which someone found – the ‘hacker‘…).

Due to the hacker getting the password, the hacker logs in and changes
it and also changes the email.

Now the user finds out (due to them not being able to log in nor
recover/reset their pass)…

The user then decides to report this to staff (as they want to regain control of the account).

How would I (a member of staff) be able to indentify the person who is reporting is the actual user, so I can help him/her?

Anyone can just give a username (and maybe email – if they know the person)…

I had an idea on maybe; a memorable word which is required to be given upon registeration (and can not be changed)…to help indentify the user.

There must be other sites which have similar procedures/functionality in place…

Your thoughts? and any example code would be nice!

PS: This is not a high security financial site, more of a social network for gamers.

  • 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-06-11T08:42:26+00:00Added an answer on June 11, 2026 at 8:42 am

    I personally would not allow the primary email of the account to be changed. Thus the exploited user could just do a typical, email-based password reset.

    If you absolutely need to allow an email address to be changed, require the logged in user to generate an email change password that is sent to the original address, and only upon clicking the link from the original address, would they be able to be taken to a form to change their email address, which again would need to be validated by sending an email to the new address. Only upon successful clicking of the link at teh new address would the email change be committed.

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

Sidebar

Related Questions

I am developing a PHP/MySQL application which entails processing of CSV files but the
I'm developing a PHP-based web-application in which you have a form with textarea inputs
I'm developing a PHP application which uses Twig (but that's unimportant) as the view
I am developing an PHP/Mysql application whereby if the user enter a certain value,
I am in the middle of developing a PHP social media web application which
As part of a university project I'm developing a web application in PHP and
I am developing a php application which my customers will download and install on
I have began developing a website which has facebook integration and it seems to
I'm developing a PHP framework; it started off as application-specific, however it has moved
I am developing a PHP application which needs a regular expression to replace the

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.