I need to make sure a request comes from a user submitting a form on the website rather than an automated POST request.
I could use
- HTTP_REFERRER - but this is not reliable
- hidden input field with random value from session - but what's to stop a spammer from going to my form, getting the value from the hidden field, and pasting it into his "program" as part of his automated request?
Any other options?