Jump to content

Recommended Posts

How to send sensitive info from one page to another using hidden form field without the field getting displayed in the HTML viewsource?Is it possible? I know we can encrypt the value but i also dont want the field name to be visible?

eg.,

<form name="frm" action="1.php">

<input type="hidden" name="user_id" value="100">

<input type="text" name="product" >

<input type="text" name="qty" >

<input type="submit" name="Submit" >

</form>

The user_id hidden should not be visible even if a view the HTML Source

This val is used to link 2 websites.After you login to 1site, important info are passed from  the 1st site to the 2nd.Only if these info are present the 2nd site gives access to all the pages. otherwise the session controlled pages will be missing

What I have done before in a nutshell:

Both databases (on each server) have a simple salt table with id and value and the tables are identical.

Before you send data from one site to the other, encrypt it with a randomly selected salt.  Send the id of the salt along with the encrypted data and decrypt it on the other end by retrieving the salt value.

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.