Using .htaccess to hide your models


Fugured out how to use a .htaccess file to hide the models.
The htaccess will allow hf interface to access the files.
Replace the 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 hf

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


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


thanks for the alternative :slight_smile: