Access control includes physical and logical access control. Physical access control protects the damage, theft and losing of assess. In this paper, we propose the method to protect logical access control. If we want to control the access information system in security, we can encrypt the executing command to cipher text and send it to the computer system. The computer system decrypts the cipher text to the original executing command. The computer system also checks executing command of availability to process.