<@U04UQ68083H> what does the serve.cookies.secure ...
# ory-copilot
s
@chilly-king-10285 what does the serve.cookies.secure flag control?
c
A message from kapa.ai
The
serve.cookies.secure
flag is not directly mentioned in the provided knowledge sources. However, the
secure
flag in the context of HTTP cookies is discussed. This flag controls whether the cookie is only sent over HTTPS connections. When the
secure
flag is set, it helps to protect against man-in-the-middle attacks by ensuring that the cookie is only transmitted over secure, encrypted connections. For more specific details about the
serve.cookies.secure
flag in Ory, you may need to refer to the Ory documentation or source code directly. Reference: [Ory Cookie-based security model](https://www.ory.sh/docs/security-model#http-cookies)