摘要
针对应用软件中权限设置一般方法的缺陷,提出了对权限进行编码设置方法:根据应用软件中的各个菜单项有显示及不显示的两种状况,可以把显示记为1,不显示记为0;则应用软件中的所有菜单项就表示为一个由0与1组合形成的串,再将这个串作为一个二进制数处理,转化为整数后,把它作为权限值记录在二维表中。减少了系统资源开销、增强了应用软件系统的安全性。
In view of the defects of normal method of the system LA(Limits of Authority) in the Application, this paper puts forward the installation method to encode the LA According to the two conditions that each menu item can show or not show in the Application, the Application can remember the Display as 1,and the No Display as 0Therefore,all menu items of the Application can be shown as a string made by 0 and 1Then the string will be dealt with as a binary number and changed for the integer, and recorded in the two dimensional table as the authority credentialsThus,the Application resource expenses can be reduced, and the system safety can be strengthened
出处
《石家庄铁道学院学报》
2003年第3期99-102,共4页
Journal of Shijiazhuang Railway Institute