<@U04UQ68083H> What does the setting disallow_priv...
# ory-copilot
s
@chilly-king-10285 What does the setting disallow_private_ip_ranges control?
c
A message from kapa.ai
The setting
disallow_private_ip_ranges
is a configuration option for HTTP clients in both Ory Hydra and Ory Kratos. When this setting is enabled (set to
true
), all outgoing HTTP calls made by Ory Hydra or Ory Kratos are checked to see if they're against a private IP range. If they are, the request will fail with an error. This can be useful in scenarios where you want to disallow HTTP calls to private IP ranges for security reasons. Here is how you can set this configuration:
Copy code
yaml clients:     http:       disallow_private_ip_ranges: true
Sources: - [Ory Hydra Documentation](https://www.ory.sh/docs/hydra/self-hosted/production) - [Ory Kratos Documentation](https://www.ory.sh/docs/kratos/guides/production)