Click here to Skip to main content
15,920,687 members
Please Sign up or sign in to vote.
1.00/5 (1 vote)
See more:
Dear All,
This is question of web developement.
In FireFox there is an add-on like "tamper data".
Using this one can manipulate the post data of the form in asp.net
How can we prevent this?
any suggessions..? any idea...?

Regards,
rajshree
Posted
Comments
Sinisa Hajnal 1-Oct-14 7:05am    
You can't. What you can is validate receiving data so that nothing bad can happen. This is always good practice - never trust user input.
rajshreelande 2-Oct-14 0:43am    
how to validate receving data..can you please expore what exactly have to be done.

for example...if you have one textbox and consisting of xyz in it ..and click on save button start tamper data in firefox change the texbox data to abc then click on submit..after submit it can save the data to the database..so how to validate this tamper data.

1 solution

 
Share this answer
 
Comments
rajshreelande 2-Oct-14 0:44am    
how to validate receving data..can you please expore what exactly have to be done.

for example...if you have one textbox and consisting of xyz in it ..and click on save button start tamper data in firefox change the texbox data to abc then click on submit..after submit it can save the data to the database..so how to validate this tamper data.
I am asking to check the format of the data. Suppose you have a Phone Number field. Then you can validate the data in client side. You should not allow any special characters. Again you have to check the field's data in server side code before uploading it to the database.

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900