CN103793635A - Multi-level menu permission establishing method - Google Patents
Multi-level menu permission establishing method Download PDFInfo
- Publication number
- CN103793635A CN103793635A CN201210424856.2A CN201210424856A CN103793635A CN 103793635 A CN103793635 A CN 103793635A CN 201210424856 A CN201210424856 A CN 201210424856A CN 103793635 A CN103793635 A CN 103793635A
- Authority
- CN
- China
- Prior art keywords
- menu
- user
- authority
- users
- data table
- 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.)
- Pending
Links
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F21/00—Security arrangements for protecting computers, components thereof, programs or data against unauthorised activity
- G06F21/60—Protecting data
- G06F21/62—Protecting access to data via a platform, e.g. using keys or access control rules
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F2221/00—Indexing scheme relating to security arrangements for protecting computers, components thereof, programs or data against unauthorised activity
- G06F2221/21—Indexing scheme relating to G06F21/00 and subgroups addressing additional information or applications relating to security arrangements for protecting computers, components thereof, programs or data against unauthorised activity
- G06F2221/2141—Access rights, e.g. capability lists, access control lists, access tables, access matrices
Landscapes
- Engineering & Computer Science (AREA)
- Theoretical Computer Science (AREA)
- Software Systems (AREA)
- General Health & Medical Sciences (AREA)
- Computer Hardware Design (AREA)
- Computer Security & Cryptography (AREA)
- Health & Medical Sciences (AREA)
- Physics & Mathematics (AREA)
- General Engineering & Computer Science (AREA)
- General Physics & Mathematics (AREA)
- Bioethics (AREA)
- Storage Device Security (AREA)
- Information Retrieval, Db Structures And Fs Structures Therefor (AREA)
Abstract
The invention relates to the computer system safety protective field and discloses a multi-level menu permission establishing method. The multi-level menu permission establishing method particularly comprises the following steps of (1) establishing a user table which comprises names, passwords and ID (Identity) numbers of all login users; (2) establishing a menu data table which comprises names, levels and types of menus of all levels and the ID numbers and permissions of the users; (3) establishing a user permission table and expressing the permissions of various users through data assemblies with 0 or 1; (4) establishing a tree-shaped structure chart and enabling forming of nodes of the tree-shaped structure chart to be achieved due to reading of attributes of cascading menus in the menu data table; (5) enabling the users to select the nodes in the tree-shaped structural chart, forming into personal permissions and writing the user ID numbers and permissions into the user permission table and the menu data table through a system after the personal permissions are stored. The multi-level menu permission establishing method can flexibly customize operable menus aiming at the users and improves the system running speed when the management operation is executed.
Description
Technical field
The present invention relates to computer system security protection field, particularly a kind of method for building up of multilevel menu authority.
Background technology
For any computer system, the security of information is all most important.Along with the development of infotech, network technology and database technology, database security becomes focus and the focus that people pay close attention to day by day.User, by the data in database application system operating database, guarantees that the safety of data in database is problems that database application system must be considered.So, must control the operating right of user in database application system.
At present, a lot of management systems all adopt database mode to manage the right assignment of system, for example: the various System Privileges that record defines by attribute field in database, then the System Privileges that it has is described in each user's user record.When needs in database, increase, while deleting, revise some System Privileges, just need the structure of database to change, like this, just brought a large amount of loaded down with trivial details work to staff, also increased work difficulty, and then reduced to a certain extent work efficiency simultaneously.
Summary of the invention
The invention provides a kind of method for building up of multilevel menu authority, can be neatly for its exercisable menu of customization, travelling speed when raising system is carried out bookkeeping.
The technical solution used in the present invention is: a kind of creation method of multilevel menu authority, comprises the following steps:
1) set up subscriber's meter, containing all login user title, password, No. ID.
2) set up menu data table, comprise the relevant informations such as pad names at different levels, progression, type and ID users, authority.
3) set up user right table, represent various users' authority with 0 or 1 data combination.
4) set up tree structure figure.In tree derivation, the formation of each node is that attribute by reading menu data table cascade menu is realized.When user selects, after No. ID, to show corresponding tree structure figure.User can increase each node of tree derivation, deletion action, and the content in corresponding menu data table is variation thereupon also.
5) user selects each node in tree structure figure, forms self authority.After preservation, system writes ID users, authority in user right table and menu data table.
The invention has the beneficial effects as follows:
1. ensure the security of database application system.
2. the each node of tree structure figure is corresponding with the menus at different levels in menu data table, increases, deletes each node in tree structure figure, and the content in corresponding menu data table is variation thereupon also, image, directly perceived, and handled easily and execution speed are fast.
Embodiment
Below by embodiment, technical solution of the present invention is elaborated, but protection scope of the present invention is not limited to described embodiment.
Database security is managed by menu operation right assignment is realized to user.User and information that can actions menu thereof all need to be kept in database table.Relevant table and main field thereof are as follows:
1. subscriber's meter, is used for preserving user's logon name, password, No. ID.
2. menu data table, comprises the relevant informations such as pad names at different levels, progression, type and ID users, authority.
3. user right table, the data with 0 or 1 combine the authority that represents various users.
The menu of each user-operable in application system should not be unalterable, but should change along with the variation of its authority, and application system provides one can make user change the interface that it can actions menu.
The left side of interfaces windows is each user's ID list, and the tree derivation on the right is by all ranks and the menu item thereof of layering cascade menu, and user chooses after oneself No. TD in ID list, will in tree derivation, show corresponding menu operation authority.The frame that selects that user can click before each cascade menu item is selected.Set rear preservation, just can change the operability to this menu item.In addition, user can also increase each node of tree derivation, deletion action, and the content in corresponding menu data table is variation thereupon also.
As mentioned above, although represented and explained the present invention with reference to specific preferred embodiment, it shall not be construed as the restriction to the present invention self.Not departing under the spirit and scope of the present invention prerequisite of claims definition, can make in the form and details various variations to it.
Claims (4)
1. a method for building up for multilevel menu authority, is characterized in that, comprises the steps:
1) set up subscriber's meter, containing all login user title, password, No. ID;
2) set up menu data table, comprise the relevant informations such as pad names at different levels, progression, type and ID users, authority;
3) set up user right table, represent various users' authority with 0 or 1 data combination;
4) set up tree structure figure, the formation of its each node is that the attribute by reading menu data table cascade menu is realized;
5) user selects each node in tree structure figure, forms self authority, and after preservation, system writes ID users, authority in user right table and menu data table.
2. the method for building up of menu authority as claimed in claim 1, is characterized in that: described tree structure figure, and user can increase its each node, deletion action, and the menu in corresponding menu data table is variation thereupon also.
3. the method for building up of menu authority as claimed in claim 1, is characterized in that: can be for its exercisable menu of customization.
4. the method for building up of menu authority as claimed in claim 3, is characterized in that: when user selects, after a kind of No. ID, to show corresponding exercisable tree structure figure.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201210424856.2A CN103793635A (en) | 2012-10-26 | 2012-10-26 | Multi-level menu permission establishing method |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201210424856.2A CN103793635A (en) | 2012-10-26 | 2012-10-26 | Multi-level menu permission establishing method |
Publications (1)
Publication Number | Publication Date |
---|---|
CN103793635A true CN103793635A (en) | 2014-05-14 |
Family
ID=50669290
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201210424856.2A Pending CN103793635A (en) | 2012-10-26 | 2012-10-26 | Multi-level menu permission establishing method |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN103793635A (en) |
Cited By (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN104331445A (en) * | 2014-10-27 | 2015-02-04 | 北京金和软件股份有限公司 | Automatic menu loading method of personalized APP (Application) management platforms |
CN104978273A (en) * | 2015-07-09 | 2015-10-14 | 上海与德通讯技术有限公司 | Automatic detection method and automatic detection unit for menu names |
CN105739834A (en) * | 2014-12-09 | 2016-07-06 | 小米科技有限责任公司 | Menu displaying method and device |
CN109960904A (en) * | 2019-03-29 | 2019-07-02 | 北京金山云网络技术有限公司 | Operation system management method, management server, user terminal and management system |
-
2012
- 2012-10-26 CN CN201210424856.2A patent/CN103793635A/en active Pending
Cited By (7)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN104331445A (en) * | 2014-10-27 | 2015-02-04 | 北京金和软件股份有限公司 | Automatic menu loading method of personalized APP (Application) management platforms |
CN104331445B (en) * | 2014-10-27 | 2018-01-23 | 北京金和软件股份有限公司 | A kind of menu automatic loading method of personalized APP management platforms |
CN105739834A (en) * | 2014-12-09 | 2016-07-06 | 小米科技有限责任公司 | Menu displaying method and device |
CN105739834B (en) * | 2014-12-09 | 2020-08-07 | 北京小米移动软件有限公司 | Menu display method and device |
CN104978273A (en) * | 2015-07-09 | 2015-10-14 | 上海与德通讯技术有限公司 | Automatic detection method and automatic detection unit for menu names |
CN104978273B (en) * | 2015-07-09 | 2018-11-06 | 上海与德通讯技术有限公司 | The automatic testing method and automatic detection unit of pad name |
CN109960904A (en) * | 2019-03-29 | 2019-07-02 | 北京金山云网络技术有限公司 | Operation system management method, management server, user terminal and management system |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN110443010B (en) | Authority visual configuration control method, device, terminal and storage medium in information system | |
CN112182619A (en) | Service processing method and system based on user permission, electronic device and medium | |
US10560460B2 (en) | Management of data of user groups and maintenance of communication thereof | |
CN110457891B (en) | Permission configuration interface display method, device, terminal and storage medium | |
AU2009322747B2 (en) | Secure document management | |
US9805209B2 (en) | Systems and methodologies for managing document access permissions | |
US8429191B2 (en) | Domain based isolation of objects | |
US20150074825A1 (en) | System and method for controlling privacy settings of user interface with internet applications | |
US9558341B1 (en) | Integrated user profile administration tool | |
US9131374B1 (en) | Knowledge-based authentication for restricting access to mobile devices | |
JP2015531511A5 (en) | ||
CN103593602A (en) | User authorization management method and system | |
US20110219425A1 (en) | Access control using roles and multi-dimensional constraints | |
CN103391273A (en) | Method and device for controlling access authority of internet website user information | |
CN101739526A (en) | Service system-oriented and oriented object-based rights management method | |
CN105453072B (en) | The data maintenance of customer-centric | |
US20200169567A1 (en) | Media collaboration application with redaction based on user security clearance | |
CN101853358A (en) | Method for implementing file object authority management | |
CN103793635A (en) | Multi-level menu permission establishing method | |
CN103200666A (en) | Multiuser management method and multiuser management device of mobile terminal | |
CN103886412A (en) | News management and release system | |
US10388003B2 (en) | Persisting image modifications for user profile | |
CN103106359A (en) | Creating method of authorization of multilevel menu | |
CN104023014A (en) | Method and system of controlling data access permission | |
CN102456104A (en) | Menu authority creating method |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
C06 | Publication | ||
PB01 | Publication | ||
C02 | Deemed withdrawal of patent application after publication (patent law 2001) | ||
WD01 | Invention patent application deemed withdrawn after publication |
Application publication date: 20140514 |