Locking computer

Hi, what would be the best way to lock a computer down and require a password to unlock it (using an application). Also what would be the best way to lock only a certain folder so it cant be accessessed without a password.Thanks in advanced
[254 byte] By [Futurisdom_Developera] at [2007-11-26 12:49:45]
# 1
if that computer is running windows, you can run the the "lock" command which i think is svchost and some args, which will lock the computer. you can run this using Process. as far as locking a folder, you are kinda ******.
mkoryaka at 2007-7-7 16:34:54 > top of Java-index,Java Essentials,Java Programming...
# 2
or maybe its rundll and some args. google it
mkoryaka at 2007-7-7 16:34:54 > top of Java-index,Java Essentials,Java Programming...
# 3
Ok thanks for that. What about the second part? is there anyway to lock folders?
Futurisdom_Developera at 2007-7-7 16:34:54 > top of Java-index,Java Essentials,Java Programming...
# 4
> What about the second part? is> there anyway to lock folders?As mkoryak says so well - you are ******.
sabre150a at 2007-7-7 16:34:54 > top of Java-index,Java Essentials,Java Programming...