Unlock instant, AI-driven research and patent intelligence for your innovation.

Method and device for realizing secure access control of js application program interface

A technology of application programming interface and security access control, which is applied in the field of network applications, can solve problems such as user equipment and application security threats, and achieve the effect of ensuring security

Active Publication Date: 2017-11-24
CHINA TELECOM CORP LTD
View PDF3 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

Therefore, web applications are easily exploited by third-party malware, which poses a threat to user device and application security

Method used

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
View more

Image

Smart Image Click on the blue labels to locate them in the text.
Viewing Examples
Smart Image
  • Method and device for realizing secure access control of js application program interface
  • Method and device for realizing secure access control of js application program interface
  • Method and device for realizing secure access control of js application program interface

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0055] The present disclosure will be described below with reference to the accompanying drawings. It is to be noted that the following description is merely explanatory and exemplary in nature, and in no way serves as any limitation of the present disclosure, its application or uses. Relative arrangements of components and steps and numerical expressions and numerical values ​​set forth in the embodiments do not limit the scope of the present disclosure unless otherwise specifically stated. Additionally, techniques, methods and devices known to those skilled in the art may not be discussed in detail but are intended to be part of the description where appropriate.

[0056]The calling of device capabilities by Web applications and Widget applications is realized by converting the underlying API interfaces into JS APIs through Widget engines or browsers. The calls of Widget engines and browsers to device APIs can be guaranteed by operating system security mechanisms, but The W...

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to View More

PUM

No PUM Login to View More

Abstract

The present disclosure relates to a method and a device for implementing security access control of a JS application program interface. The method includes receiving a calling request for an application program interface API initiated by an access object; querying from the permission file of the access object whether the access object has the permission to access the API; in response to having the permission to access the API, querying the terminal capability; judging according to the terminal capability Whether to allow the access object to call the API; if the access object is allowed to call the API, feedback the information that the access object is allowed to call the API; otherwise, reject the access object's call request for the API. The present disclosure can guarantee the safe invocation of the terminal capability by the access object.

Description

technical field [0001] The present disclosure relates to the technical field of network applications, and in particular, to a method and device for implementing JS (JavaScript, Java Script) API (Application Program Interface, Application Program Interface) security access control. Background technique [0002] The application forms of smart terminals are mainly divided into two types: Web (network) applications and local applications. Web applications refer to the application forms running on the browser, and local applications refer to the application forms directly running on the operating system. Web applications are developed using web language, which has the advantages of simple development and cross-platform adaptation, while local applications are generally developed using languages ​​such as Java and C, which have the advantages of strong development capabilities, good interactivity, and high efficiency. At the same time, these two application forms are constantly me...

Claims

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to View More

Application Information

Patent Timeline
no application Login to View More
Patent Type & Authority Patents(China)
IPC IPC(8): H04L29/06
Inventor 李慧云陆钢杨新章何震苇张凌
Owner CHINA TELECOM CORP LTD