HTTP: Submit Security Glmar Pupo (contact me)
This class can be used to check whether a page is access to from a trusted site.
It can check whether the referrer URL is a of a site from a trusted sites list. It can also check whether the access method is POST or GET, according what is expected.
The class displays a error message if any of the access checks fail.