可以将对 Heroku Postgres 的访问限制在 IP 白名单中吗?
Can access to Heroku Postgres be restricted to an IP whitelist?
(这是 Can access to a heroku postgresql DB be restricted to it's heroku app ONLY? 中所问内容的更具体版本)。
我们在日志中看到很多以下内容:
sql_error_code = 28000 FATAL: no pg_hba.conf entry for host "<ip>", user "postgres", database "postgres", SSL off
根据 Heroku documentation 的说法,这是一次通过 public 互联网进行的偷懒尝试。
在 Heroku 中是否可以通过身份验证在访问控制之上限制对 IP 白名单的访问?我们几乎不需要直接访问我们的数据库,并且在需要时通过静态代理也可以。
是的,可以通过 IP 范围或 IP 列表限制访问。
显然此功能处于测试阶段,您必须向 Heroku 操作员发送电子邮件。
https://devcenter.heroku.com/articles/private-spaces#trusted-ip-ranges-for-data-services
(这是 Can access to a heroku postgresql DB be restricted to it's heroku app ONLY? 中所问内容的更具体版本)。
我们在日志中看到很多以下内容:
sql_error_code = 28000 FATAL: no pg_hba.conf entry for host "<ip>", user "postgres", database "postgres", SSL off
根据 Heroku documentation 的说法,这是一次通过 public 互联网进行的偷懒尝试。
在 Heroku 中是否可以通过身份验证在访问控制之上限制对 IP 白名单的访问?我们几乎不需要直接访问我们的数据库,并且在需要时通过静态代理也可以。
是的,可以通过 IP 范围或 IP 列表限制访问。 显然此功能处于测试阶段,您必须向 Heroku 操作员发送电子邮件。
https://devcenter.heroku.com/articles/private-spaces#trusted-ip-ranges-for-data-services