Champion
251
Views
8
Comments
Solved
Need to set SameSite cookie attribute to strict/lax for all cookies generated 
Question

Hi Community,

I want to set the SameSite cookie attribute to strict/lax for all the generated cookies at the module level. I tried to figure out by doing it from factory configuration, but I am not sure if it is possible or I am not aware of the exact process. If anybody has done it already can please guide me. 

Thanks,

Sachin


  

Solution

Hi Shashikant, 

We managed to fix this on load balancer by setting up rule to set SameSite cookies attribute. you can also implement it on server level in case your application is hosted on in-premise servers by setting up outbound rule at IIS.

https://devnet.kentico.com/articles/setting-the-samesite-header-for-kentico-cookies

Thanks,

Sachin

Hello there,

I am wondering if there is a solution for cloud customers as I understand the proposed solution only applies to on-premise customers.

We need to find a way of setting SameSite Cookies attribute to Strict  or Lax through any generic solution as well but being cloud customers.


Appreciate any helps. Thanks in advance!

Torben

I am also looking for a solution to this being a cloud customer. Any solutions to this? Thanks.

Hi Jitendra, 

Thank you for your reply, I have already gone through all these posts before posting it on the community forum.

What I only want is to find the way of setting SameSite Cookies attribute to Strict though any generic solution may be using factory configuration.

Thanks,

Sachin

Hi Sachin,

I also need to do the same, If you already done the same, can you please provide the steps to me.


Regards

Shashikant Shukla

Solution

Hi Shashikant, 

We managed to fix this on load balancer by setting up rule to set SameSite cookies attribute. you can also implement it on server level in case your application is hosted on in-premise servers by setting up outbound rule at IIS.

https://devnet.kentico.com/articles/setting-the-samesite-header-for-kentico-cookies

Thanks,

Sachin

Hello there,

I am wondering if there is a solution for cloud customers as I understand the proposed solution only applies to on-premise customers.

We need to find a way of setting SameSite Cookies attribute to Strict  or Lax through any generic solution as well but being cloud customers.


Appreciate any helps. Thanks in advance!

Torben

I am also looking for a solution to this being a cloud customer. Any solutions to this? Thanks.

Community GuidelinesBe kind and respectful, give credit to the original source of content, and search for duplicates before posting.