Hi, Everybody;

i could not find where i have to ask that, so i write here my question. so sorry for this.

and sorry for my poor english, i will try to write best.

i want to do at my domain only registered users will download files(only doc, pdf and xls, xlsx files). I think i can do it with .htaccess file using like this:

SetEnvIf Referer "^$" local_referal
<Directory /files/onlyregistered>
Order Deny,Allow
Deny from all
Allow from env=local_referal
</Directory>

i tried to find it but i could not find how to do.

I Will Wait Your Helps, I will give u chocolate