c# - Does HttpCookie.HttpOnly property allow connection over https? -


when set cookie httponly property true, server restrict cookie on https, or allow connection on both http , https ?

it allows both. httponly determines whether or not cookie can accessed through client-side script. has nothing ssl. msdn:

setting httponly property true not prevent attacker access network channel accessing cookie directly. consider using secure sockets layer (ssl) protect against this.

you can use requiressl="true" entry in web.config secure authentication cookies. can use secure property secure individual cookie.


Comments

Popular posts from this blog

Android layout hidden on keyboard show -

google app engine - 403 Forbidden POST - Flask WTForms -

c - Why would PK11_GenerateRandom() return an error -8023? -