I've seen this page htaccess only accept traffic from specific http_referer and I think this is the code I need to replicate what I am looking to do ... can anyone please confirm or advise if I'm barking up the right tree ....
RewriteEngine On
RewriteBase /
# allow these referers to passthrough
RewriteCond %{HTTP_REFERER} ^https://*.*paypal*\.com
RewriteRule ^ - [L]
# redirect everything else
RewriteRule ^ http://www.clientsite.com/ [R,L]
Basically I only want users who have successfully completed a PayPal checkout to be able to access the PDF files in the folder.