Board Thread:Questions and Answers/@comment-174.114.53.113-20121205125401/@comment-1847896-20121205163324

The CC Wiki has a fine tutorial on that. Check it out: http://computercraft.info/wiki/index.php?title=Making_a_Password_Protected_Door