I'm tasked with securing Kentico 11 site (11.0.47). Specifically, I must set secured flag for the .ASPXFORMSAUTH cookie.
Reading the documentation, I've modified web.config:
<forms loginUrl="CMSPages/logon.aspx"
defaultUrl="Default.aspx"
name=".ASPXFORMSAUTH"
timeout="60000"
slidingExpiration="true"
requireSSL="true" />
I also added:
<system.Web>
<httpCookies httpOnlyCookies="true" requireSSL="true">
</system.Web>
without luck. I also tried adding lockItem="true" attribute to httpCookies element, but that broke Kentico Admin app. Some of the cookies get secured, but .ASPXFORMSAUTH doesn't.