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

  • Home
  • SEARCH
  • 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 6056367
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 23, 20262026-05-23T08:22:07+00:00 2026-05-23T08:22:07+00:00

Ive been asking around for some feedback on my website and one comment I

  • 0

Ive been asking around for some feedback on my website and one comment I received was the following

“I signed up with email@email.com and managed to active my account with http://www.mysite.co.uk/activateuser.php?email=email@email.com

You need checksums to stop it.”

Can anybody elaborate on this and how I can implement them into my activation?


In theory, If I was to create a row named “rand_key” in my DB and when a user registers a random key is stored in the column, could I then use this as the activation as opposed to the email? thus making it un guessable?

  • 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-23T08:22:07+00:00Added an answer on May 23, 2026 at 8:22 am

    You need to create a unique user key, which shouldn’t be related to user data. Usually you could do something like hashing the output of a random generator function in order to make it unique and use that. Then you point them to the link:

    http://www.mysite.co.uk/activateuser.php?userid=generated-unique-hashed-key

    This unique user key should be added as an extra field to the table where you store your user info, or related to the user in some other way. By keeping the key unrelated to user data you make sure nobody can discover a user’s key and maliciously activate/do another action instead of your user.

    Then you should test the user key on arrival for some conditions:

    • not authorized yet – authorize
    • authorized already – some error
    • wrong key – some error

    Also, there should be an expiration date associated with your user, upon which you just deactivate the user along with his key.

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

Sidebar

Related Questions

I've been looking/asking around and can't seem to figure this one out. I have
I've been playing around with JQueryUI for my latest project. I've run into some
I've been playing around with Expression Trees. I have the following simple method that
I'm asking because PowerShell confuses me. I've been trying to write some deployment scripts
I've been roaming around these forums asking questions about issues related to Python and
I've been asking a question or two over the past few days of working
I feel stupid asking this question, but I've been wrestling with it for hours
(I'm also asking this on the OpenRasta google group) Hey all, I've been using
I'm not sure whether I'm asking the question correctly, but I've been told SQL
Apologies for asking what's probably a very obvious question, I've been banging my head

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.