首页>
外国专利>
METHOD AND APPARATUS FOR AUTHORITY CONTROL, COMPUTER DEVICE AND STORAGE MEDIUM
METHOD AND APPARATUS FOR AUTHORITY CONTROL, COMPUTER DEVICE AND STORAGE MEDIUM
展开▼
机译:用于权限控制,计算机设备和存储介质的方法和装置
展开▼
页面导航
摘要
著录项
相似文献
摘要
The present disclosure relates to a method and an apparatus for authority control, a computer device, and a storage medium, and relates to the field of the Internet technologies. The method includes: acquiring a configuration file according to a business scenario when a container is initialized, wherein the configuration file is managed outside the container; validating the configuration file in the container; receiving a user instruction; identifying a type of the user instruction when the user instruction is an executable instruction; acquiring script content of a script file when the type of the user instruction indicates that the user instruction is the script file, wherein the script content includes at least one command statement; and performing a validity check on the at least one command statement based on the configuration file. By the above method, during the use of the container, the user authorities in the container are controlled according to the business scenario, and the user authorities are controlled from the aspect of a smaller granularity, thereby improving the use security of the container while achieving the adjustability of the authorities.
展开▼