Short: Arexx script to Lock Hard Drives. Author: Les Hewitt Uploader: les hewitt manymore net Type: util/rexx Architecture: m68k-amigaos PadLock opens a small window where you type in a password to unlock or lock your hard drive(s) or other device(s). The password is not visible in the window when your typing. PadLock version 4.1 is not meant to be able to keep everyone out, if they know where to look they'll find the password(s). It's mainly to stop accidental deletion of files by you or anyone else who has access to your Amiga. Maybe there are young children around that know how to switch on your Amiga but don't know the damage they might be doing. Just imagine if you accidentally formatted your hard drive instead of a floppy disk! The passwords are stored in ENV:PadLock.prefs. Each drive to be locked is given a password. I thought that was better than having just one password for all drives, as then all files would be at risk when the padlock was off. -------- Example ENV:PadLock.prefs file: Fred DH0: Barny DH1: Tom DH2: Jerry DH3: Each password is followed by the drive or device name on the next line. The first password must be on the first line. The ENV:PadLock.prefs file could also look like this: Fred Workbench: Barny Extras: Tom Art: Jerry Fun: PadLock is case sensitive so if a password is Fred in the ENV:PadLock.prefs file, typing FRED or fred will not work. -------- INSTALLATION: 1: Drag the PadLock icon to wherever you think is best for you. 2: Use a text editor to make your prefs file. I've included an example prefs file that you can change to suit your system setup. 3: Save your prefs file as 'ENV:PadLock.prefs' and ALSO as 'ENVARC:PadLock.prefs'. 4: Copy the other files included to there correct Directories. 5: Add this line to your s:User-Startup file: run >nil: sys:Rexxc/rx rexx:PadLock41.rexx set This line will lock all the drives every time you boot your Amiga. -------- USE: When the PadLock icon is double clicked it opens a small window. Just typing one of the passwords will unlock the corresponding drive. e.g.. Fred To Lock a drive type the password followed by the word 'ON'. e.g.. Fred on If you type a word that is not in the prefs file the window will close. (That's just to put people off trying to type in lots of different words hoping to find a password).