WeChat applet and API security protection method and device, equipment and storage medium

A security protection and small program technology, applied in the field of information security, can solve problems such as increased workload, inability to reuse, and inability to connect user systems, and achieve the effect of ensuring security

Inactive Publication Date: 2019-09-06
武汉神算云信息科技有限责任公司
View PDF12 Cites 9 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

The above solution cannot be connected with the user system of the internal system, and the interface itself is stateless, which means that the open API provided by the above solut

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
  • WeChat applet and API security protection method and device, equipment and storage medium
  • WeChat applet and API security protection method and device, equipment and storage medium
  • WeChat applet and API security protection method and device, equipment and storage medium

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0024] In order to make the purpose, technical solutions and advantages of the embodiments of the present invention clearer, the technical solutions in the embodiments of the present invention will be clearly and completely described below in conjunction with the drawings in the embodiments of the present invention. Obviously, the described embodiments It is a part of embodiments of the present invention, but not all embodiments. Based on the embodiments of the present invention, all other embodiments obtained by persons of ordinary skill in the art without making creative efforts belong to the protection scope of the present invention. In addition, the technical features in each embodiment or a single embodiment provided by the present invention can be combined arbitrarily with each other to form a feasible technical solution, but it must be based on the realization of those skilled in the art. When there is a contradiction or cannot be realized, it should be considered that ...

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 embodiment of the invention provides a WeChat applet and API security protection method and equipment. The method comprises the following steps: in any system to which an API belongs, creating anexclusive user for a WeChat applet, endowing the exclusive user with functions and permissions realized by an API, creating an application ID and an application secret key for the exclusive user, generating an access token for the exclusive user, and correlating the AppID of the WeChat applet with the application ID; obtaining a temporary login certificate and calling a temporary login certificateverification interface, if the temporary login certificate verification interface obtains the temporary login certificate, verifying the legality and effectiveness of the temporary login certificate,if the verification is passed, returning the OpenID of the login special user, determining the application ID according to the AppID, determining the access token of the special user, and returning the access token; and if the WeChat applet calls the API in any system, enabling the WeChat applet to carry the access token to perform secure access. According to the method and the system, the methodof realizing the user permission in the system can be multiplexed, and the security of calling the API is ensured.

Description

technical field [0001] The embodiments of the present invention relate to the technical field of information security, and in particular, to a security protection method, device, device, and storage medium for WeChat applets and APIs. Background technique [0002] The WeChat Mini Program provides customer acquisition channels for some system tenants (individuals, companies, or institutions that provide small and micro credit services). Customers can independently choose products to apply for loans through the WeChat Mini Program. The system needs to provide an interface to obtain information delivered by the WeChat Mini Program. Therefore, the interface provided by this class for WeChat applet access must introduce a security authentication mechanism, so as to ensure that the interface is not illegally abused or maliciously called by some people with ulterior motives. The interface provided by the system to the WeChat applet is called an open API. For the interface security...

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/33G06F21/62
CPCG06F21/33G06F21/6218
Inventor 胡立亮刘贤义袁游
Owner 武汉神算云信息科技有限责任公司
Who we serve
  • R&D Engineer
  • R&D Manager
  • IP Professional
Why Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Try Eureka
PatSnap group products