close ad
Databridge V2 with MySQLi support IS Now Available!
open ad
View Menu

Technical Support Forums

Free, outstanding support from WebAssist and your colleagues

securing 2 variables when passing a url

Thread began 3/16/2011 5:58 pm by Paul | Last modified 3/17/2011 10:10 am by Paul | 943 views | 3 replies

PaulBeta Tester

securing 2 variables when passing a url

I have created a registration page using Security Assist which generates an email response to the applicants email address.

On receipt, the applicant is prompted to click on a link to verify their email, pretty standard stuff and this works fine.

When the link is followed, the url passes 2 variables; a user ID and a randomly generated 21 digit verification string UID, both values taken from the users submitted registration page.

The url points to a confirmation page which validates the two variable against a sql users record. This too works fine.

So, here is the problem.

I've noticed that if i manually change the id value in the url, say from 1 to 2 whilst on the confirmation page, user 2's detail placed on the page. This happens despite leaving the verification id unchanged.

So i'm asking how this is so when each record is holding a unique 21 character verification string?

Does the recordset not need both queries to validate? It seems perhaps not.

Any ideas on how I can remove this vulnerability?

(By the way, users do not log in to undertake verification, so there is no active session present.)

Build websites with a little help from your friends

Your friends over here at WebAssist! These Dreamweaver extensions will assist you in building unlimited, custom websites.

Build websites from already-built web applications

These out-of-the-box solutions provide you proven, tested applications that can be up and running now.  Build a store, a gallery, or a web-based email solution.

Want your website pre-built and hosted?

Close Windowclose

Rate your experience or provide feedback on this page

Account or customer service questions?
Please user our contact form.

Need technical support?
Please visit support to ask a question





Ease of use


security code refresh image

We do not respond to comments submitted from this page directly, but we do read and analyze any feedback and will use it to help make your experience better in the future.

Close Windowclose

We were unable to retrieve the attached file

Close Windowclose

Attach and remove files

add attachmentAdd attachment
Close Windowclose

Enter the URL you would like to link to in your post

Close Windowclose

This is how you use right click RTF editing

Enable right click RTF editing option allows you to add html markup into your tutorial such as images, bulleted lists, files and more...

-- click to close --

Uploading file...