406
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


  

2017-07-15 18-41-36
Sachin Mahawar
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

2024-02-28 10-24-56
Torben Mitschke

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

2024-01-23 10-16-31
Munjal Subodh

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

2020-09-15 13-07-23
Kilian Hekhuis
 
MVP
2017-07-15 18-41-36
Sachin Mahawar

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

2025-04-22 05-54-18
Shashi Kant Shukla

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

2017-07-15 18-41-36
Sachin Mahawar
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

2024-02-28 10-24-56
Torben Mitschke

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

2024-01-23 10-16-31
Munjal Subodh

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

2020-09-15 13-07-23
Kilian Hekhuis
 
MVP
Community GuidelinesBe kind and respectful, give credit to the original source of content, and search for duplicates before posting.