Skip to main content

Posts

SameSite cookies explained

samesite-cookies SameSite cookies explained Learn how to mark your cookies for first-party and third-party usage with the SameSite attribute. You can enhance your site's security by using SameSite's Lax and Strict values to improve protection against CSRF attacks. Specifying the new None attribute allows you to explicitly mark your cookies for cross-site usage. 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 contr...

NPM Packages For Your App

40-npm-packages 40 Useful NPM Packages for Node.js Apps in 2021 Overview of popular NPM packages for Node.js backend development. Do you know them all? Our Blog January 20, 2021 • 12 min read Long ago, software engineers realized they could significantly speed up the development process by eliminating the need to write repetitive code in every application over and over again. Node.js applications benefit from more than a million open-source packages available in the NPM package registry. Most popular packages get well over 10 million weekly downloads and are at the foundation of many applications, from small pet projects to well-known tech startups. Today, 97 percent of code in modern web applications comes from npm modules. We’ll briefly cover the popular ones that will save you from reinventing the wheel. Web Frameworks expre clas...