I looked throught my code and saw, that anyone who understands html and javascript can simply add stuff to my website using same form information as mine. How to prevent it? By the way, I am using jQuery, so form submitted without reloading or redirecting page. What should I add to target page, to allow submitting only from my website?
1 Replies - 131 Views - Last Post: 01 February 2013 - 07:08 AM
#1
[Question] How to prevent submitting form from other websites?
Posted 01 February 2013 - 04:17 AM
Replies To: [Question] How to prevent submitting form from other websites?
#2
Re: [Question] How to prevent submitting form from other websites?
Posted 01 February 2013 - 07:08 AM
You can't. This is one reason you can never trust the user. Always assume they're up to no good — always validate inputs and use prepared statements when dealing with databases.
Page 1 of 1
|
|

New Topic/Question
Reply



MultiQuote




|