Using .htaccess to hide your models


#1

Fugured out how to use a .htaccess file to hide the models.
The htaccess will allow hf interface to access the files.
Replace the 00.00.00.000 with your own ip so you can access the models yourself in the viewer for easy copy pasting the url’s

It should prevent bots from indexing as well as hotlinking and easy grabbing.

It does not protect your models from being copybotted or potetially be downloaded anyway by somebody bypassing the htaccess file.

SetEnvIfNoCase User-Agent “^HighFidelityInterface” hf
SetEnvIfNoCase Remote_Addr 00.00.00.000 hf

Order Deny,Allow
Deny from all
Allow from env=hf


#2

Hiya @MarcelEdward

I had some folks tell me yours was not working for them so I wrote this as an alternative, you can see the difference is how it handles the HighFidelityInterface string

SetEnvIfNoCase User-Agent .*HighFidelityInterface.* hifi

Order Deny,Allow
Deny from All
Allow from env=hifi

#3

thanks for the alternative :slight_smile: