A javascript-based middleware authorization method and device
A technology of middleware and verification method, which is applied in the field of JavaScript-based middleware authorization method and device, and can solve the problem that the encryption and decryption methods are not flexible enough.
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Image
Examples
Embodiment 1
[0019] figure 1 The implementation flow of the JavaScript-based middleware authorization method provided by Embodiment 1 of the present invention is shown, and the details are as follows:
[0020] In step S101, a preset JavaScript description is obtained to describe an authorization verification method of a licensed hardware identifier.
[0021] In this embodiment, the JavaScript is an object-based and event-driven client-side scripting language with relative security. At the same time, it is also a scripting language widely used in client-side Web development. It is often used to add dynamic functions to HTML web pages, such as responding to various operations of users. Completely describe the specific verification method and process into the JavaScript code, and then write them all into the authorization module, so that the verification method and process are only related to the authorization module. If you need to modify the verification method and process, you only need t...
Embodiment 2
[0029] figure 2 A specific structural block diagram of the JavaScript-based middleware authorization device provided by Embodiment 2 of the present invention is shown. For convenience of description, only parts related to the embodiment of the present invention are shown. In this embodiment, the JavaScript-based middleware authorization device includes: a method acquisition unit 21 , an identification acquisition unit 22 , an identification verification unit 23 , a piracy prompt unit 24 and a re-verification unit 25 .
[0030] Wherein, the method obtaining unit 21 is used to obtain the authorization verification method of the preset JavaScript description license hardware identification;
[0031] The identification acquisition unit 22 is used to identify and read the local hardware identification through the API interface of the transplantation layer;
[0032] The identification verification unit 23 is configured to invoke the authorization verification method to verify whet...
PUM
Login to View More Abstract
Description
Claims
Application Information
Login to View More 

