문제

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