Check patentability & draft patents in minutes with Patsnap Eureka AI!

Permission control method and device based on interceptor, computer equipment and medium

A technology of authority control and interceptor, which is applied in the direction of computer security devices, calculations, instruments, etc., can solve the problems of cumbersome development work, and achieve the effect of reducing cumbersome configuration, reducing workload, and fine-grained authority control granularity

Pending Publication Date: 2022-02-18
ONE CONNECT SMART TECH CO LTD SHENZHEN
View PDF0 Cites 3 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0004] The embodiment of the present application provides an interceptor-based authority control method, device, computer equipment, and storage medium to solve the technical problem that the authority control scheme of the traditional solution is strongly related to business logic, and the development work is relatively cumbersome.

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
  • Permission control method and device based on interceptor, computer equipment and medium
  • Permission control method and device based on interceptor, computer equipment and medium
  • Permission control method and device based on interceptor, computer equipment and medium

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0029] The following will clearly and completely describe the technical solutions in the embodiments of the present application with reference to the drawings in the embodiments of the present application. Obviously, the described embodiments are part of the embodiments of the present application, not all of them. Based on the embodiments in this application, all other embodiments obtained by persons of ordinary skill in the art without creative efforts fall within the protection scope of this application.

[0030] The embodiment of the present application provides an interceptor-based permission control method, which can be applied in such as figure 1 In the application environment, the front end can communicate with the authority control device through the network, the authority control device communicates with the back-end database, and the authority control device can intercept the original SQL request of the front end through the interceptor, and the original SQL request i...

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 relates to the technical field of databases and block chains, discloses a permission control method and device based on an interceptor, computer equipment and a medium, and solves the technical problem that more complex code configuration needs to be performed due to the fact that user access SQL logic and business SQL logic are coupled together in a traditional scheme. The method comprises the following steps: intercepting an original SQL request of a front end through an interceptor, wherein the original SQL request comprises a data query range; in response to the original SQL request, obtaining a data permission object corresponding to the current login user; analyzing the data permission object to obtain permission factors of the user, wherein the permission factors comprise service table permission and table field permission owned by the user; comparing and judging the permission of the service table and the query range of the original SQL request; when the query range of the query request is within the service table permission, changing an SQL query logic segment of the original SQL request according to the table field permission to obtain a target SQL request; and releasing the target SQL request to a database, and enabling the database to respond to the target SQL request to execute data query.

Description

technical field [0001] The present application relates to the technical fields of database and block chain, and in particular to an interceptor-based authority control method, device, computer equipment and storage medium. Background technique [0002] Business permissions are different from functional permissions, also known as data permissions. Under the actual organization or personnel structure of an enterprise, people with different authority have different business authority to the system. For example, a claim manager can see all the claims in the claim business system, but a claim specialist can only see some of the claims or claims under his own name. Business permissions can even be fine-grained to the fields in the table, such as some sensitive fields in the claim record, such as the amount of the claim, etc. For people with different powers, whether they can see the fields can be different . [0003] The inventor found through research that if a complex query t...

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 Applications(China)
IPC IPC(8): G06F21/62G06F16/242G06F16/2455
CPCG06F21/6227G06F16/2433G06F16/2445G06F16/2455
Inventor 陈嘉林李炜
Owner ONE CONNECT SMART TECH CO LTD SHENZHEN
Features
  • R&D
  • Intellectual Property
  • Life Sciences
  • Materials
  • Tech Scout
Why Patsnap Eureka
  • Unparalleled Data Quality
  • Higher Quality Content
  • 60% Fewer Hallucinations
Social media
Patsnap Eureka Blog
Learn More