close ad
 
Important WebAssist Announcement
open ad
View Menu

Technical Support Forums

Free, outstanding support from WebAssist and your colleagues

rating

How to secure pages from hackers?

Thread began 5/31/2011 3:55 am by mikelally319342 | Last modified 5/31/2011 12:43 pm by Jason Byrnes | 1155 views | 3 replies |

mikelally319342

How to secure pages from hackers?

I’ve created a site from an adobe.com tutorial. The site is a subscription site where the visitor subscribes -> get confirmation on screen about an email -> is sent an e-mail giving him the option to unsubscribe ->by clicking on the link in the e-mail, he is brought to the unsubscribe page called ‘confirm_unsubscribe.php’ where he can unsubscribe..
The last page is not secure because the url contains the ID of the subscriber. Any hacker could change the user name and wreck havoc on the database.
I’ve looked at Security Assist – Access Page Manager, to try and secure this security issue, but I haven’t a clue where to start. I have attached a zip file in case you need to see the files.

Attached Files
Adobe subscribeWith Email.zip
Sign in to reply to this post

Jason ByrnesWebAssist

there isn't really anything here that you can use security assist for.

the normal method for doing this is called "Double Opt In"

the idea is that when the user signs up, you store the users email address in the database and a random string, this random string is generated when the user record is created, at the same time the UserID is created.

the random string will be unique to each user.

the confirm and unsubscribe links will pass both the UserID and the random string, the recordset on the unsubscribe page will lookup the users account passed on both of these variables to prevent a hacker from guessing at ID's and unsubscribing eerybody.

Sign in to reply to this post

mikelally319342

Okay - thanks for that information!

Sign in to reply to this post

Jason ByrnesWebAssist

you're welcome.

Sign in to reply to this post

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

Content

rating

Layout

rating

Ease of use

rating

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...