IraqiMilitant Posted January 16, 2013 Posted January 16, 2013 I run a tekkit server and i would like to run a computer keycard system for access to areas. I have no problems with the programming...my problem comes in the fact that anyone can access the computer, hold ctrl-T then use the redstone api to open the door turn on the factory etc. Does anyone know of a way to limit peoples interaction with a computer block such that only I can interact directly with the computer? and anyone i want to allow access can simply toss in the keycard and they will be permitted entrance thanks in advance
disconsented Posted January 16, 2013 Posted January 16, 2013 I don't think it is possible to limit interaction but the problem with a keycard system is that it is easily copied. A password is the best approach I know of just remember a password doesn't have to be just characters.
Chefsbrian Posted January 16, 2013 Posted January 16, 2013 There is a hook you can place into the running applications to Disable the Ctrl-T commands, Best if you make the boot app the reader, and make sure its a closed program, IE every possible output will reset the program, handle exceptions by Rebooting the machine if need be. Just place this bit of code in the very first line of your program, but be sure that it runs flawlessly before you do so. os.pullEvent = os.pullEventRaw
disconsented Posted January 16, 2013 Posted January 16, 2013 There is a hook you can place into the running applications to Disable the Ctrl-T commands, Best if you make the boot app the reader, and make sure its a closed program, IE every possible output will reset the program, handle exceptions by Rebooting the machine if need be. Just place this bit of code in the very first line of your program, but be sure that it runs flawlessly before you do so. os.pullEvent = os.pullEventRaw Easy to beat with a disk drive though.
Chefsbrian Posted January 16, 2013 Posted January 16, 2013 Easy to beat with a disk drive though. Easier to beat with a Diamond Pickaxe. He asked how to prevent Ctrl-T, Thats how. He could always embed the computer wholly into a wall, present only the front. Placing a disk drive would then prevent access to the machine. Done.
IraqiMilitant Posted January 17, 2013 Author Posted January 17, 2013 perfect, just what i was looking for these computers are going in areas where only mods and admin have build/destroy rights so easy enough to prevent access via disk drive just moved away from keycards and am using a multi-security level login system on startup cheers, thanks
Chefsbrian Posted January 17, 2013 Posted January 17, 2013 perfect, just what i was looking for these computers are going in areas where only mods and admin have build/destroy rights so easy enough to prevent access via disk drive just moved away from keycards and am using a multi-security level login system on startup cheers, thanks Nice. For added security/expansion possibilities, make it RedNet built, with a server machine. Then you can add machines and passwords, and alter it remotely to boot.
IraqiMilitant Posted January 17, 2013 Author Posted January 17, 2013 Nice. For added security/expansion possibilities, make it RedNet built, with a server machine. Then you can add machines and passwords, and alter it remotely to boot. well i just put the .lua file on the server so in startup i just code shell.run("multiLock.lua",arg) where arg is my lock level (atm 1,2 or 3)
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now