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
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Image
Examples
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...
PUM
Login to View More Abstract
Description
Claims
Application Information
Login to View More 


