I want to make sure that only users who have come from anotherdomain.com/test.php
can access mydomain.com/validate.php
.Ofcourse i can use $_SERVER['HTTP_REFERER']
but the referer can be easily forged .
What other verification i can put in place to make this reliable
I control both anotherdomain.com
and mydomain.com