IP Library Granted Patent US 10,554,643
Granted Patent B2
US 10,554,643 · App. 14/578,090 · Granted Feb 4, 2020

Method and system to provide additional security mechanism for packaged web applications

Inventors: Balaji Nerella Venkataramana (Bangalore, IN); Kaushik Das (Bangalore, IN); Satish Nanjunda Swamy Jamadagni (Bangalore, IN); Prabhavathi Perumal (Bangalore, IN)
Assignee: Samsung Electronics Co., Ltd.
H04L63/08
View Patent ↗
Loading inventors, assignments & file history…
Monitor This Case
Get email alerts when status or documents change.
Order Certified Copies
Most orders are placed with the USPTO same day — all within 24 business hours.
Order via The Patent Place →
Pre-filled with this patent's details
Quick Facts
Patent No.
US 10,554,643
App. No.
14/578,090
Granted
Feb 4, 2020
Kind
B2
Abstract

A method for authenticating a client application by an authorization server is provided. In the method, the authorization server transmits a first redirect identifier assigned to a client application to a web runtime engine, in response to receiving a registering request to register with the authorization server of the client application; receives an access request to access a protected resource stored on a resource server by the client application: and transmits the access request to the resource server through the web runtime engine using a second redirect identifier corresponding to a redirect endpoint of the client application. The second redirect identifier is intercepted by the web runtime engine, and the protected resource is accessed by the client application based on a comparing result between the first redirect identifier and the second redirect identifier in the web runtime engine.

Claims (55)

1. A method for authenticating an application by an authorization server, the method comprising:

receiving, by the authorization server related to a first application, from a web runtime engine in a device, a registration request to register a second application with the authorization server for accessing a protected resource stored in a resource server of the first application;

transmitting, by the authorization server, a first redirect uniform resource identifier (URI) including a first parameter-value pair assigned to the second application to the web runtime engine, in response to the registration request, the first redirect URI being stored in the web runtime engine;

receiving, by the authorization server, an access request to access the protected resource by the second application from the web runtime engine; and

transmitting, by the authorization server, the access request to the resource server using a second redirect URI corresponding to a redirect endpoint of the second application,

wherein the second redirect URI is intercepted by the web runtime engine before the access request is transmitted from the authorization server to the resource server,

wherein a second parameter-value pair included in the intercepted second redirect URI is compared by the web runtime engine to the first parameter-value pair included in the first redirect URI stored in the web runtime engine, and the web runtime engine is configured to transmit, to the second application, an access grant to grant an access to the protected resource in response to the access request based on a comparison result that the second parameter-value pair matches the first parameter-value pair, and

wherein all redirect endpoints of the second application include the first parameter-value pair.

2. The method of claim 1 , wherein the protected resource is accessed by the second application based on the access grant.

3. The method of claim 1 , wherein the access request is transmitted to the resource server by the web runtime engine based on the comparison result that the second parameter-value pair matches the first parameter-value pair.

4. An authorization server, the authorization server comprising:

a transceiver; and

a processor configured to control the transceiver to:

receive, from a web runtime engine in a device, a registration request to register a second application with the authorization server related to a first application for accessing a protected resource stored in a resource server of the first application;

transmit a first redirect uniform resource identifier (URI) including a first parameter-value pair assigned to the second application to the web runtime engine, in response to the registration request, the first redirect URI being stored in the web runtime engine;

receive an access request to access the protected resource by the second application, the protected resource including data generated by the first application; and

transmit the access request to the resource server using a second redirect URI corresponding to a redirect endpoint of the second application,

wherein the second redirect URI is intercepted by the web runtime engine before the access request is transmitted from the authorization server to the resource server,

wherein a second parameter-value pair included in the intercepted second redirect URI is compared by the web runtime engine to the first parameter-value pair included in the first redirect URI stored in the web runtime engine, and the web runtime engine is configured to provide an access grant to access the protected resource to the second application based on a comparison result that the second parameter-value pair matches the first parameter-value pair, and

wherein all redirect endpoints of the second application include the first parameter-value pair.

5. The authorization server of claim 4 , wherein the protected resource is accessed by the second application based on the access grant.

6. The authorization server of claim 4 , wherein the access request is transmitted to the resource server by the web runtime engine based on the comparison result that the second parameter-value pair matches the first parameter-value pair.

7. A method for authenticating an application by a web runtime engine in a device, the method comprising:

transmitting, by the web runtime engine, to an authorization server related to a first application, a registration request to register a second application with the authorization server for accessing a protected resource stored in a resource server of the first application;

receiving, by the web runtime engine, a first redirect uniform resource identifier (URI) including a first parameter-value pair assigned to the second application from the authorization server related to the first application, and storing the first redirect URI in response to transmitting a registration request to register the second application with the authorization server for accessing the protected resource stored in the resource server of the first application;

receive, by the web runtime engine, the registration request to register a second application with the authorization server related to the first application for accessing the protected resource stored in a resource server of the first application;

transmitting, by the web runtime engine, to the authorization server an access request;

intercepting, by the web runtime engine, a second redirect URI from the access request, before the access request is transmitted to the resource server from the authorization server;

comparing, by the web runtime engine, the first parameter-value pair included in the stored first redirect URI and a second parameter-value pair included in the intercepted second redirect URI; and

transmitting, by the web runtime engine, an access grant to grant an access to the protected resource to the second application based on a comparison result that the second parameter-value pair matches the first parameter-value pair,

wherein all redirect endpoints of the second application include the first parameter-value pair.

8. The method of claim 7 , wherein the access to the protected resource by the second application is allowed based on the access grant.

9. The method of claim 7 , wherein the access request is transmitted to the resource server by the web runtime engine based on the comparison result that the second parameter-value pair matches the first parameter-value pair.

10. A web runtime engine in a device, the web runtime engine comprising:

a transceiver;

a memory; and

a processor configured to control the transceiver to:

transmit, to an authorization server related to a first application, a registration request to register a second application with the authorization server for accessing a protected resource stored in a resource server of the first application,

receive a first redirect uniform resource identifier (URI) including a first parameter-value pair assigned to the second application from the authorization server related to the first application, and store the first redirect URI at the memory, in response to transmitting the registration request to register the second application with the authorization server for accessing the protected resource stored in the resource server of the first application,

receive an access request to access the protected resource from the second application,

transmit, to the authorization server, the access request to access the protected resource,

intercept a second redirect URIL, from the access request, before the access request is transmitted to the resource server from the authorization server,

compare the first parameter-value pair included in the stored first redirect URI and a second parameter-value pair included in the intercepted second redirect URI and

transmit an access grant to grant an access to the protected resource to the second application based on a comparison result that the second parameter-value pair matches the first parameter-value pair,

wherein all redirect endpoints of the second application include the first parameter-value pair.

11. The web runtime engine of claim 10 , wherein the access to the protected resource by the second application is allowed based on the access grant.

12. The web runtime engine of claim 10 , wherein the access request is transmitted to the resource server by the web runtime engine based on the comparison result that the second parameter-value pair matches the first parameter-value pair.

13. The method of claim 1 , wherein the first parameter-value pair includes one of a fixed string and a randomly generated string, and

wherein the first parameter-value pair is different from a third parameter-value pair included in all redirect endpoints of a third application, the third application being different from the first application.

14. The authorization server of claim 4 , wherein the first parameter-value pair includes one of a fixed string and a randomly generated string, and

wherein the first parameter-value pair is different from a third parameter-value pair included in all redirect endpoints of a third application, the third application being different from the first application.

15. The method of claim 7 , wherein the first parameter-value pair includes one of a fixed string and a randomly generated string, and

wherein the first parameter-value pair is different from a third parameter-value pair included in all redirect endpoints of a third application, the third application being different from the first application.

16. The web runtime engine of claim 10 , wherein the first parameter-value pair includes one of a fixed string and a randomly generated string, and

wherein the first parameter-value pair is different from a third parameter-value pair included in all redirect endpoints of a third application, the third application being different from the first application.

Assignments (1)
ASSIGNMENT OF ASSIGNOR'S INTEREST Recorded Dec 19, 2014
From: VENKATARAMANA, BALAJ I NEREILA; DAS, KAUSHIK; JAMADAGNI, SATISH NANJUNDA SWAMY; PERUMAL, PRABHAVATHI
To: SAMSUNG ELECTRONICS CO., LTD
Reel/Frame 034561/0654 →
Priority Claims (2)
IN 5960CHE/2013 · Dec 20, 2013 · national
IN 5960/CHE/2013 · Aug 4, 2014 · national
Continuity (1)
Related Publication 20150180850A1 · Jun 25, 2015
Cited By (1)
US 12,665,907