Only allow a specific link to access a private page

Hi, wondering this can be done in .htaccess. It only allow a specific link e.g. example.com/abc.html to a access a private page, domain.com/xyz.html. Meaning that no direct access to domain.com/xyz.html, to view the page the user must click example.com/abc.html

p1,

Yes, but the %{HTTP_REFERER} variable is notoriously unreliable and is no guarantee of the link-from page.

Regards,

DK

Hi Dklynn, can you recommend a more reliable way to achieve the same result.