Posts

Showing posts with the label SameSite Cookie

SameSite cookies working explained

Image
Secure your site by learning how to explicitly mark your cross-site cookies. Cookies are one of the methods available for adding persistent state to web sites. Over the years their capabilities have grown and evolved, but left the platform with some problematic legacy issues. To address this, browsers (including Chrome, Firefox, and Edge) are changing their behavior to enforce more privacy-preserving defaults. Each cookie is a  key=value  pair along with a number of attributes that control when and where that cookie is used. You've probably already used these attributes to set things like expiration dates or indicating the cookie should only be sent over HTTPS. Servers set cookies by sending the aptly-named  Set-Cookie  header in their response. For all the detail you can dive into  RFC6265bis , but for now here's a quick refresher. Say you have a blog where you want to display a "What's new" promo to your users. Users can dismiss the promo and then they won't...

Popular posts from this blog

How to Secure Session Management in Node

Angular 9 - User Registration and Login Example & Tutorial

How to download a file using command prompt (cmd) Windows?