home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Windoware
/
WINDOWARE_1_6.iso
/
winutil
/
bmps10
/
bmps10.doc
next >
Wrap
Text File
|
1992-04-23
|
6KB
|
123 lines
Program: Batch Menu Password System (BMPS)
Version: 1.0
Author: George Spafford
Date: 04/23/92
Purpose:
To encrypt a batch file and associate a password with it in order to
provide a access limitation to the .BAT commands.
Overview:
BMPS when invoked as "PASSWORD /C" will request the name of the source
.BAT file and the password that you want to associate it. It WILL overwrite
the source .BAT file so make sure that you have either a copy or a printout
of it. Also, make sure that you write down the password that you associate
with it. Note, the passwords are case INsensitive - meaning that it doesn't
matter if you use capital letters or not.
This password is to limit user access only. It does NOT affect the encryption
methodology used at all. In fact, if you only want to encrypt the .BAT file,
you do not have to specify a password at all. In this event, when you create
the encrypted file using the /C switch, just hit <enter> when it asks you for
the password to associate with the .BAT file.
ONCE A BATCH FILE HAS BEEN ENCRYPTED, IT CAN NOT BE UN-ENCRYPTED. When BMPS
runs an encrypted file, it does it internally. This means that it does NOT
create any form of temporary .BAT file that it executes. Once encrypted, the
file stays encrypted. One note to mention, since the encrypted file serves
more as a data file after encryption rather than as a .BAT file, you can name
it whatever you'd like. You do not have to stay with the .BAT naming
convention, though it does make them easier to find.
Use:
Creation:
PASSWORD /C This runs the encryption portion of the program.
It will ask you the name of the .BAT file to convert
and the name of the password to associate with it.
Running:
PASSWORD myfile.bat This runs the encrypted myfile.bat and will ask
the user for the password that is associated with
it.
REMEMBER TO MAKE BACKUPS AND THEN TAKE THE BACKUPS OFF OF THE SYSTEM!
If you do not want to type PASSWORD every time, you can rename the .EXE file to
whatever you want. Put the .EXE somewhere in your PATH - it will look for the
.BAT files to be in the active directory. It will not look for them. This way,
you could have PASSWORD in your C:\utils directory and run it from there if
you are in your D:\ directory working on .BAT files.
Testing & Errors:
This program has been tested under DOS 5.0 and Norton 6.01 NDOS. If you have
an "OUT OF ENVIRONMENT SPACE" error, edit your CONFIG.SYS. You need to modify
your SHELL statement to give you a larger environment space. For example:
SHELL=C:\DOS\COMMAND.COM C:\DOS /E:512 /P
The /E:nnn is what actually alots your environment size and the /P switch
assigns this as the permanent command processor. If you use Norton's NDOS, it
would be:
SHELL=C:\NORT60\NDOS.COM C:\NORT60 /E:512 /P
This is assuming that your directory is C:\NORT60 - if it isn't, then use your
directory that is appropriate.
If you get a message to the effect that the command processor can not be found,
make sure that COMMAND.COM, 4DOS.COM or NDOS.COM resides in your PATH statement
somewhere (for most users, COMMAND.COM is the answer). The other possibility
is that your COMSPEC statement points at the wrong directory or file.
PASSWORD requires about 50K of memory when it is operating. This amount will
vary depending upon the size of the .BAT file that it is processing.
REGISTER ME:
BMPS is a shareware product. If you find that it is useful within 30 days of
your first use, please register it. It is $10 per concurrently used copy and
site licenses are negotiable based on the number of PC's that will use it. If
you continue to use the program after the 30 day trial period, you are violating
the conditions of your site license and are essentially stealing this software.
Only by your support can I continue to develop shareware at reasonable prices.
If you are a shareware distributor, please feel free to distribute BMPS as long
as you do not charge more than $10 for the service and that you make it clear
that you are only a distributor (a general note at the front of your catalog is
fine - I am sure that you already have one).
Please make payments in American funds to:
George Spafford
3001 LakeShore Drive, #329
St. Joseph, MI 49085
If you have any comments, I'd like to hear those as well. I can be reached on
the following BBS (as well as EXEC-PC and AV-SYNC):
Data: (616) 468-5026 Queued Access BBS 14.4Kb USR Dual HST
Sysop: Tim Akright
And now for the unpleasantries:
Code CopyRight: January 1992
BMPS IS DISTRIBUTED AS IS. THE AUTHOR (GEORGE SPAFFORD) MAKES NO
WARRANTY OF ANY KIND, EXPRESSED OR IMPLIED, INCLUDING BUT NOT LIMITED
TO WARRANTIES OF MERCHANTABILITY OR FITNESS FOR A PARTICULAR PURPOSE,
WITH RESPECT TO THIS SOFTWARE AND DOCUMENTATION. IN NO EVENT SHALL
THE AUTHOR BE LIABLE FOR ANY DAMAGES, INCLUDING LOST PROFITS, LOST
SAVINGS, OR ANY OTHER INCIDENTAL OR CONSEQUENTIAL DAMAGES ARISING
OUT OF THE USE OF OR THE INABILITY TO USE THIS PROGRAM.
----------------------------------------------------------------