Consistency, Coupling, and Complexity at the Edge
Successful use of a microservices architecture requires maintaining a clear separation of concerns in the various layers and by employing design principles best suited to each layer.
Stay updated with breaking news from Same Origin Policy. Get real-time updates on events, politics, business, and more. Visit us for reliable news and exclusive interviews.
Successful use of a microservices architecture requires maintaining a clear separation of concerns in the various layers and by employing design principles best suited to each layer.
Let’s say a page author has chosen to embed a variable-device-pixel-ratio responsive image, using srcset. Like this: No matter which resource the browser selects, the density-corrected intrinsic size of the will always be the same: 300x200. Here’s the equivalent client hints markup: Let’s say a request for this src goes out from a 2.6x device, with the following hint: Sec-CH-DPR: 2.6 ...but the server only has 1x, 2x, and 3x versions readily available. Reasonably, it responds with the 2x version, which includes the following EXIF headers, to ensure that the browser assigns the image...
CSRF, CORS, and HTTP Security headers Demystified mybank.com/transfer-funds. Since you are logged in to mybank.com, this request is made with your mybank.com cookies and will silently initiate a money transfer out of your account. Since ' mybank.com' are different origins, the browser refuses to provide the response to evil.com (because of CORS), but the attacker doesn't care, the money's already been transferred. Now if Each time mybank.com serves a form to a user, it generates a CSRF token and inserts it into a hidden field in the form If a POST request is received,...
CSP & Magecart Web Skimmers: Facts and Fiction With e-commerce displaying no signs of slowing down since the start of the COVID-19 pandemic, the Magecart cyber-criminal syndicate is thriving. By evolving their web skimmers to become harder to detect and avoid, they have been successful in breaching several high-profile businesses. After years of discovery and research by the cybersecurity industry, we are at a stage now where companies have started looking for effective protection against this serious threat. Typically, when security teams understand how web skimming attacks operate and how t...
bugs.xdavidhu.me (and more) 2019, October 11, 00:16: I finish the cold frozen pizza that I made hours before but forgot to eat, finally write the report, press submit on the Google security bug submission form, and see the classic, Thanks! We received your report. message. That feeling is hard to beat. I just submitted a bug, using which, I could simply send a link to someone, and when they click on it and visit my website, I could steal their YouTube watch history, the links to watch all of their unlisted videos, their Watch Later playlist, the list of videos they’ve liked, and more. ...