# US 2015/0150094 A1 · Security for debugging of database sessions

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

- Number: US 2015/0150094 A1
- Document ID: US20150150094A1
- Status: Published application
- Kind: A1
- Application number: 14/315,608
- Filed: 2014-06-26
- Published: 2015-05-28
- Earliest claimed: 2013-11-25
- Assignees: Sap SE
- Inventors: Florian Foebel; Bjoern Friedmann; Boris Gruschko; Christian Mohr; Martin Strenge; Sascha Zorn
- Web page: https://patentgrep.com/patent/US20150150094A1

## CPC

- G06F 16/2365: {Ensuring data consistency and integrity}
- G06F 11/3668: Testing of software
- G06F 16/21: Design, administration or maintenance of databases
- G06F 16/215: Improving data quality; Data cleansing, e.g. de-duplication, removing invalid entries or correcting typographical errors
- G06F 16/951: Indexing; Web crawling techniques
- G06F 16/953: Querying, e.g. by the use of web search engines
- H04L 43/10: Active monitoring, e.g. heartbeat, ping or trace-route
- H04L 63/083: {using passwords (cryptographic mechanisms or cryptographic arrangements for entity authentication using a predetermined code H04L9/3226)}
- H04L 67/02: based on web technology, e.g. hypertext transfer protocol [HTTP]
- G06F 21/6218: {to a system of files or objects, e.g. local or distributed file system or database}
- H04L 63/08: {for authentication of entities (cryptographic mechanisms or cryptographic arrangements for entity authentication H04L9/32)}
- G06F: ELECTRIC DIGITAL DATA PROCESSING (computer systems based on specific computational models G06N)
- H04L: TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION (arrangements common to telegraphic and telephonic communication H04M)

## Abstract

A system includes reception of authorization information associated with one or more database server sessions of a first user, the authorization information associating the first user, a second user, and an authorization period, establishment of a first database server session of the first user, establishment of a second database server session of the second user, reception, from the second user, of a request to debug the first database server session, determination, based on the authorization information, that the second user is authorized to debug the first database server session, and, in response to the determination, attachment of the second database server session to the first database server session, and transmission of debugging information of the first database server session to the second user.

## Claims

### Claim 1

A system comprising:
a memory storing processor-executable process steps; and
a processor to execute the processor-executable process steps to cause the system to:
receive authorization information associated with one or more database server sessions of a first user, the authorization information associating the first user, a second user, and an authorization period;
establish a first database server session of the first user;
establish a second database server session of the second user;
receive, from the second user, a request to debug the first database server session;
determine, based on the authorization information, that the second user is authorized to debug the first database server session;
in response to the determination, attach the second database server session to the first database server session; and
transmit debugging information of the first database server session to the second user.

### Claim 2 (depends on 1)

A system according to claim 1, wherein the processor is further to execute the processor-executable process steps to cause the system to:
store the authorization information in a database as an instance of a database object.

### Claim 3 (depends on 1)

A system according to claim 1,
wherein the authorization information comprises a first token,
wherein the processor is further to execute the processor-executable process steps to cause the system to:
receive a request from the first user to establish the first database server session, the request comprising a second token, and
wherein determination that the second user is authorized to debug the first database server session comprises determination that the first token is identical to the second token.

### Claim 4 (depends on 1)

A system according to claim 1, wherein the processor is further to execute the processor-executable process steps to cause the system to:
establish a third database server session of a third user;
receive, from the third user, a second request to debug the first database server session;
determine, based on the authorization information, that the third user is authorized to debug the first database server session, wherein the authorization information associates the first user, the third user, and a second authorization period;
in response to the determination that the third user is authorized to debug the first database server session, attach the third database server session to the first database server session; and
transmit second debugging information of the first database server session to the third user.

### Claim 5 (depends on 4)

A system according to claim 4, wherein the authorization information comprises a first token,
wherein the processor is further to execute the processor-executable process steps to cause the system to:
receive a request from the first user to establish the first database server session, the request comprising a second token,
wherein determination that the second user is authorized to debug the first database server session comprises determination that the first token is identical to the second token, and
wherein determination that the third user is authorized to debug the first database server session comprises determination that the first token is identical to the second token.

### Claim 6 (depends on 5)

A system according to claim 5, wherein the third database server session and the second database server session are attached to the first database server session during at least one common time period.

### Claim 7 (depends on 4)

A system according to claim 4, attach the third database server session to the first database server session during at least one common time period.

### Claim 8

A computer-implemented method comprising:
receiving authorization information associated with one or more database server sessions of a first user, the authorization information associating the first user, a second user, an authorization period, and a first token;
receive a request from the first user to establish a first database server session, the request comprising a second token,
establishing the first database server session of the first user;
establishing a second database server session of the second user;
receiving, from the second user, a request to debug the first database server session;
determining, based on the authorization information, that the second user is authorized to debug the first database server session, the determination comprising a determination that the first token is identical to the second token;
in response to the determination that the second user is authorized to debug the first database server session, attaching the second database server session to the first database server session; and
transmitting debugging information of the first database server session to the second user.

### Claim 9 (depends on 8)

A computer-implemented method according to claim 8, wherein the processor is further to execute the processor-executable process steps to cause the system to:
store the authorization information in a database as an instance of a database object.

### Claim 10 (depends on 8)

A computer-implemented method according to claim 8, wherein the processor is further to execute the processor-executable process steps to cause the system to:
establish a third database server session of a third user;
receive, from the third user, a second request to debug the first database server session;
determine, based on the authorization information, that the third user is authorized to debug the first database server session, wherein the authorization information associates the first user, the third user, and a second authorization period;
in response to the determination that the third user is authorized to debug the first database server session, attach the third database server session to the first database server session; and
transmit second debugging information of the first database server session to the third user.

### Claim 11 (depends on 10)

A computer-implemented method according to claim 10, wherein determination that the third user is authorized to debug the first database server session comprises determination that the first token is identical to the second token.

### Claim 12 (depends on 11)

A computer-implemented method according to claim 11, wherein the third database server session and the second database server session are attached to the first database server session during at least one common time period.

### Claim 13 (depends on 10)

A computer-implemented method according to claim 10, attach the third database server session to the first database server session during at least one common time period.

### Claim 14

A non-transitory computer-readable medium storing program code, the program code executable by a computer system to cause to the computer system to:
receive authorization information associated with one or more database server sessions of a first user, the authorization information associating the first user, a second user, and an authorization period;
establish a first database server session of the first user;
establish a second database server session of the second user;
receive, from the second user, a request to debug the first database server session;
determine, based on the authorization information, that the second user is authorized to debug the first database server session;
in response to the determination, attach the second database server session to the first database server session; and
transmit debugging information of the first database server session to the second user.

### Claim 15 (depends on 14)

A medium according to claim 14, wherein the program code is further executable by the computer system to cause to the computer system to:
store the authorization information in a database as an instance of a database object.

### Claim 16 (depends on 14)

A medium according to claim 14,
wherein the authorization information comprises a first token,
wherein the program code is further executable by the computer system to cause to the computer system to:
receive a request from the first user to establish the first database server session, the request comprising a second token, and
wherein determination that the second user is authorized to debug the first database server session comprises determination that the first token is identical to the second token.

### Claim 17 (depends on 14)

A medium according to claim 14, wherein the program code is further executable by the computer system to cause to the computer system to:
establish a third database server session of a third user;
receive, from the third user, a second request to debug the first database server session;
determine, based on the authorization information, that the third user is authorized to debug the first database server session, wherein the authorization information associates the first user, the third user, and a second authorization period;
in response to the determination that the third user is authorized to debug the first database server session, attach the third database server session to the first database server session; and
transmit second debugging information of the first database server session to the third user.

### Claim 18 (depends on 17)

A medium according to claim 17, wherein the authorization information comprises a first token,
wherein the program code is further executable by the computer system to cause to the computer system to:
receive a request from the first user to establish the first database server session, the request comprising a second token,
wherein determination that the second user is authorized to debug the first database server session comprises determination that the first token is identical to the second token, and
wherein determination that the third user is authorized to debug the first database server session comprises determination that the first token is identical to the second token.

### Claim 19 (depends on 18)

A medium according to claim 18, wherein the third database server session and the second database server session are attached to the first database server session during at least one common time period.

### Claim 20 (depends on 17)

A medium according to claim 17, attach the third database server session to the first database server session during at least one common time period.
