user2822650
user2822650

Reputation: 1

.htaccess deny all access to a folder except from one html file

I have one mp3 folder that I want to protect. I'm using htaccess file match deny all, but I need access from a audio player in one especific HTML page. Is it possible to create an exception (to the deny all tag) to allow access to one especif file/domain?

Thanks

Upvotes: 0

Views: 589

Answers (1)

subZero
subZero

Reputation: 5176

See Access Denial/Approval by Domain

<Limit GET>
order deny,allow
deny from all
allow from .yourplayerdomain.com
</Limit>

Upvotes: 1

Related Questions