Replies: 5 comments 3 replies
-
I took a look at HomeAssistant repo and they don't have one either, this seems like a non-concern to me personally especially since I believe in most cases users are:
Seems like something that users who prefer it can add if they'd like, either inside Frigate or at their own hosting level |
Beta Was this translation helpful? Give feedback.
-
Yes, I'm specifically addressing the third scenario. Adding a robots.txt is merely a defensive security measure, and it won't cause any negative side effects. |
Beta Was this translation helpful? Give feedback.
-
robots.txt is just fundamentally a polite request to web crawlers and search engines, not a security mechanism. It has no enforcement capability - malicious actors can completely ignore it. It's also publicly accessible, potentially revealing directory structure or endpoints that one might try to hide, and relies on voluntary compliance from web crawlers. I don't see a need to implement it, especially if Home Assistant doesn't even do so. |
Beta Was this translation helpful? Give feedback.
-
Beta Was this translation helpful? Give feedback.
-
I'm fine with adding this, but I will continue to caution this should never be considered a security measure for protecting a user's Frigate instance. The robots.txt file is simply a polite request that malicious actors will completely ignore, and since it's publicly accessible, it may actually reveal that you're running a Frigate instance. It provides zero protection against unauthorized access attempts, brute force attacks, or API exploitation. Real security requires strong authentication, HTTPS/TLS encryption, network-level protection through VPN or firewall rules, regular security updates, and proper reverse proxy configuration with additional authentication layers. While the robots.txt file serves a legitimate privacy purpose by keeping a Frigate instance out of search results, we can't let it create a false sense of security. If a user's Frigate instance is exposed to the internet, they must implement proper security controls beyond just asking crawlers to stay away. |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
Given that Frigate is primarily used in home environments where privacy is a significant concern, should we consider adding a robots.txt file through nginx to prevent search engines from indexing the content? While this may not completely eliminate privacy risks, it should at least help avoid having the content indexed.
Beta Was this translation helpful? Give feedback.
All reactions