home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
HomeWare 14
/
HOMEWARE14.bin
/
bbsutils
/
damv100.arj
/
DAM.DOC
< prev
next >
Wrap
Text File
|
1993-07-03
|
10KB
|
209 lines
Door Access Manager
by
Steve Miller
Copyright (c) 1993, SDM Software
All Right Reserved, World Wide
------------------------------------------------------------------------------
----------------------
DISCLAIMER OF WARRANTY
----------------------
THIS SOFTWARE PROGRAM AND DOCUMENTATION ("DAM") IS BEING OFFERED
FOR EVALUATION PURPOSES "AS IS" AND WITHOUT WARRANTIES AS TO
PERFORMANCE OR MERCHANT-ABILITY. BY USING DAM, YOU ARE EXPRESSLY
RELEASING STEVE MILLER FROM ANY LIABILITY RESULTING FROM THE USE OF
THIS SOFTWARE AND DOCUMENTATION. THE USER MUST ASSUME THE ENTIRE RISK
OF USING DAM. BECAUSE OF THE DIVERSITY OF CONDITIONS, HARDWARE AND
OPERATING ENVIRONMENTS UNDER WHICH DAM MAY BE USED, NO WARRANTY OF
FITNESS FOR A PARTICULAR PURPOSE IS OFFERED. THE USER IS ADVISED
TO TEST AND SUPERVISE DAM THOROUGHLY BEFORE RELYING ON IT.
------------------------------------------------------------------------------
LICENSE AGREEMENT
1)DAM is being distributed as Shareware. This program is not
free. You are granted a limited license to evaluate DAM for a
period not to exceed 30 days. After 30 days, you must either pay
for and register your copy of DAM, or immediately discontinue
its use and remove it from your computer.
2)You may keep as many backup copies of DAM as you wish, but you
may not run DAM simultaneously on more than one computer.
Additionally, you are granted the right to share DAM with
others, as long as you distribute the DAM archive exactly as
you received it, with all associated files included.
3)Under no circumstances may you charge a fee or receive any other
form of consideration for distributing the DAM files without
express written consent from the copyright holder.
------------------------------------------------------------------------------
Now that the legal stuff is out of the way. What can DAM do for
you? DAM was born out of neccessity. I needed a program that would only
let certain users into a door at certian times. I could not find one that
did not require a 'Twit' file. As I have over 150 users and only wanted to
allow 25 into the door I would have had to make a 125 name 'Twit' file.
No thanks. So DAM was written.
DAM will allows you, through DAM.nam, to decide who may use the
door. (more on this later) It will also check the access level and if it
is below the one in DAM.nam will not let that user into the door. DAM also
allows you to specify two seperate time blocks where no one can get into the
door. This is helpfull in shutting down the door before events or limiting
the time of day your users can use the door. I use it to shut my game doors
down in the evenings to allow others to use the board for mail. It will
display one of three files. One if the door is closed, name not found, or
name found but access to low. I use these to direct my users to a bulletin
that gives complete information about the door.
Installation and use of DAM has been made a easy as possible.
First put the six DAM files in a directory all their own. Then edit DAM.cnf
to reflect your system. There are eight and only eight lines in DAM.cnf and
each must end with a carrage return and a line feed. This is not real
important as most editors will automatically place them there for you.
I use DOS's edit to do mine. The eight lines are as follows
1) Your BBS name. This is limited to 30 charaters. Anything more than this
and the name will be trunciated.
2) Sysop name. This is limited to 25 charaters. Again anything over that and
the name will be truncitated.
3) This line is the path to your door.sys file. This line is limited to
60 charaters. Anything more and the program will not find your door.sys
Example: c:\pcb\door.sys
4) This is the first close time. It is military time and must contain 4
digits as in 0400 for 4:00am. This is time that DAM will stop access
to the door.
5) This is the first open time. Again it must contain 4 digits and is
military time. This is the time DAM will let the door be used again.
6) This is the second close time and it follows all the rules of the first
close time.
7) This is the second open time. Again same as above
8) This is the number of seconds to pause after displaying one of the files.
This can be from 00-60 and must contain two digits.
You can set lines 4,5,6, and 7 all to the same time and the door will always
be open. That covers DAM.cnf.
The next step is to edit the DAM.nam file. This is the file where you put the
user's name and access level that you are going to allow to use the door.
Each entry contains two lines.
1) User's name. This is limited to 25 charaters and must match their name
in the door.sys file.
2) The minimum access that this user must have to access the door. This can
be from one to three digits allowing up to 999 access levels.
This file can have as many names as you like but each must have the two lines
described above. Also the total size of this file can not exceed 2000 bytes.
You may now edit the three display files.
1) Closed - this file is displayed when ever the door is closed.
2) Noname - this file is displayed when the user's name is not found in
the DAM.nam file.
3) Noaccess - this file is displayed if the user's name is found but
their access level is below that in the DAM.nam file.
The final step in getting DAM up and running is to but it in the batch file
that calls your door. An example batch file would be:
@echo off
c: ;change to drive that contains the DAM subdirectory
cd\dam ;change to the DAM subdirectory
dam ;run the DAM program
if errorlevel 1 goto end ;jump over the door
d: ;change to door drive
cd\door ;change to door subdirectory
door ;run door
board ;return to the BBS
The only thing here that needs any explaination is the errorlevel line.
DAM will return one of five errorlevels depending on what happened when
it ran.
00) Everything went fine. Let the user into the door.
01) Door is closed. The times set have the door closed at the present time.
02) The user's name was not found on the list.
03) Name was found, but the user's access was too low.
04) Some type of file error occured. This is handled internally. But would
suggest that you have it set-up wrong.
That pretty well does it. Be sure that PCBOARD creates a door.sys file
when it calls the door you will use DAM with. As a final note I have written
DAM to be as seemless as possible. If the user is on the list, has enough
access and the door is open they will never even know that it ran. I
programmed it completely in ML so it is extremly fast. I have not crippled
the program in any way. The only thing I have done is put a UNREGISTERED
screen in that will be removed when you register the program. Everything
else works as described. DAM works with the PCBOARD door.sys file. If your
software produces a door.sys with the first 15 lines the save as PCBOARD
then DAM will work for you. Have fun and enjoy
Steve
For more information or assistance I can be reached at
The Trader's Den BBS System
(316)442-7210
InterNet at RN.5087@ROSE.COM
RoseNet at SYSOP@Traders.Den
------------------------------------------------------------------------------
================================
DAM 1.0 REGISTRATION FORM
================================
Remit to: SDM Software
620 N. 'B' St.
Ark City, KS 67005
U.S.A.
------------------------------------------------------------------
| Item | Quantity | Price | Total |
|-------------------------------|----------|--------|------------|
| DAM version 1.0 | ________ | $15.00 | __________ |
| | | | |
| KS residents only - sales tax | | 6.25% | __________ |
| | | | |
| Shipping (Outside U.S. only) | ________ | $5.00 | __________ |
|---------------------------------------------------|------------|
| | |
| Total amount enclosed | __________ |
------------------------------------------------------------------
Payment by: ( ) Check or money order (U.S. funds only)
Name: ________________________________________________________
Company: ________________________________________________________
Address: ________________________________________________________
________________________________________________________
________________________________________________________
Phone: ________________________________________________________