"Missing secure attribute in cookie with encrypted session (SSL)"

In my web application, only the login page has SSL. As a result of the security check, I received the following error: "Missing Secure Attribute in Encrypted Session (SSL) Cookie" . My question is: how to add a security attribute for login.aspx page only.

+4
source share
1 answer

You cannot: if you did this as soon as the user left the SSL login page, their cookie will disappear and they will no longer be registered. If you must have a hybrid site with partially SSL, you will have to give a warning.

The real security issue is that you have a partially SSL site; A cookie warning is just a symptom of this. It is usually best to serve everything over SSL.

+3
source

Source: https://habr.com/ru/post/1500867/


All Articles