Method and device used for controlling open interface access permission

An open interface and control pair technology, applied in the computer field, can solve problems such as low security, extensive, easy stealing by the client and leakage of user privacy information, and achieve the effect of improving security

Inactive Publication Date: 2018-04-17
BAIDU ONLINE NETWORK TECH (BEIJIBG) CO LTD
View PDF5 Cites 12 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0003] In the existing technology, the application can use the application identification information and key information assigned by the application open platform to request the access token from the open platform. Since the user uses the private key encryption method, the information sent by the user is easy to be stolen by the user with the public key. The third party knows, so the security is not high
The openness of the API and the extensive and simplistic authorization management methods make it easy for the client to steal and leak user privacy information

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 used for controlling open interface access permission
  • Method and device used for controlling open interface access permission
  • Method and device used for controlling open interface access permission

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0028] The application will be further described in detail below in conjunction with the accompanying drawings and embodiments. It should be understood that the specific embodiments described here are only used to explain related inventions, rather than to limit the invention. It should also be noted that, for the convenience of description, only the parts related to the related invention are shown in the drawings.

[0029] It should be noted that, in the case of no conflict, the embodiments in the present application and the features in the embodiments can be combined with each other. The present application will be described in detail below with reference to the accompanying drawings and embodiments.

[0030] figure 1 An exemplary system architecture 100 is shown to which embodiments of the method for controlling access rights to open interfaces or the apparatus for controlling access rights to open interfaces of the present application can be applied.

[0031] Such as f...

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 invention discloses a method and a device used for controlling open interface access permission. One specific implementation way of the method comprises the following steps that: responding to anauthorization request which is sent from a client side and comprises application identification for accessing an open interface, searching a pre-stored public key corresponding to the application identification according to the application identification, and randomly generating an authentication code; using the searched public key to encrypt the authentication code, and sending the encrypted authentication code to a client side; responding to an access request sent from the client side, and using the authentication code before authentication to encrypt an access parameter to generate a calculation signature; and responding when the calculation signature and the access signature are determined to be consistent, endowing the client side with the open interface access permission, encryptinga result for accessing the open interface by the public key, and sending the encrypted result to the client side. By use of the implementation way, the safety of the open interface is improved, information prevents from being leaked, and meanwhile, the own system is unlikely to be attacked.

Description

technical field [0001] The present application relates to the field of computer technology, in particular to the field of Internet technology, and in particular to a method and device for controlling access rights to open interfaces. Background technique [0002] The Internet service provider platform provides open interfaces for third-party developers to call these open interfaces in the development of Internet applications, such as API (Application Programming Interface, application programming interface), HTTP (Hyper TextTransport Protocol, based on hypertext transfer protocol) for communication . The service provider platform should perform valid authentication on the received interface call (access) request, and only respond to legal interface call requests. A platform that provides an open interface is itself called an open platform. At present, when the open API provided by most open platforms is called by a third-party application, the third-party application needs...

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
IPC IPC(8): G06F21/45H04L9/32H04L9/30
CPCG06F21/45G06F2221/2133G06F2221/2141H04L9/302H04L9/3247
Inventor崔红伟
OwnerBAIDU ONLINE NETWORK TECH (BEIJIBG) CO LTD