Enable security features
This page documents an earlier version of InfluxDB. InfluxDB v2.6 is the latest stable version. View this page in the v2.6 documentation.
InfluxDB 2.5 provides optional security features that ensure your InfluxDB instance is secure in whatever environment it’s used in.
To enable all additional security features, use the
hardening-enabled configuration option
when starting InfluxDB.
Private IP Validation
Some Flux functions (
template fetching and
can require InfluxDB to make HTTP requests over the network.
With private IP validation enabled, InfluxDB first verifies that the IP address of the URL is not a private IP address.
IP addresses are considered private if they fall into one of the following categories:
- IPv4 loopback (
- RFC1918 (
- RFC3927 (
- IPv6 loopback (
- IPv6 link-local (
- IPv6 unique local (
Private IP considerations
If your environment requires that these authenticated HTTP requests be made to private IP addresses,
omit the use of
consider instead setting up egress firewalling to limit which hosts InfluxDB is allowed to connect.
Was this page helpful?
Thank you for your feedback!
Support and feedback
Thank you for being part of our community! We welcome and encourage your feedback and bug reports for InfluxDB and this documentation. To find support, use the following resources:
InfluxDB Cloud and InfluxDB Enterprise customers can contact InfluxData Support.