# US 9,356,963 B2 · Detecting and applying different security policies to active client requests running within secure user web sessions

> Agents: this data is available as JSON from the patentgrep API and MCP server — see https://patentgrep.com/llms.txt

- Number: US 9,356,963 B2
- Document ID: US9356963B2
- Status: Granted
- Kind: B2
- Application number: 14/052,794
- Filed: 2013-10-14
- Published: 2014-02-13
- Granted: 2016-05-31
- Earliest claimed: 2011-05-05
- Assignees: International Business Machines Corporation
- Applicants: International Business Machines Corporation
- Inventors: Christopher John Hockings; Trevor Scott Norvill; Scott Anthony Exton
- Web page: https://patentgrep.com/patent/US9356963B2

## CPC

- H04L 63/20: {for managing network security; network security policies in general (filtering policies H04L63/0227)}
- G06F 21/31: User authentication
- G06F 21/552: {involving long-term monitoring or reporting}
- H04L 63/0245: {Filtering by information in the payload}
- H04L 63/08: {for authentication of entities (cryptographic mechanisms or cryptographic arrangements for entity authentication H04L9/32)}
- H04L 63/101: {Access control lists [ACL]}
- H04L: TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION (arrangements common to telegraphic and telephonic communication H04M)
- G06F: ELECTRIC DIGITAL DATA PROCESSING (computer systems based on specific computational models G06N)

## Abstract

A method, apparatus and computer program product to detect and apply security policy to active client requests within a secure user session begins by applying a first heuristic to a plurality of requests for a particular resource to identify a pattern indicating of an active client. In one embodiment, the heuristic evaluates a frequency of requests for the particular resource across one or more secure user sessions. Later, upon receipt of a new request for the particular resource, a determination is then made whether the new request is consistent with the pattern. If so, an action is taken with respect to a secure session policy.

## Claims

### Claim 1

A method for detecting and applying security policy to client requests within a secure user session, comprising:
applying a first heuristic to a plurality of requests for a particular resource to identify a pattern indicative of an active client, the active client comprising code that generates automated requests within the secure user session;
upon receipt of a new request for the particular resource, determining whether the new request is consistent with the pattern indicative of the active client; and
in response to determining that the new request is consistent with the pattern indicative of the active client, taking an action with respect to a secure session policy, wherein the action bypasses the secure session policy;
wherein at least one of the applying and determining steps is carried out in software executing in a hardware element.

### Claim 2 (depends on 1)

The method as described in claim 1 wherein the first heuristic evaluates a frequency of requests for the particular resource across one or more secure user sessions.

### Claim 3 (depends on 1)

The method as described in claim 1 wherein the secure session policy is associated with an inactivity time-out.

### Claim 4 (depends on 1)

The method as described in claim 1 further including:
applying a second heuristic to determine whether a response proposed to be returned in response to the new request is expected by the active client; and
when the response proposed to be returned in response to the new request is expected by the active client, returning the response.

### Claim 5 (depends on 4)

The method as described in claim 4 further including:
when the response proposed to be returned in response to the new request is not expected by the active client, modifying the response to create a modified response; and
returning the modified response.

### Claim 6

Apparatus, comprising:
a processor;
computer memory holding computer program instructions that when executed by the processor detect and apply security policy to active client requests within a secure user session, the computer program instructions comprising:
program code to apply a first heuristic to a plurality of requests for a particular resource to identify a pattern indicative of an active client, the active client comprising code that generates automated requests within the secure user session;
program code operative upon receipt of a new request for the particular resource to determine whether the new request is consistent with the pattern indicative of the active client; and
program code operative in response to determining that the new request is consistent with the pattern indicative of the active client to take an action with respect to a secure session policy, wherein the action bypasses the secure session policy.

### Claim 7 (depends on 6)

The apparatus as described in claim 6 wherein the first heuristic evaluates a frequency of requests for the particular resource across one or more secure user sessions.

### Claim 8 (depends on 6)

The apparatus as described in claim 6 wherein the secure session policy is associated with an inactivity time-out.

### Claim 9 (depends on 6)

The apparatus as described in claim 6 wherein the computer program instructions further include:
program code to apply a second heuristic to determine whether a response proposed to be returned in response to the new request is expected by the active client; and
program code, operative when the response proposed to be returned in response to the new request is expected by the active client, to return the response.

### Claim 10 (depends on 9)

The apparatus as described in claim 9 wherein the computer program instructions further include:
program code, operative when the response proposed to be returned in response to the new request is not expected by the active client, to modify the response to create a modified response; and
program code to return the modified response.

### Claim 11

A computer program product in a non-transitory computer readable medium for use in a data processing system, the computer program product holding computer program instructions which, when executed by the data processing system, perform a method for detecting and applying security policy to active client requests within a secure user session, the method comprising:
applying a first heuristic to a plurality of requests for a particular resource to identify a pattern indicative of an active client, the active client comprising code that generates automated requests within the secure user session;
upon receipt of a new request for the particular resource, determining whether the new request is consistent with the pattern indicative of the active client; and
in response to determining that the new request is consistent with the pattern indicative of the active client, taking an action with respect to a secure session policy, wherein the action bypasses the secure session policy.

### Claim 12 (depends on 11)

The computer program product as described in claim 11 wherein the first heuristic evaluates a frequency of requests for the particular resource across one or more secure user sessions.

### Claim 13 (depends on 11)

The computer program product as described in claim 11 wherein the secure session policy is associated with an inactivity time-out.

### Claim 14 (depends on 11)

The computer program product as described in claim 11 wherein the method further includes:
applying a second heuristic to determine whether a response proposed to be returned in response to the new request is expected by the active client; and
when the response proposed to be returned in response to the new request is expected by the active client, returning the response.

### Claim 15 (depends on 14)

The computer program product as described in claim 14 wherein the method further includes:
when the response proposed to be returned in response to the new request is not expected by the active client, modifying the response to create a modified response; and
returning the modified response.
