Post command

Namesniper

Verified User
Joined
Jan 5, 2007
Messages
89
Hello,

Can anyone please tell me how can i forbid POST to be sent from outside website and allow it to be sent from the website of origin like if you are on domain.com POST command must be allowed only if you are sending it from taht domain/referer ?
 
- the easiet solution would be to use SESSION.

- You might have seen websites where they ask you to enter some TEXT in the IMAGE? This uses the sessions again

- Do some search on google for Referrer Based Restrictions using htaccess
 
Rohit is writing about using sessions to control rights in a php script.

I'm not an expert in html/php, but I don't know of any other way to catch this sort of problem.

Jeff
 
Session..means that i should add that code to every php scritp which process post command right ?
I was hoping that there is a server wide solution like .htaccess instructions
 
Back
Top