content/influxdb/v2/admin/security/enable-hardening.md
InfluxDB {{< current-version >}} 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.
Some Flux functions (to(),
from(), http.post(), etc.),
template fetching and
notification endpoints
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:
127.0.0.0/8)10.0.0.0/8, 172.16.0.0/12, 192.168.0.0/16)169.254.0.0/16)::1/128)fe80::/10)fc00::/7){{% note %}}
If your environment requires that these authenticated HTTP requests be made to private IP addresses,
omit the use of --hardening-enabled and
consider instead setting up egress firewalling to limit which hosts InfluxDB is allowed to connect.
{{% /note %}}