Skip to content

Is it safe to expose keto "read"/"public" port? #1424

Answered by vinckr
nmapx asked this question in Q&A
Discussion options

You must be logged in to vote

Hello @nmapx
While Ory Keto implements all Go best practices around running public-facing production HTTP servers, it is generally discouraged to have Ory Keto facing the public net directly. Even though it's behind a firewall, gateway, and proxy, it's recommended to run Ory Keto behind an API gateway or a load balancer for additional security.
Specifically, it's a good practice not to expose the Write API at all to the public internet. The Read API should also be protected as depending on your use case, it can reveal sensitive information (for example, who has permission to do something).

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by nmapx
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants