close ad
WARNING: Do Not Install the DREAMWEAVER CC 2017 or 2018 Update »
open ad
View Menu

Technical Support Forums

Free, outstanding support from WebAssist and your colleagues

Showing id in url is a risk for me and my members

Thread began 2/08/2011 2:45 pm by Paul | Last modified 3/20/2015 2:10 pm by Paul | 2091 views | 12 replies

PaulBeta Tester

Showing id in url is a risk for me and my members

Hi,

I have used the SA wizard to create users login accounts.
I've also used the DA wizard to build a members log where logged in members can create, post and edit logs.

Returning members login and are redirected to a dashboard which is populated with only their logs and account details.

Each log shown has its own edit button so the member can select it and the id is passed to the update.php where they can edit and save.

And so my problem...

Unfortunately, members could change the record id in the url and potentially access other members logs, thus; ../update.php?id=1 or 2 or 3 or 3 etc.. and edit the detail.

How can I prevent members from doing this?

Advice welcome.
Thanks, Paul.

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