US 12,445,412 B2
Automated service worker installation for client-initiated user identification and DLP scanning
Mohammed Mohsin Dalla, Bangalore (IN); and Mrigank Sunjiv Tyagi, Bulandshahr (IN)
Assigned to Palo Alto Networks, Inc., Santa Clara, CA (US)
Filed by Palo Alto Networks, Inc., Santa Clara, CA (US)
Filed on Dec. 27, 2023, as Appl. No. 18/396,932.
Prior Publication US 2025/0219996 A1, Jul. 3, 2025
Int. Cl. H04L 9/40 (2022.01); H04L 67/02 (2022.01)
CPC H04L 63/0245 (2013.01) [H04L 63/102 (2013.01); H04L 63/1433 (2013.01); H04L 63/168 (2013.01); H04L 67/02 (2013.01)] 20 Claims
OG exemplary drawing
 
1. A method comprising:
detecting, by a cybersecurity appliance, a first Hypertext Transfer Protocol (HTTP) request for a resource of a Software-as-a-Service (SaaS) application sent by a web browser during a first session with the SaaS application;
injecting an element into a first HTTP response to the first HTTP request, wherein the element indicates a file corresponding to a service worker;
registering and installing, by the web browser, the service worker, wherein the service worker intercepts and modifies requests sent by the web browser; and
intercepting subsequent HTTP requests for resources of the SaaS application sent by the web browser and modifying the subsequent HTTP requests, wherein modifying the subsequent HTTP requests comprises at least one of modifying the subsequent HTTP requests to identify a user of the SaaS application associated with the first session and modifying the subsequent HTTP requests to indicate results of data loss prevention (DLP) scanning of data input to the SaaS application.