Jump to content

Need advice with anonymous data retrieval


adrianle
Go to solution Solved by scootstah,

Recommended Posts

My client wants me to create a process, where he can click to send an email to someone, and embedded in that HTML email will be a link that when clicked, will take the user to a "details" page showing their unique information.  We don't want the UniqueID to be visible in the link, as the user might decide to type a different ID into that URL and see someone else's details.  

 

So.. how do we link (from an email or other outside source) to a dynamically populated page, without showing the unique ID? Thx

Link to comment
Share on other sites

  • Solution

You can't.

 

Make the unique ID long and generate it with a cryptographically secure random method, and you're good to go.

 

You can do things like deactivate the token once the person views it, or require they also type in their email address when they visit the page. This will significantly reduce the chances of someone guessing a token. But, if you use a long token, the chances of someone guessing it correctly are astoundingly small anyway.

  • Like 2
Link to comment
Share on other sites

This thread is more than a year old. Please don't revive it unless you have something important to add.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.