home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Otherware
/
Otherware_1_SB_Development.iso
/
amiga
/
comms
/
bbs
/
sec1_1.lha
/
security.doc
< prev
next >
Wrap
Text File
|
1992-01-24
|
5KB
|
112 lines
Security Check V1.1 for DLG BBSs
by
Doug McLean
Changes:
--------
This update is in response to two requests.
First, the program will no longer accept a return as the first character.
The user has to actually type something. This is because many users
are in the habit of automatically pressing return at the end of the
batch file, no matter what their screen says.
Second, when a user fails the security check, this is now written to the
sysop's event file, so failed checks are brought to the sysop's attention
when he logs on (along with the normal DLG things, like new private
messages).
See the section on Setting It Up for changes to your login.dlgbatch
script.
What it does:
-------------
If you do not validate users via a voice phone call (I don't bother), then
this little program might help you sort the "real" users from the fake
ones. Every BBS sometimes has people who call and don't supply their
real name (or other valid info) when they sign up. They make up a name
and other data just so they can get an extra account (perhaps so they can
play as sevaral players in games, or maybe they plan to try to crash your
system).
The program will ask users a question from their user data file every 5th
call. Questions may be one of:
- Last 4 digits of phone number,
- Last 3 digits of postal code,
- Year of birth,
- Month of birth,
- Date of birth.
In my experience, users who call a BBS and supply false information seldom
write these things down, they remember only the name and password. On the
other hand, users who are real will easily be able to provide the above
information.
Users will be asked one of the above questions. If they answer correctly,
the security check will pass. A wrong answer will cause the security check
to fail. In either case, the result it written to USER:SECURITY.LOG.
The program will NOT do anything other than record the results of the
security check to the log file; it is up to you to take whatever action
you deem appropriate.
Also, the program maintains a very small data file in the users directory
(SECURITY.MAD), delete these (use a batch file!) if you remove the
security check program.
Setting it up:
--------------
To install the security check, proceed as follows:
[1] Copy the SECURITY program to DLG:
[2] Add the following line as the last line in your login.dlgbatch
file (located in DLGCONFI:/BATCH/):
dlg:security %PORT SYSOP_NAME
EXAMPLE: dlg:security %Port Doug_McLean
Note the sysop's name must have the underscore replacing
spaces, just like the directory names of users (the program
uses this as the sysop's user directory).
[3] Optionally, copy the file SECURITY.FAIL to the text directory
(DLGCONFIG:TEXT/). This file may be edited, and is displayed
if present when a user fails the security check. If this file is
missing, "Security check failed!!!" will be printed instead.
Notes:
------
- This program has only been tested with my version of DLG.
(update Dec-01-91?). I don't know how it will work (if at all) with
other versions. Try it and see!
- You will have to edit or delete the log file yourself, the program will
not do this for you. I suggest using a script run by TPTCron to copy
and delete the file weekly. Such a script might look like:
copy user:security.log user:security.bak
delete user:security.log
This way the log never gets too long, and you always have last weeks
log too...
- The user does not see anything if the security check is not required
at this time. Once the program determines that a chack is not needed
(not a 5th call), it exits without printing anything.
Legal Stuff:
------------
This program is PD. Do what you will with it. If you like it, great! If
you don't, or it messes up your system, it is YOUR problem. I refuse to
accept any responsibility (especially legal responsibility) for anything
this program does or does not do. I wrote this program to use on my BBS,
and it works fine for me, so I'm happy.
But, if you like this program, and would like to see improvements and/or
enhancements, then send me netmail at FIDO 1:255/9 to let me know that you
are using it. I won't bother with updates if nobody but myself uses it!
Send bug reports to the same FIDO address, or to
Doug McLean
c/o The Mad Scientist's BBS
145 Bedell Ave.
Saint John, NB
Canada, E2K 2C3
The above address is my parents, I am moving soon so I won't post mine.
Mail sent to me at the above address will eventually get to me. The FIDO
address above will (hopefully) be the same.