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 6059133
In Process

The Archive Base Latest Questions

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

I have list of rows that I have fetched using mysql_fetch_array() . Now I

  • 0

I have list of rows that I have fetched using mysql_fetch_array(). Now I have created hyperlink of these values but problem is I don’t want to send id through hyperlink. That is if item onl ist is clicked it navigate to view.php but values are send through hidden variable.

Is there any way to do so? If not how can I send values through addressbar such that values are not edited by viewer? that is id is not edited by user…

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

    Basically you want to either a.) obfuscate the ids or b.) restrict the ids a user can view.

    For achieving the former, you could generate a random hash for each entry in the database that is much longer than the id and very hard to guess (hash('sha512', time() + $row['id'])). You can than use these unique hashes instead of the ids in your links.

    The other approach depends highly on your application: you can keep track of the ids that you provided to the user in your session and deny the page request (send an HTTP 403 response) if the id was not in his list. An attacker might call other pages first, though (if this is possible in your application), to fill this link list in his session.

    Either way, you are not guaranteed to succeed, but you can make the attack much harder.

    The only method of achieving your goal for sure is to force your users to log in and decide who can see which object per user (again, if this is possible in your application).

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

Sidebar

Related Questions

i have list of rows that user select and i want to delete them,
I want to split my list into rows that have all the same number
The problem is: On postback, the table does not have the rows that were
I have a table that displays rows based on a drop down list option.
I currently have a list view which has several rows of data and I
I have a Html Table which consists of rows that were generated dynamically (from
I have a problem in searching solr using solrnet client.. problem is when query
I have two tables with identical fields that share many rows. I'd like to
I have a ListView that contains a large collection of rows with textboxes that
I have a script that appends some rows to a table. One of the

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.