CN111552671B - File directory authority setting method, device, equipment and storage medium - Google Patents

File directory authority setting method, device, equipment and storage medium Download PDF

Info

Publication number
CN111552671B
CN111552671B CN201911420512.2A CN201911420512A CN111552671B CN 111552671 B CN111552671 B CN 111552671B CN 201911420512 A CN201911420512 A CN 201911420512A CN 111552671 B CN111552671 B CN 111552671B
Authority
CN
China
Prior art keywords
file directory
authority
account
directory
level
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN201911420512.2A
Other languages
Chinese (zh)
Other versions
CN111552671A (en
Inventor
洪烨
余云悦
陆文进
孙捷
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Shanghai Envision Innovation Intelligent Technology Co Ltd
Envision Digital International Pte Ltd
Original Assignee
Shanghai Envision Innovation Intelligent Technology Co Ltd
Envision Digital International Pte Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Shanghai Envision Innovation Intelligent Technology Co Ltd, Envision Digital International Pte Ltd filed Critical Shanghai Envision Innovation Intelligent Technology Co Ltd
Priority to CN201911420512.2A priority Critical patent/CN111552671B/en
Publication of CN111552671A publication Critical patent/CN111552671A/en
Application granted granted Critical
Publication of CN111552671B publication Critical patent/CN111552671B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/10File systems; File servers
    • G06F16/17Details of further file system functions
    • G06F16/176Support for shared access to files; File sharing support
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F21/00Security arrangements for protecting computers, components thereof, programs or data against unauthorised activity
    • G06F21/30Authentication, i.e. establishing the identity or authorisation of security principals
    • G06F21/45Structures or tools for the administration of authentication
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F21/00Security arrangements for protecting computers, components thereof, programs or data against unauthorised activity
    • G06F21/60Protecting data
    • G06F21/62Protecting access to data via a platform, e.g. using keys or access control rules
    • G06F21/6218Protecting access to data via a platform, e.g. using keys or access control rules to a system of files or objects, e.g. local or distributed file system or database

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Computer Security & Cryptography (AREA)
  • Databases & Information Systems (AREA)
  • Computer Hardware Design (AREA)
  • Software Systems (AREA)
  • Data Mining & Analysis (AREA)
  • Health & Medical Sciences (AREA)
  • Bioethics (AREA)
  • General Health & Medical Sciences (AREA)
  • Information Retrieval, Db Structures And Fs Structures Therefor (AREA)
  • Storage Device Security (AREA)

Abstract

The application discloses a method, a device, equipment and a storage medium for setting authority of a file directory, and relates to the technical field of file management. The method comprises the following steps: starting the authority setting function of an ith-level file directory in the shared file system; receiving an authority setting instruction sent by an administrator account; and setting the member account of the ith grade of file directory and the operation authority of the object indicated by the file directory, which is owned by the member account, according to the authority setting instruction. The method realizes hierarchical management of the file directories, wherein the administrator account of each hierarchy can set the rights of the member accounts of the hierarchy and the file directories of the member accounts, and the information security and confidentiality are ensured.

Description

File directory authority setting method, device, equipment and storage medium
Technical Field
The present invention relates to the field of file management technologies, and in particular, to a method, an apparatus, a device, and a storage medium for setting authority of a file directory.
Background
Today, shared file systems are widely used in enterprises or organizations, and management of file rights is vital in the use of shared file systems in view of security and confidentiality of information due to different division of management staff and staff in enterprises or organizations.
Illustratively, the authority management of the shared file system can adopt a relationship of upper and lower authority consistency, users are divided into different authority groups through the super administrator account, and the different authority groups are provided with different file directory authorities, wherein the users in the same authority group only have one authority for all file directories.
However, the above-mentioned upper and lower authority coincidence relation cannot realize hierarchical management of file directories.
Disclosure of Invention
The embodiment of the application provides a method, a device, equipment and a storage medium for setting authority of a file directory, which can realize hierarchical management of the file directory. The technical scheme is as follows:
according to an aspect of the present application, there is provided a rights setting method for a file directory, applied to a shared file system, the method including:
starting the authority setting function of an ith-level file directory in the shared file system;
receiving an authority setting instruction sent by an administrator account, wherein the authority setting instruction is sent by the administrator account of an ith-level file directory, and the administrator account comprises the administrator account of the ith-level file directory set by a super administrator account in a shared file system;
and setting the member account of the ith grade of file directory and the operation authority of the object indicated by the file directory, which is owned by the member account, according to the authority setting instruction, wherein i is a non-negative integer.
According to another aspect of the present application, there is provided a rights setting apparatus for a file directory, applied to a shared file system, the apparatus comprising:
the function opening module is used for opening the authority setting function of the ith-level file directory in the shared file system;
the receiving module is used for receiving an authority setting instruction sent by an administrator account, wherein the authority setting instruction is sent by the administrator account of the ith-level file directory, and the administrator account comprises the administrator account of the ith-level file directory set by a super administrator account in the shared file system;
the setting module is used for setting the member account of the ith grade of file directory and the operation authority of the object indicated by the file directory, which is owned by the member account, according to the authority setting instruction, wherein i is a non-negative integer.
According to another aspect of the present application, there is provided an electronic device including:
a memory, a processor coupled to the memory;
a processor configured to load and execute executable instructions stored in memory to implement the rights setting method for file directories according to the above aspect and alternative embodiments thereof.
According to another aspect of the present application, there is provided a computer readable storage medium having stored therein at least one instruction, at least one program, code set or instruction set loaded and executed by a processor to implement a method for setting rights to a file directory according to one of the aspects and alternative embodiments thereof.
The beneficial effects that technical scheme that this application embodiment provided include at least:
the method can start the authority setting function of the ith grade file directory, and set the member account of the ith grade file directory and the operation authority of the member account of the ith grade file directory for the object indicated by the file directory, thereby realizing the hierarchical management of the administrator account of the ith grade file directory set by the super administrator account in the shared file system on the file directory, wherein the administrator account of each level can set the authority of the member account of the level and the file directory of the member account, and ensuring the information security and confidentiality.
Drawings
In order to more clearly illustrate the technical solutions of the embodiments of the present application, the drawings that are needed in the description of the embodiments will be briefly introduced below, and it is obvious that the drawings in the following description are only some embodiments of the present application, and that other drawings may be obtained according to these drawings without inventive effort for a person skilled in the art.
FIG. 1 is an interface diagram of rights settings for a file directory provided in an exemplary embodiment of the present application;
FIG. 2 is a block diagram of a shared file system provided in one exemplary embodiment of the present application;
FIG. 3 is a flowchart of a method for rights setting for file directories provided in an exemplary embodiment of the present application;
FIG. 4 is a flowchart of a method for rights setting for file directories provided in another exemplary embodiment of the present application;
FIG. 5 is a flowchart of a method for rights setting for file directories provided in another exemplary embodiment of the present application;
FIG. 6 is a flowchart of a method for rights setting for a file directory provided in another exemplary embodiment of the present application;
FIG. 7 is a block diagram of a rights setting unit for file directories provided in an exemplary embodiment of the present application;
fig. 8 is a schematic structural diagram of a server according to an exemplary embodiment of the present application.
Detailed Description
For the purpose of making the objects, technical solutions and advantages of the present application more apparent, the embodiments of the present application will be described in further detail below with reference to the accompanying drawings.
The following explanation is directed to terms in this application:
shared file system: a system for realizing that a server cluster shares a physical storage device. In a network environment, the shared file system may transfer files to each other between hosts of different operating systems, and access files on other server file systems on the network as local files are accessed, with little regard to network transfer and access details.
A file: refers to a collection of information defined by a creator; illustratively, the file may be a text document, a picture, a program, or the like. Files typically have a file extension that indicates the file type; for example, picture files are often saved in joint photographic experts group (Joint Photographic Experts Group, JPEG) format, and the file extension is. Jpg.
Folder: for assisting a person in managing computer files, each folder corresponds to a piece of disk space, and the folders provide addresses pointing to the corresponding disk space. Folders have no extensions and may include the following types: documents, pictures, photo albums, music collections, etc.
Root directory: referring to the first file directory in each disk, the root directory of the disk, for example, is "C: and \ ", i.e. the file directory displayed upon opening the C disc. All folders under a root directory are referred to as subdirectories under that root directory. The subdirectories may include primary subdirectories, secondary subdirectories, etc., between two adjacent file directories may become a parent directory and a subdirectory.
File directory rights: the method refers to the operation authority of the file directory, which is owned by the member account using the file directory in the shared file system, wherein the operation authority comprises file viewing authority, directory editing authority and member management authority. The file viewing authority refers to the authority of the member account to view the content under the file directory; the directory editing authority refers to the authority of the member account to edit the file directory and the authority to add content under the file directory; the member management authority refers to the authority for modifying the authority owned by the member account under the file directory.
Rights inheritance relationship: the j+1th level file directory inherits the relation between the member account of the j level file directory and the authority owned by the member account, and j is a positive integer. For example, the first-level file directory includes two member accounts, namely, the member account 1 and the member account 2, and the rights owned by the member account 1 and the member account 2 are directory editing rights and file viewing rights, and the second-level file directory under the first-level file directory also includes the member account 1 and the member account 2, and the rights owned by the member account 1 and the member account 2 are directory editing rights and file viewing rights, and the first-level file directory and the second-level file directory have rights inheritance relationship.
Illustratively, there is a shared file system that adopts a relationship of upper and lower authority consistency, in the shared file system, users are divided into different authority groups through a super administrator account, and the different authority groups are provided with different file directory authorities, wherein the users in the same authority group only have one authority for all file directories; however, the above-mentioned upper and lower authority coincidence relation cannot realize hierarchical management of file directories. Therefore, the application provides a method for setting the authority of the file directory so as to realize hierarchical management of the file directory. Referring to fig. 1, an interface schematic diagram of authority setting of a file directory according to an exemplary embodiment of the present application is shown, where a super administrator account in a shared file system may set administrator accounts under file directories of various levels. As shown in fig. 1, a setting interface 11 when the administrator account of the ith file directory sets the file directory rights owned by the member account is displayed on the display, a closing control 12 for inheriting the rights inheritance relationship corresponding to the "upper level rights" is clicked, and the rights inheritance relationship between the ith file directory and the upper level file directory is closed, and at the same time, the rights setting function for the ith file directory is opened, that is, at this time, the rights selection control 14 corresponding to each member account 13 is operable, and the administrator account can set the rights of the member account 13 through the rights selection control 14, for example, at least one of the file viewing rights, the directory editing rights and the member management rights are granted to the member account 13.
Optionally, after the permission setting function is started, the setting interface 11 further includes a member adding control 15 and a member deleting control 16, and the adding or deleting of the member used by the ith file directory can be realized through the member adding control 15 and the member deleting control 16.
The method realizes hierarchical management of the file directories through the administrator accounts of the ith file directory set by the super administrator accounts in the shared file system, wherein each hierarchical administrator account can set the member accounts of the hierarchical level and the rights of the file directories of the member accounts, thereby ensuring information security and confidentiality.
Referring to fig. 2, a schematic structure diagram of a shared file system 200 according to an exemplary embodiment of the present application is shown, where the shared file system 200 includes at least two servers 220.
The at least two servers 220 are connected through a wired or wireless network. And the at least two servers 220 share a physical storage device to realize sharing of files.
Optionally, a tree structured file directory is provided in the shared file system 200. The physical storage device of the shared file system 200 stores therein a program that is executed by a processor in any server 220 to implement the rights setting method of the file directory provided in the present application.
Alternatively, the physical storage setting may include at least one of random access Memory (Random Access Memory, RAM), read Only Memory (ROM), flash Memory (Flash). Alternatively, the processor may include one or more processing cores, such as a 4-core processor, an 8-core processor.
Referring to fig. 3, a flowchart of a method for setting authority of a file directory according to an exemplary embodiment of the present application is shown, where the method is applied to the shared file system shown in fig. 2, and the method includes:
step 301, turning on a permission setting function of an ith file directory in the shared file system.
Optionally, a display and an input device are arranged on the server; displaying a permission setting interface of an ith grade file catalogue in the shared file system on a display, wherein the permission setting interface comprises a control of a permission setting function, and receiving an opening operation triggered by a user on the control through an input device so as to open the permission setting function of the ith grade file catalogue, wherein i is a non-negative integer. When i is 0, the file directory is the root directory.
Alternatively, the input device may include a keyboard, a mouse, or a touch device; illustratively, the touch device may be a touch panel or a touch screen.
The above-described authority setting function refers to a function for setting a member of the i-th-level file directory and an operation authority possessed by the member to an object indicated by the file directory. Optionally, when the value of i is a positive integer, the control controls may include control controls of authority inheritance relationship; the shared file system receives a closing instruction of the authority inheritance relationship, wherein the closing instruction is sent by an administrator account of an ith file directory and is generated according to a trigger event on a control of the authority inheritance relationship; and closing the authority inheritance relation of the ith grade file directory according to the closing instruction, and starting the authority setting function of the ith grade file directory.
Illustratively, as shown in fig. 1, the permission setting function of the ith file directory is started while the permission inheritance relationship of the ith file directory is closed by receiving the trigger manipulation of the closing control 12 of the permission inheritance relationship.
Step 302, receiving a permission setting instruction sent by an administrator account.
Optionally, the administrator of the ith-level file directory includes an administrator account of the ith-level file directory set by a super administrator account in the shared file system, where the super administrator account refers to an administrator account having directory management authority for each level of file directory including the root directory. The permission setting instruction is sent by an administrator account of the ith file directory.
Optionally, the permission setting instruction includes at least one of an operation permission of the reset member to the object indicated by the file directory, account information of the newly added member account, and a deleted member account. The account information of the newly added member account includes the newly added member account and the operation authority of the object indicated by the file directory owned by the newly added member.
Step 303, the member account of the ith grade of file directory and the operation authority of the object indicated by the file directory, which is owned by the member account, are set according to the authority setting instruction.
List one
Optionally, the permission setting instruction includes account information of the newly added member account of the ith file directory; the shared file system responds to receiving an authority setting instruction sent by an administrator account, increases the newly increased member account into the member account of the ith-level file directory according to the account information of the newly increased member account, and sets the operation authority of the object indicated by the file directory, which is owned by the newly increased member account; and automatically synchronizing the newly added member account and the operation authority of the newly added member account to the object indicated by the file directory to the member accounts of the file directory of the (i+1) th level and below.
The shared file system responds to the received permission setting instruction sent by the first member account to add the third member account to the member account of the second directory, and the added permission of the third member account comprises directory viewing permission and directory editing permission, and the permission of the third member account and the third member account is automatically synchronized to the third directory.
Watch II
It should be noted that, the member account of the added ith file directory is the member account of the previous file directory.
Optionally, the permission setting instruction includes a member account deleted from the ith level file directory; the shared file system responds to receiving an authority setting instruction sent by an administrator account, and deletes a member account in a member account of an ith-level file directory and deletes the operation authority of an object indicated by the file directory, which is owned by the member account; and in response to the member accounts of the file directories of the (i+1) th and lower levels including the deleted member account, synchronously deleting the deleted member account of the member accounts of the file directories of the (i+1) th and lower levels.
Illustratively, based on the second table, the permission setting instruction includes the second member account of the second directory, the shared file system deletes the second member account of the second directory in response to receiving the permission setting instruction sent by the administrator account, and deletes the second member account of the third directory in synchronization with the permission to delete the second member account, e.g., the third table.
Watch III
Illustratively, as shown in fig. 1, the member accounts of the ith level file directory may be increased by a member add control 15 and decreased by a member delete control 16; the operational rights of the objects indicated to the file directory owned by the member account may be set by rights selection control 14.
Optionally, the operation authority of the object indicated by the file directory owned by the member account includes at least one of directory viewing authority, directory editing authority and member management authority. The object indicated by the file directory includes a folder or a file.
Illustratively, on the ith-level file directory, a member account with directory viewing authority can view a folder or a file indicated by the ith-level file directory; the member account having the directory editing authority can create a new folder or a new file in the i-th level file directory indicating folder, or modify the name of the indicating folder, or modify the name, content, etc. of the indicating file; the member account having the member management authority may add or delete the member account of the i-th level file directory, excluding other administrator accounts having the member management authority.
In summary, the authority setting method of the file directory provided in this embodiment may start the authority setting function of the i-th level file directory, and set the member account of the i-th level file directory and the operation authority of the object indicated by the member account of the i-th level file directory by using the administrator account of the i-th level file directory, so as to implement hierarchical management of the administrator account of the i-th level file directory set by the super administrator account in the shared file system on the file directory, where each level of administrator account may set the member account of the level and the authority of the file directory of the member account, thereby ensuring information security and confidentiality.
And secondly, the method is also provided with a superior and subordinate authority inheritance relationship, and authority inheritance and hierarchical management are considered in the shared file system, so that the authority management efficiency is improved, the authority setting operation process is simplified, and the hierarchical management of the authority of the file directory is realized through the authority inheritance.
Based on fig. 3, if the member account of the i-th level file directory has directory editing authority, the member account may newly create the i+1-th level file directory under the i-th level file directory, which is schematically shown in fig. 4, and steps 304 to 305 may be added after step 303, as follows:
step 304, a file directory creation instruction is received.
The creation instruction is used for instructing the shared file system to create the (i+1) th-level file directory under the (i) th-level file directory, and the creation instruction is sent by the member account with the directory editing authority of the (i) th-level file directory.
Illustratively, the creation instruction instructs the shared file system to create the i+1st level file directory under the i level file directory, and synchronously generates the folder or file indicated by the i+1st level file directory in the folder indicated by the i level file directory; or, the creation instruction instructs the shared file system to create a folder or a file in the folder indicated by the i-th level file directory, and generates an i+1th level file directory corresponding to the created folder or file under the i-th level file directory.
In step 305, in response to the member account of the i+1st level file directory not having the member management authority, the member management authority of the member account of the i+1st level file directory is automatically increased.
Optionally, before the member account corresponding to the i+1st file directory is created and does not have the member management authority, the shared file system also automatically opens the authority inheritance relationship of the i+1st file directory after the i+1st file directory is created, where the authority inheritance relationship of the i+1st file directory is used to indicate that the i+1st file directory inherits the member account of the i file directory and the operation authority of the object indicated by the file directory owned by the member account.
The shared file system obtains the member account of the ith grade of file directory and the operation authority of the object indicated by the file directory owned by the member account in a table look-up mode, and gives the member account and the operation authority to the ith grade of file directory +1, in the process, if the creation member account of the ith grade of file directory does not have the member management authority, the shared file system gives the member management authority of the creation member account to the ith grade of file directory +1.
Illustratively, as shown in fig. 5, the members of the primary catalog in the shared file system comprise Zhang three and Liu four, wherein Zhang three and Liu four have corresponding member accounts, and only member names are shown in the figure; the user rights comprise viewable (directory viewing rights) and editable (i.e. directory editing rights); the member accounts corresponding to Zhang III create a secondary catalog, and the default inherits the user rights of the primary catalog, namely, the member accounts corresponding to Zhang III and Lisi still have the viewable and editable user rights; the member account corresponding to Zhang three is also given manageable (i.e. member management authority) as the creation member account of the secondary directory.
The third-level catalogue is created by the member account corresponding to the fourth plum, and the user permission of the second-level catalogue is inherited by default, namely the member account corresponding to the third plum has the permission which can be checked, edited and managed; the member account corresponding to the Li four is used as the creation member account of the three-level directory and is endowed with manageable authority.
It should be further noted that, based on fig. 5, the member accounts of the primary directory in the shared file system include member accounts corresponding to Zhang three and Lisi four; the member account corresponding to the king five is added in the member account of the primary catalog, as shown in fig. 6, only the member name is shown in the figure; under the condition that the authority inheritance relationship is opened, the sharing file system adds the five-king corresponding member account to the member accounts of the secondary catalogue and the tertiary catalogue.
In summary, the method for setting the rights of the file directory according to the embodiment further sets a relationship between upper and lower levels of rights inheritance, and gives consideration to rights inheritance and hierarchical management in the shared file system.
Referring to fig. 7, a block diagram of a rights setting apparatus for file directories according to an exemplary embodiment of the present application is shown, the apparatus being applied to a shared file system; the device is implemented as part or all of a server by software, hardware or a combination of both, and comprises:
a function opening module 401, configured to open a permission setting function of an i-th level file directory in the shared file system;
the receiving module 402 is configured to receive a permission setting instruction sent by an administrator account, where the permission setting instruction is sent by an administrator account of an ith file directory, and the administrator account includes an administrator account of the ith file directory set by a super administrator account in the shared file system;
the setting module 403 is configured to set, according to the permission setting instruction, a member account of the ith level of file directory and an operation permission of an object indicated by the member account for the file directory, where i is a non-negative integer.
In some embodiments of the present invention, in some embodiments,
the receiving module 402 is configured to receive a creation instruction of a file directory, where the creation instruction is used to instruct the shared file system to create an i+1st file directory under the i-th file directory, and the creation instruction is sent by a member account having a directory editing authority of the i-th file directory;
and the setting module 403 is configured to automatically increase the member management authority of the created member account to the i+1th level file directory in response to the created member account of the i+1th level file directory not having the member management authority.
In some embodiments, the setting module 403 is configured to automatically open a permission inheritance relationship of the i+1st level file directory, where the permission inheritance relationship of the i+1st level file directory is used to indicate that the i+1st level file directory inherits a member account of the i level file directory and an operation permission of an object indicated by the member account.
In some embodiments, the permission setting instruction includes account information of an added member account of the i-th level file directory;
a setting module 403, configured to add the newly added member account to the member account of the ith level of file directory according to the account information, and set an operation authority of the object indicated by the file directory owned by the newly added member account; and automatically synchronizing the newly added member account and the operation authority of the newly added member account to the object indicated by the file directory to the member account of the file directory of the (i+1) th level and below.
In some embodiments, if the value of i is a positive integer, the function starting module 401 includes:
the receiving submodule 4011 is used for receiving a closing instruction of the authority inheritance relationship, wherein the closing instruction is sent by an administrator account of the ith-level file directory;
the relationship closing submodule 4012 is used for closing the authority inheritance relationship of the ith-level file directory according to the closing instruction and starting the authority setting function of the ith-level file directory.
In summary, the authority setting device of the file directory provided in this embodiment may start the authority setting function of the i-th level file directory, and set the member account of the i-th level file directory and the operation authority of the object indicated by the member account of the i-th level file directory by using the administrator account of the i-th level file directory, so as to implement hierarchical management of the administrator account of the i-th level file directory set by the super administrator account in the shared file system on the file directory, where the administrator account of each level may set the member account of the level and the authority of the file directory of the member account, thereby ensuring information security and confidentiality.
And secondly, the device is also provided with a superior and subordinate authority inheritance relationship, and authority inheritance and hierarchical management are considered in the shared file system, so that the authority management efficiency is improved, the authority setting operation process is simplified, and the hierarchical management of the authority of the file directory is realized through the authority inheritance.
Referring to fig. 8, a schematic structural diagram of a server according to an embodiment of the present application is shown. The server is used for implementing the authority setting method of the file directory provided in the above embodiment. Specifically, the present invention relates to a method for manufacturing a semiconductor device.
The server 500 includes a CPU (Central Processing Unit ) 501, a system Memory 504 including a RAM (Random Access Memory ) 502 and a ROM (Read-Only Memory) 503, and a system bus 505 connecting the system Memory 504 and the central processing unit 501. The server 500 also includes a basic I/O (Input/Output) system 506 for facilitating the transfer of information between various devices within the computer, and a mass storage device 507 for storage of an operating system 513, application programs 514, and other program modules 515.
The basic input/output system 506 includes a display 508 for displaying information and an input device 509, such as a mouse, keyboard, etc., for user input of information. Wherein the display 508 and the input device 509 are coupled to the central processing unit 501 via an input output controller 510 coupled to the system bus 505. The basic input/output system 506 may also include an input/output controller 510 for receiving and processing input from a number of other devices, such as a keyboard, mouse, or electronic stylus. Similarly, the input output controller 510 also provides output to a display screen, a printer, or other type of output device.
The mass storage device 507 is connected to the central processing unit 501 through a mass storage controller (not shown) connected to the system bus 505. The mass storage device 507 and its associated computer readable media provide non-volatile storage for the server 500. That is, the mass storage device 507 may include a computer readable medium (not shown) such as a hard disk or CD-ROM (Compact Disc Read-Only Memory) drive.
The computer readable medium may include computer storage media and communication media without loss of generality. Computer storage media includes volatile and nonvolatile, removable and non-removable media implemented in any method or technology for storage of information such as computer readable instructions, data structures, program modules or other data. Computer storage media includes RAM, ROM, EPROM (Erasable Programmable Read-Only Memory), EEPROM (Electrically Erasable Programmable Read-Only Memory), flash Memory (Flash Memory) or other solid state Memory technology, CD-ROM, DVD (Digital Versatile Disc, digital versatile disk) or other optical storage, magnetic cassettes, magnetic tape, magnetic disk storage or other magnetic storage devices. Of course, those skilled in the art will recognize that the computer storage medium is not limited to the one described above. The system memory 504 and mass storage device 507 described above may be collectively referred to as memory.
The server 500 may also operate via a network, such as the internet, connected to a remote computer on the network, according to various embodiments of the present application. I.e. the server 500 may be connected to the network 512 via a network interface unit 511 connected to said system bus 505, or alternatively, the network interface unit 511 may be used for connection to other types of networks or remote computer systems (not shown).
The foregoing embodiment numbers of the present application are merely for describing, and do not represent advantages or disadvantages of the embodiments.
It will be understood by those skilled in the art that all or part of the steps for implementing the above embodiments may be implemented by hardware, or may be implemented by a program for instructing relevant hardware, where the program may be stored in a computer readable storage medium, and the storage medium may be a read-only memory, a magnetic disk or an optical disk, etc.
The foregoing description of the preferred embodiments is merely exemplary in nature and is in no way intended to limit the invention, since it is intended that all modifications, equivalents, improvements, etc. that fall within the spirit and scope of the invention.

Claims (5)

1. A rights setting method for a file directory, the method being applied to a shared file system, the method comprising:
receiving a closing instruction of the permission inheritance relationship, wherein the closing instruction is sent by an administrator account of an ith-level file directory in the shared file system;
closing the authority inheritance relation of the ith grade file directory according to the closing instruction, and starting the authority setting function of the ith grade file directory;
receiving an authority setting instruction sent by an administrator account, wherein the authority setting instruction is sent by the administrator account of the ith-level file directory, and the administrator account comprises the administrator account of the ith-level file directory set by a super administrator account in the shared file system;
setting a member account of the ith-level file directory and an operation authority of an object indicated by the file directory, which is owned by the member account, according to the authority setting instruction, wherein i is a positive integer;
receiving a creating instruction of a file directory, wherein the creating instruction is used for indicating the shared file system to create an (i+1) th level file directory under the (i) th level file directory, the creating instruction is sent by a member account with directory editing authority of the (i) th level file directory, and the directory editing authority refers to the authority of editing the file directory and the authority of adding contents under the file directory;
automatically opening the authority inheritance relation of the (i+1) -th level file directory, wherein the authority inheritance relation of the (i+1) -th level file directory is used for indicating the (i+1) -th level file directory to inherit the member account of the (i) -th level file directory and the operation authority of the member account, which is owned by the member account, on the object indicated by the file directory;
and in response to the fact that the created member account of the (i+1) -th level file directory does not have member management authority, automatically increasing the member management authority of the created member account on the (i+1) -th level file directory, wherein the member management authority refers to authority for modifying the member account under the file directory and the authority owned by the member account.
2. The method of claim 1, wherein the permission setting instruction includes account information of an added member account of the i-th level file directory;
the setting of the member account of the ith file directory and the operation authority of the object indicated by the file directory, which is owned by the member account, according to the authority setting instruction includes:
adding the newly added member account to the member account of the ith-level file directory according to the account information, and setting the operation authority of the newly added member account on the object indicated by the file directory;
and automatically synchronizing the newly added member account and the operation authority of the object indicated by the file directory, which is owned by the newly added member account, to the member accounts of the file directories of the (i+1) th level and below.
3. A rights setting apparatus for a file directory, the apparatus being applied to a shared file system, the apparatus comprising:
the function opening module is used for receiving a closing instruction of the authority inheritance relationship, wherein the closing instruction is sent by an administrator account of an ith-level file directory in the shared file system; closing the authority inheritance relation of the ith grade file directory according to the closing instruction, and starting the authority setting function of the ith grade file directory;
the receiving module is used for receiving an authority setting instruction sent by an administrator account, wherein the authority setting instruction is sent by the administrator account of the ith-level file directory, and the administrator account comprises the administrator account of the ith-level file directory set by a super administrator account in the shared file system;
the setting module is used for setting the member account of the ith grade of file directory and the operation authority of the object indicated by the file directory, which is owned by the member account, according to the authority setting instruction, wherein i is a positive integer;
the receiving module is used for receiving a creating instruction of a file directory, wherein the creating instruction is used for indicating the shared file system to create an i+1st-level file directory under the i-th-level file directory, the creating instruction is sent by a member account with directory editing authority of the i-th-level file directory, and the directory editing authority refers to the authority of editing the file directory and the authority of adding contents under the file directory;
the setting module is used for automatically starting the authority inheritance relation of the (i+1) -th level file directory, wherein the authority inheritance relation of the (i+1) -th level file directory is used for indicating the (i+1) -th level file directory to inherit the member account of the (i) -th level file directory and the operation authority of the member account, which is owned by the member account, of the object indicated by the file directory;
the setting module is configured to automatically increase a member management authority of the created member account for the i+1st file directory in response to the created member account of the i+1st file directory not having a member management authority, where the member management authority refers to an authority for modifying the member account under the file directory and an authority owned by the member account.
4. An electronic device, the electronic device comprising:
a memory, a processor coupled to the memory;
the processor configured to load and execute executable instructions stored in the memory to implement the rights setting method of a file directory as claimed in claim 1 or 2.
5. A computer-readable storage medium having stored therein at least one instruction, at least one program, code set, or instruction set; the at least one instruction, the at least one program, the set of codes, or the set of instructions are loaded and executed by a processor to implement the rights setting method of a file directory as claimed in claim 1 or 2.
CN201911420512.2A 2019-12-31 2019-12-31 File directory authority setting method, device, equipment and storage medium Active CN111552671B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201911420512.2A CN111552671B (en) 2019-12-31 2019-12-31 File directory authority setting method, device, equipment and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201911420512.2A CN111552671B (en) 2019-12-31 2019-12-31 File directory authority setting method, device, equipment and storage medium

Publications (2)

Publication Number Publication Date
CN111552671A CN111552671A (en) 2020-08-18
CN111552671B true CN111552671B (en) 2024-01-05

Family

ID=72005632

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201911420512.2A Active CN111552671B (en) 2019-12-31 2019-12-31 File directory authority setting method, device, equipment and storage medium

Country Status (1)

Country Link
CN (1) CN111552671B (en)

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN115248933B (en) * 2021-04-26 2024-06-11 北京字跳网络技术有限公司 Authority setting method, device, equipment and medium
CN113986160B (en) * 2021-12-24 2022-04-15 北京辰光融信技术有限公司 Mobile printing method and system

Citations (14)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6202066B1 (en) * 1997-11-19 2001-03-13 The United States Of America As Represented By The Secretary Of Commerce Implementation of role/group permission association using object access type
CN102271141A (en) * 2011-09-13 2011-12-07 大连佳姆信息安全软件技术有限公司 Electronic file permission dynamic adaptive control method and system
US8627068B1 (en) * 2005-04-29 2014-01-07 Hewlett-Packard Development Company, L. P. Selecting access authorities
CN105426776A (en) * 2015-11-13 2016-03-23 浪潮软件集团有限公司 Electronic document management device and method
CN105975876A (en) * 2016-06-29 2016-09-28 北京小米移动软件有限公司 File sharing method and device
CN107220558A (en) * 2017-05-24 2017-09-29 郑州云海信息技术有限公司 A kind of method of rights management, apparatus and system
CN108614976A (en) * 2018-04-28 2018-10-02 苏州科达科技股份有限公司 Authority configuring method, device and storage medium
CN109002730A (en) * 2018-07-26 2018-12-14 郑州云海信息技术有限公司 A kind of file system directories right management method, device, equipment and storage medium
CN109344650A (en) * 2018-09-25 2019-02-15 郑州云海信息技术有限公司 A kind of file permission management method, system and the relevant apparatus of file system
CN109829330A (en) * 2018-12-28 2019-05-31 恒生电子股份有限公司 A kind of svn authority setting method, device, system, electronic equipment
CN109858278A (en) * 2019-01-14 2019-06-07 世纪龙信息网络有限责任公司 File permission setting method, device, computer equipment and storage medium
CN109948350A (en) * 2019-01-18 2019-06-28 深圳市万睿智能科技有限公司 A kind of hierarchical organization structure account authority distributing method and its system and storage medium
CN110162960A (en) * 2019-05-22 2019-08-23 陕西中达公路技术服务有限公司 A kind of method for verifying authority based on user management
CN110442354A (en) * 2019-07-30 2019-11-12 南京市晨枭软件技术有限公司 A kind of software method for cleaning and device

Family Cites Families (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US7849091B1 (en) * 2006-01-25 2010-12-07 At&T Intellectual Property Ii, L.P. Meta-data indexing for XPath location steps
US20150256526A1 (en) * 2013-10-18 2015-09-10 GB & Smtih SARL Matrix security management system for managing user accounts and security settings

Patent Citations (14)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6202066B1 (en) * 1997-11-19 2001-03-13 The United States Of America As Represented By The Secretary Of Commerce Implementation of role/group permission association using object access type
US8627068B1 (en) * 2005-04-29 2014-01-07 Hewlett-Packard Development Company, L. P. Selecting access authorities
CN102271141A (en) * 2011-09-13 2011-12-07 大连佳姆信息安全软件技术有限公司 Electronic file permission dynamic adaptive control method and system
CN105426776A (en) * 2015-11-13 2016-03-23 浪潮软件集团有限公司 Electronic document management device and method
CN105975876A (en) * 2016-06-29 2016-09-28 北京小米移动软件有限公司 File sharing method and device
CN107220558A (en) * 2017-05-24 2017-09-29 郑州云海信息技术有限公司 A kind of method of rights management, apparatus and system
CN108614976A (en) * 2018-04-28 2018-10-02 苏州科达科技股份有限公司 Authority configuring method, device and storage medium
CN109002730A (en) * 2018-07-26 2018-12-14 郑州云海信息技术有限公司 A kind of file system directories right management method, device, equipment and storage medium
CN109344650A (en) * 2018-09-25 2019-02-15 郑州云海信息技术有限公司 A kind of file permission management method, system and the relevant apparatus of file system
CN109829330A (en) * 2018-12-28 2019-05-31 恒生电子股份有限公司 A kind of svn authority setting method, device, system, electronic equipment
CN109858278A (en) * 2019-01-14 2019-06-07 世纪龙信息网络有限责任公司 File permission setting method, device, computer equipment and storage medium
CN109948350A (en) * 2019-01-18 2019-06-28 深圳市万睿智能科技有限公司 A kind of hierarchical organization structure account authority distributing method and its system and storage medium
CN110162960A (en) * 2019-05-22 2019-08-23 陕西中达公路技术服务有限公司 A kind of method for verifying authority based on user management
CN110442354A (en) * 2019-07-30 2019-11-12 南京市晨枭软件技术有限公司 A kind of software method for cleaning and device

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
"***大ERP管理信息***";李福申等;《科技成果》;全文 *

Also Published As

Publication number Publication date
CN111552671A (en) 2020-08-18

Similar Documents

Publication Publication Date Title
US10999373B2 (en) Information management of data associated with multiple cloud services
US11768810B2 (en) Flexible permission management framework for cloud attached file systems
US10318542B2 (en) Information management of mobile device data
US9959333B2 (en) Unified access to personal data
KR101120755B1 (en) System and method for virtual folder and item sharing including utilization of static and dynamic lists
US8032569B2 (en) Information management system, display system, management apparatus and program
US20060173932A1 (en) Using a file server as a central shared database
JP2014010465A (en) Method for selecting storage cloud for storing entity file from two or more storage cloud and computer and computer program
US9183212B2 (en) Representing directory structure in content-addressable storage systems
US20090254585A1 (en) Method for Associating Administrative Policies with User-Definable Groups of Files
CN111552671B (en) File directory authority setting method, device, equipment and storage medium
JP7355964B2 (en) External location synchronization
WO2015176461A1 (en) File access processing method, file access method, and device for distributed file system
US20220060336A1 (en) Blockchain Management Through a Graphical User Interface
CN112287403B (en) Block chain-based electronic volume management method and device, electronic equipment and medium
Perkins Coie LLP
US11012588B2 (en) Information processing device, file processing method for information processing device, and non-transitory recording medium
CN113448921A (en) Storage management method, device and storage system
JP7355959B2 (en) External location synchronization
Hammoud et al. An Architecture for Distributed Electronic Documents Storage in Decentralized Blockchain B2B Applications. Computers 2021, 10, 142

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant