home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
The Datafile PD-CD 3
/
PDCD_3.iso
/
utilities
/
utilsf
/
hdlock
/
!HDLock
/
!Help
next >
Wrap
Text File
|
1994-06-01
|
5KB
|
101 lines
============
HDLock
============
Version 1.10
© John Lageu, 1993
----------------------------
This application is FreeWare and may be freely distributed provided
a) no charge is made other than to cover the cost of the medium
b) all files, including this !Help file, are included
If you run a Public Domain software library please obtain my permission
before including this program in your lists or distributing it.
Copyright remains with me at all times.
----------------------------
I hope you find this help sheet useful I find documentation very hard to do.
This program is designed to give an element of protection to a hard disc. I
believe it will work on all systems. It has been tested on a A410 under Risc
Os 2 and A3020, A410 & A5000 on RiscOs 3.1.
Once installed it is difficult to get round from the desktop, but access
is available to the hard disc via the command line. It was designed for our
school use in order to prevent the casual user damaging the hard disc
accidently. The determined hacker will easily get round any software at
present.
It was designed to be used with a menu system, hopefully you have received a
copy of that as well, so that all hard disc access was through the menu.
The user can set up to 5 directory roots which will be allowed to be open
and up to 5 directory roots which will be forced to close. During the
checking process the opens are checked first. It would be fairly easy to
extend the number of directories, but 5 should be ok.
It works by continuously monitoring the pointer position and if it
encounters a directory window open it either allows or closes it depending
on the set up. "Filer_OpenDir" is also trapped and checked.
In addition access to the hard disc icon on the icon bar is denied. The
first time you attempt an access a message is given, other times your
pointer is moved away. (Elegant ??)
The password is currently set at TEST (case dependent) and this then allows
access to the disc and also to alter the parameters. You are only allowed
two attempts at the password, then you are totally locked out for that
session.
Once unlocked, clicking on "Edit Data" allows the data to be changed. The
password has to be entered twice and is checked as you save. Directory
information is changed by either typing directly on a line or dragging the
directory to an appropriate line and its pathname is added. CTRL U etc work,
also return moves you onto the next line.
It is suggested that the root of all hard discs is locked by both its name
and its number. eg "ADFS::Name" and "ADFS::4" notice there is no $ as only
the first part of the leaf name is checked. This does not cause a problem
because the opens are checked first, and if a window is found to be valid
then the closes are not checked.
Shutdown is also trapped and a warning is given. If you do a shutdown then
this program remains active.
The program normally will only allow one of itself to be active, and uses
the same technique as used in !Alarm on RiscOs 3.1 to close second copies
down as they start.
In the directory you will find the following files :-
!Help This file, do not put this file on your hard disc.
!Run The usual file
!RunImage This is the program file squashed using BasCrunch and made into a
psuodo absolute file by MakeApp both by Stuart Hickinbottom.
Source The fully documented basic program. Feel free to pinch bits for
your own programs. Do not leave this on your hard disc.
sprites Usual sprites.
sprites22 This is not a sprite file, but the encoded data in disguise.
Templates Usual template file
I think this is probably enough comments, just try it and see.
This program may be freely copied and distributed for non-profit making
purposes (a small charge to cover cost of distribution is allowed) so long
as the code is not altered (apart from customising !Run/!Boot files) and
this text file remains present and unaltered. If you have any
queries/suggestions/comments then I would be chuffed to hear from you, so
please write to me, enclosing postage if you wish a reply, at
95 Binley Road
COVENTRY
CV3 1HX
PS Feel free to pinch bits for your own programs. If you use a substantial
part of my program and write something useful, perhaps you might like to
send me a copy.