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

Authority control method, device and server

A technology of authority control and server, which is applied in the Internet field, can solve problems such as leaks and achieve the effect of solving the risk of leaks

Active Publication Date: 2019-01-25
MAIPU COMM TECH CO LTD
View PDF12 Cites 1 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

At present, the SVN server's judgment on permissions is only for the trunk path, and the branch paths under these trunk paths are not controlled by permissions. All codes that do not have permissions can be downloaded from the branch, and there is a risk of leaking

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
  • Authority control method, device and server
  • Authority control method, device and server
  • Authority control method, device and server

Examples

Experimental program
Comparison scheme
Effect test

no. 1 example

[0020] Such as figure 1 A flow chart of the permission control method provided by the embodiment of the present invention is shown. See figure 1 , the method includes:

[0021] Step S110: Determine the trunk path corresponding to the received download path, and use the trunk path as the path to be checked.

[0022] Because in the permission file of the SVN server, only the download path corresponding to the trunk code, that is, the trunk path, has corresponding permission settings, while the download path corresponding to branch codes, that is, the branch path does not have corresponding permission settings. Therefore, it is necessary to determine the trunk path corresponding to the download path, and use the determined trunk path as the path to be checked, so as to serve as the path for the subsequent permission check.

[0023] When users need to obtain codes from the SVN server, they need to send a download request to the SVN server. Specifically, the user can send a dow...

no. 2 example

[0056] The second embodiment of the present invention provides an authority control device, please refer to Figure 5 , the authority control device 100 includes a path to be checked determination module 110 , a authority file judgment module 120 and a authority control module 130 . Wherein, the path to be checked determination module 110 is used to determine the trunk path corresponding to the received download path, and the trunk path is used as the path to be checked; the authority file judgment module 120 is used to judge whether the pending Check the path; the authority control module 130 is used to control the downloading user's authority according to the authority setting of the path to be checked in the authority file if there is the path to be checked in the authority file. For the path to be checked, the step of judging whether the path to be checked exists in the authority file is performed by taking the upper level path of the current path to be checked as a new pa...

no. 3 example

[0062] The third embodiment of the present invention provides a server 200, please refer to Figure 6 , the server 200 includes a memory 201, a processor 202 and the authority control apparatus 100 in the second embodiment, the authority control apparatus is installed in the memory and executed by the processor.

[0063] In summary, the authority control method, device and server provided by the embodiments of the present invention determine the main path corresponding to the received download path, use the main path as the path to be checked, and then determine whether the path to be checked exists in the authority file, If the path to be checked exists in the authority file, then according to the permission setting of the path to be checked in the authority file, the download user is controlled; if the path to be checked does not exist in the authority file, the previous path to be checked is used The level path is used as a new path to be checked, and the step of judging wh...

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 provides an authority control method, a device and a server, which relate to the technical field of the Internet. The right control method comprises the following steps: determining a backbone path corresponding to the received download path, and taking the backbone path as a path to be checked; judging whether the path to be checked exists in the right file; as the path to be checkexists in the right file, controlling the download user according to the permission setting of the path to be checked in the permission file, if the path to be checked does not exist in the permissionfile, taking the path above the current path to be checked as a new path to be checked, and judging whether the path to be checked exists in the permission file is executed. The authority control method can better realize the control of the user's access to the backbone and branches of the code on the server.

Description

technical field [0001] The present invention relates to the technical field of the Internet, in particular to an authority control method, device and server. Background technique [0002] SVN is an open source code management tool. Its code warehouse has three pieces: trunk, branches, and tags, which are used to store various software codes. Many software development companies in the industry will store the code on the SVN server, and users will install the SVN client locally. The user accesses the SVN server through the SVN client to download the code within the scope of authority. During the process, the SVN server determines whether the user has authority to the access path. At present, the SVN server only judges the authority for the main path, and the branch paths under these main paths are not controlled by authority, and all codes that do not have authority can be downloaded from the branch, and there is a risk of leaking. Contents of the invention [0003] In vie...

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/10G06F21/12G06F8/70
CPCG06F8/70G06F21/105G06F21/12
Inventor 杨中立
Owner MAIPU COMM TECH CO LTD