質問

I would like to configure my grails project in such a way that the session cookie is set with the httpOnly flag.

As I do understand, this is a configuration in the web.xml or context.xml file. But how do I set it in my grails project?

役に立ちましたか?

解決

It seems there are a few ways to do it according to this blog post (author of The Definitive Guide to Grails commented on that post). But it looks like there isn't any straightforward way to do it.

ライセンス: CC-BY-SA帰属
所属していません StackOverflow
scroll top