Skip to Main Content
Third-Party JavaScript
book

Third-Party JavaScript

by Anton Kovalyov, Ben Vinegar
March 2013
Intermediate to advanced content levelIntermediate to advanced
288 pages
9h 44m
English
Manning Publications
Content preview from Third-Party JavaScript

Chapter 6. Authentication and sessions

This chapter covers

  • Introduction to third-party cookies
  • Authenticating and persisting sessions from your third-party application
  • Workarounds when third-party cookies are disabled
  • Techniques for defending against session hijacking

Up until this point, we’ve been implementing user-agnostic applications. No matter who’s loaded your third-party script, they all experience the same version of the application. But what if, instead, your application could identify users who are currently (or previously) signed in to your service? Leveraging any data you might have about that user, you might be able to deliver them a customized and improved experience.

You’ve probably seen this behavior in third-party applications ...

Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Start your free trial

You might also like

Ajax: The Definitive Guide

Ajax: The Definitive Guide

Anthony T. Holdener III

Publisher Resources

ISBN: 9781617290541Publisher SupportOtherPublisher WebsiteSupplemental ContentPurchase Link