home *** CD-ROM | disk | FTP | other *** search
/ ftp.wwiv.com / ftp.wwiv.com.zip / ftp.wwiv.com / pub / DOOR / CSV256.ZIP / CSVERIFY.DOC < prev    next >
Text File  |  1993-08-09  |  20KB  |  566 lines

  1.        (*****************************************************)
  2.        (* CSVerify Written by Gary Bouchard                 *)
  3.        (* SysOp - The Computer Store BBS                    *)
  4.        (* St. Augustine, Florida (904)794-0063              *)
  5.        (* Copyright(c) 1993....All Rights Reserved          *)
  6.        (* Released                 Modified                 *)
  7.        (*****************************************************)
  8.  
  9.                      Installation of CSVerify
  10.  
  11. BBS SETUP 
  12.  
  13. 1.  Create a directory to keep the CSVerify files in, we will use
  14.     \DOORS\CSVERIFY in this documentation. Copy all the files
  15.     from CSVERxxx.ZIP into the directory you have chosen.
  16.  
  17. 2.  Use PCBoards PCBSETUP program to add CSVERIFY to your
  18.     DOORS.LST file. You can add to or modify this file from the
  19.     "Main Board Configuration" option on the menu.
  20.  
  21.     IMPORTANT: In the column marked USER.SYS enter the following:
  22.  
  23.      For PCBoard version 14.x,  enter  O  (uppercase ohh) :)
  24.      For PCBOard version 15.x,  enter  Y  
  25.  
  26.     USERS.SYS is used by the program to write information back to
  27.     the users record after they are verified. 
  28.  
  29.     If you want new users to be automatically forced into the  
  30.     program when they log on to the BBS, enter a Y in the LOGIN
  31.     column and set the SEC level for the level you have assigned  
  32.     to new users.
  33.  
  34.                 Sample Screen From PCBSETUP - EDIT Doors File
  35.  
  36.  
  37.                               USER DOOR 
  38.   Filename Password Sec Login SYS  SYS  Shell Path to DOOR files
  39.   ======== ======== === ===== ===  ===  ===== ===================
  40.   CALLBACK           5    Y    Y    N     N   c:\doors\csverify\
  41.  
  42.  
  43.  
  44.     Exit PCBsetup, saving your changes. 
  45.  
  46.  
  47. 3.  Now create a batch file to start CSVERIFY. Below are two
  48.     samples, one for a single node, and the other for a  
  49.     multi-node setup, using PCBoards %PCBNODE% variable.  If you  
  50.     wish to have the ability to call up the program using either  
  51.     a DOOR number or name, call the batch file something you can  
  52.     relate the operation of the program to, such as CALLBACK. Do  
  53.     not put an extension on the batch file name.
  54.  
  55.     For example, if you use CALLBACK as the batch file name, and
  56.     also as the "filename" entry in DOORS.LST and have the
  57.     program set as DOOR 2, users could access the program by
  58.     entering OPEN 2, DOOR 2, or CALLBACK.
  59.     
  60.        ** Single Node BBS **           ** Multi-node BBS **
  61.                                        (Paid Registration Only)
  62.        @Echo Of                        @Echo Off 
  63.        C:                              F: 
  64.        CD \DOORS\CSVERIFY              CD \DOORS\CSVERIFY
  65.        CSVERIFY CSVERIFY.CNF           CSVERIFY CSVERIFY.CNF
  66.        CD \PCB                         CD \PCB%PCBNODE% 
  67.        BOARD                           BOARD 
  68.  
  69. *     For multi-node BBS's, there is no need to create a separate
  70.       configuration file for each node if you follow the instructions above.
  71.  
  72. *     The Freeware version of CSverify will only operate on 1 node. You must
  73.       specify which node will be used in the config file, by setting the
  74.       variable PCBNODE=# where #=the number number to run on.
  75.  
  76. *     To obtain a Multi-Node version of CSV see ORDER.CSV in the ZIP file.
  77. -----------------------------------------------------------------
  78.  
  79.                               CSVERIFY SETUP
  80.  
  81. 1.  Modify the CSVERIFY.CNF file for your configuration. Each  
  82.     line of the configuration line is shown below, followed
  83.     by a description of what each line means.
  84.  
  85.  
  86. SYSOP_NAME=Gary Bouchard
  87.  
  88.           Sysop's Name - Self Explanatory
  89.  
  90.  
  91. REGISTRATION=1234567890
  92.  
  93.           The number you get from The Computer Store BBS to make
  94.           your program registered. See ORDER.CSV for registration
  95.           information. 
  96.  
  97.  
  98. DIALSTRING=ATE0M1DT
  99.  
  100.           Init string to send to the modem during redial.
  101.  
  102.  
  103. LD_ACCESS=10288-1
  104.  
  105. *         Long distance dialing prefix or access number (8
  106. *         characters max). Note: Include the 1 after the dash. 
  107.  
  108. *         Example: LD_ACCESS=1 (to just dial 1 before the number)
  109.           
  110. *              or:  LD_ACCESS=10288-1  (for AT&T access).
  111.  
  112.  
  113. SUFFIX=1234567890
  114.  
  115.           Suffix tacked onto the end of the of a phone dialing
  116.           string for users that need to enter an account number
  117.           on KSU systems.  If your phone system requires you to
  118.           key in an account number after you dial a phone number
  119.           (for billing/accounting purposes), enter that number
  120.           here. 
  121.  
  122.           If you do not need this feature, leave this field
  123.           blank.
  124.  
  125.  
  126. ALLOW_LD=YES
  127.  
  128. *         To allow NO long distance verifications: 
  129. *           In the file AREACODE.CSV, enter only your area code.
  130. *           In the file EXCHANGE.CSV, enter only local exchanges.
  131.  
  132. *         To ALLOW verification of ALL long distance callers:
  133. *           Make ALLOW_LD=YES
  134.  
  135. *         To ALLOW restricted verification of long distance
  136. *         callers by areacode:
  137. *           Make ALLOW_LD=NO
  138. *           List area codes you will verify from in AREACODE.CSV.
  139.              
  140.  
  141. LOGOFF=YES
  142.  
  143.           If you allow long distance calls, entering YES will
  144.           configure the program to verify the number, then once
  145.           the user is upgraded, tells the user that he/she is now
  146.           verified, and tells them to call back for access. The
  147.           program will then drop carrier and recycle.
  148.  
  149.           Answering NO allows the user to continue on the BBS
  150.           AFTER the verification is successful. If you have
  151.           ALLOW_LD set to YES, this means the long distance users 
  152.           will remain logged on to your BBS at YOUR expense. 
  153.  
  154.  
  155. METERED=NO
  156.  
  157.           METERED is a Yes/No answer. If BBS line is charged by a
  158.           metered rate, placing METERED=YES in line 5 will have
  159.           the BBS disconnect after verification of the user, and
  160.           display the file identified in line 21 (HANGUPFILE).
  161.  
  162.  
  163. REDIALS=3
  164.  
  165.           Maximum number of redial attempts to make.
  166.  
  167.  
  168. DIAL_TIMEOUT=60
  169.  
  170.           Redial timeout in seconds (how long to wait for an
  171.           answer).
  172.  
  173.  
  174. ADDTIME=10
  175.  
  176.           Additional time in minutes to give to a successful
  177.           callback.
  178.  
  179.  
  180. VERIFIED_LEVEL=60
  181.  
  182.           Security level given to verified callers, after the
  183.           callback verification is successfully completed.
  184.  
  185.  
  186. EXPIRED_LEVEL=30
  187.  
  188.           Expired Security Level given to caller. NOTE: PCBoard
  189.           Defaults this to 0 .
  190.  
  191.  
  192. LONG_DISTANCE_LEVEL=80
  193.  
  194.           Security level given to Long distance verified callers.
  195.  
  196.           If you want long distance callers to have the same
  197.           security level as local callers, then set this to the
  198.           same value as VERIFIED_LEVEL.
  199.  
  200.  
  201. WELCOME=c:\doors\csverify\welcome.csv
  202.  
  203.           Path & name of welcome file that will be displayed to
  204.           the user when they enter the program.
  205.  
  206.  
  207. INSTRUCT=c:\doors\csverify\instruct.csv
  208.  
  209.           Path & name of instructions file for caller.
  210.  
  211.  
  212. TRASHFILE=c:\doors\csverify\trashno.csv
  213.  
  214.           Path & name of the trash numbers file. Enter your BBS
  215.           number in this file. Each user that verifies with the
  216.           CSVERIFY program will be added to this list. This keeps
  217.           users from verifying multiple times with the same phone
  218.           number.
  219.  
  220.  
  221. EXCHANGEFILE=c:\doors\csverify\exchange.csv
  222.  
  223.           Path & name of valid local exchanges list
  224.  
  225.  
  226. AREACODEFILE=c:\doors\csverify\areacode.csv
  227.  
  228.           Path & name of valid local area codes list.
  229.  
  230.  
  231. LONGDISTANCE=c:\doors\csverify\longdist.csv
  232.  
  233.           Path & name of long distance file displayed to caller
  234.  
  235.  
  236. HANGUPFILE=c:\csverify\hangup.csv
  237.  
  238.           Path & name of file displayed to user instructing them
  239.           to call back if long distance or metered line.
  240.           (HangupFile)
  241.  
  242.  
  243. ADD_COMMENT=YES
  244.  
  245.           If YES, Comment #2 in the users record is updated with
  246.           the phone number used to verify him/her. The text "XXX
  247.           XXX-XXXX was/not verified." is inserted. In this way
  248.           you can tell which users in your users file have been
  249.           verified by this program.
  250.  
  251.           If NO, then NO information will be written to this
  252.           field.
  253.  
  254.  
  255. CHANGE_BDPHONE=No
  256.  
  257.           If YES, the B/D Phone Number in the users record is
  258.           optionally replaced with the telephone number the user
  259.           entered into the program to be verified. This phone
  260.           number is formatted to PCBoard specs. 
  261.  
  262.           If NO, then no change will be made to this field.
  263.           
  264.  
  265. PBX=9,
  266.  
  267.           PBX access number if any. If you have to dial 9 as an
  268.           example to get an outside line. a comma represents a
  269.           pause to the modem for the outside line to switch. If
  270.           nothing is required, just make the line blank after the
  271.           equals sign.
  272.  
  273.  
  274. MIN_SECURITY=PCBSECURITY
  275.  
  276.           Security level needed for caller to use door. This is
  277.           the minimum security level the user must have to enter
  278.           the program. If you want to use the default value set
  279.           in the BBS software, then type PCBSECURITY.
  280.  
  281.           Example;    MIN_SECURITY=60
  282.                
  283.                or:    MIN_SECURITY=PCBSECURITY
  284.  
  285.  
  286. EXPIRATION_DAYS=1
  287.  
  288.           EXPIRATION_DAYS value on successful verification of a
  289.           user. Enter the number of days to give the user from
  290.           the date of verification. Leaving this option blank
  291.           defaults it to 365 days or 1 year. 
  292.  
  293.           Example: Setting this option to 730 would set the users
  294.           expiration date for two years from the date they
  295.           successfully verified.
  296.  
  297.  
  298. LD_EXPIRATION=1
  299.  
  300.           LD_EXPIRATION=## is a variable that allows you to set
  301.           the expiration date of long distance callers to a
  302.           shorter time period than local or regular users. This
  303.           works the same way that EXPIRATION_DAYS works.
  304.  
  305.  
  306. INTERNATIONAL=NO
  307.  
  308.           INTERNATIONAL Allows Callbacks to take place using the
  309.           International Phone numbers. Place a NO there if you do
  310.           not use International numbers.
  311.  
  312.  
  313. TIMETABLE_FILE=C:\DOORS\CSVERIFY\TIMETAB.CSV
  314.  
  315.           This is the path and name of your file that you will
  316.           use for your timetable. I seriously recommend that you
  317.           follow my format in the file or it may not work.
  318.  
  319.  
  320. CALLTIME_FILE=C:\DOORS\CSVERIFY\CALLTIME.CSV
  321.  
  322.           CALLTIME_FILE is the path and name of a display file to
  323.           tell the caller that he cannot be called back at this
  324.           time because the timetable does not allow long distance
  325.           callbacks in this time slot.
  326.  
  327. DISPLAY_NAME=YES
  328.  
  329.           Some SysOps are worried about giving out phone numbers of there
  330.           users. When CSV finds a number in the TRASHNO.CSV file that has been
  331.           used, the program will display the Number, Name, and Date & Time of
  332.           the caller that used this number. If you do not wish to have that
  333.           information revealed to a caller when his number is rejected, you
  334.           may set this variable to DISPLAY_NAME=NO, and the program will only
  335.           show the Phone number entered as being used previously.
  336.  
  337. PCBNODE=1
  338.  
  339.           This variable allows the SysOp to define what node the program will
  340.           be run from, rather than hardcoding node 1 into the program. If this
  341.           variable is not found in the config file, the program will default
  342.           to node 1.
  343. ----------------------------------------------------------------
  344.  
  345. 2. Make the necessary changes to the following files:
  346.  
  347. AREACODE.CSV
  348.  
  349.      This is a list of valid area codes that the program will
  350.      call back to verify. 
  351.  
  352. *    If you have ALLOW_LD set to YES, the program will NOT check
  353. *    this file. It will allow all area codes to be verified.
  354.  
  355. *    If you have ALLOW_LD set to NO, then ANY area code in this
  356. *    file will be accepted as an allowable area code to verify.
  357.  
  358.      Example:   904
  359.  
  360.  
  361. EXCHANGE.CSV
  362.  
  363.      CSVERIFY will ask the user if the number is long distance if
  364.      the area code does not match the entry in AREACODE.CSV or
  365.      the exchange entered does not match what you specify in this
  366.      exchange file.
  367.  
  368.      example;
  369.  
  370.      692      ; Sample Exchange listing.
  371.      823      ; these are all local numbers in my calling   area
  372.      824      ; Anything after column 4 is ignored, so you can
  373.      825      ; make comments on each line if you like.
  374.      826
  375.  
  376.  
  377. TRASHNO.CSV
  378.  
  379.      This is a trashcan type of file. You can add numbers to this
  380.      list that you want rejected should they be entered by a
  381.      user. Each time a user is successfully verified, the phone
  382.      number used by the caller is added to this list.
  383.  
  384.      The TRASHNO.CSV file MUST have at least one phone number in
  385.      it before you use it, namely your BBS number, or the program
  386.      will not operate properly.
  387.  
  388.      Example:
  389.  
  390.      907 555-1212
  391.      
  392.  
  393. TIMETAB.CSV
  394.  
  395.      This file can be modified for your needs, or left at the
  396.      default settings.
  397.  
  398. -----------------------------------------------------------------
  399.  
  400. 3.  Make changes to the following files if you wish to customize 
  401.     them for your BBS. The text files included are used by my    
  402.     board, and can be modified to your liking. They have the
  403.     capability, as you will see, to expand the standard
  404.     PCBoard @xxxx@ macros, and color macros.
  405.  
  406.  
  407. CALLTIME.CSV
  408.  
  409.      This file will display to users if:
  410.  
  411.        You have ALLOW_LD=YES and have defined allowable
  412.        times in the TIMETAB.CSV file.  
  413.  
  414.  
  415. HANGUP.CSV
  416.  
  417.      This file is displayed to users:
  418.  
  419.       If you allow long distance callbacks, and have LOGOFF=YES.
  420.  
  421.       If you have METERED=YES. 
  422.  
  423.  
  424. INSTRUCT.CSV
  425.  
  426.      Instructions to the user on how to complete the callback
  427.      verification.
  428.  
  429.  
  430. LONGDIST.CSV
  431.  
  432.      Displays to user if you have ALLOW_LD=NO.
  433.  
  434.  
  435. WELCOME.CSV
  436.  
  437.      This is the opening screen shown to all users when they
  438.      enter the program.
  439.  
  440.  
  441.  
  442. -----------------------------------------------------------------
  443.                             MISCELLANEOUS NOTES
  444.  
  445.  
  446. CALLER LOG
  447.  
  448. Activities performed by the program are logged into your PCBoard Callers log.
  449. If you have multiple nodes, the program will make the entry into the proper
  450. caller# log.
  451.  
  452. INTERNATIONAL SUPPORT
  453.  
  454. The program will support the 13 digit international phone number now. To
  455. activate this feature, just add the keyword "INTERNATIONAL" to line 23 of the
  456. configuration file, and it will accept the long dialing string. What is not
  457. available here is support for local exchange/area code  verification.
  458.  
  459. If the caller enters a number that cannot be broken up into Country Code, City
  460. Code, and number, CSV will automatically prompt the user to reenter the
  461. number.
  462.  
  463. CALLBACK ONLY FEATURE (REGISTERED VERSION ONLY)
  464.  
  465. CSVerify has the ability to perform CALLBACK only type calls. Once a user has
  466. registered, and been successfully verified, you can set the program up to just
  467. disconnect the caller, and have CSV call the user back. Once connected, the
  468. user is returned to PCBoard. In order to accomplish this task, you must in
  469. some way send an environment variable to CSV. CSV looks for the environment
  470. variable "PCBDOOR" when it is executed. If PCBDOOR is set to "CB" that the
  471. program will do a CALLBACK only, rather than a registration verification.
  472.  
  473. You can do this one of two ways, and I'll give you a couple of
  474. examples
  475. here;
  476.  
  477. 1.  From the PCBoard menu, I have the letters "CSV" which open  
  478.     the callback door. If I type CSV<space>CB, then when CSV 
  479.     executes, it is in callback only mode. If I type CSV by  
  480.     itself, then the program is in registration/verification
  481.     mode. Typing the "CB" after the CSV command places the "CB"
  482.     into the environment variable PCBDOOR, and CSV will pick it
  483.     up.
  484.  
  485. 2.  You can create a separate batch file for PCB to execute for
  486.     callbacks which would contain a line like "SET PCBDOOR=CB".
  487.     You would then call the CSV program as documented. At the end
  488.     of the batch file you place the command "SET PCBDOOR=" which
  489.     would clear the environment variable for you when it was
  490.     finished.
  491.  
  492.  
  493. OTHER STUFF!
  494.  
  495. Reverifications -
  496.  
  497. If you have the users expiration security level equal to that of a New user,
  498. CSV will allow reverification of the phone number without checking the
  499. trashfile. Once the user is reverified, the program will reset the expiration
  500. date ahead x number of days as you specified.
  501.  
  502. Let me know if you need something else added to the program or datafile.
  503.  
  504. I use the History file as an addendum to the documentation, and there is a lot
  505. of information contained in the file, so please pay attention to what is in
  506. there, ok?
  507.  
  508.                           -= Legal Stuff =-
  509.  
  510. This is a Copyrighted(c) program. It cannot be altered, disassembled, de-
  511. compiled, or hacked without my expressed written consent. I maintain the
  512. rights to the source code, and will support the program as long as there is an
  513. interest in it. I cannot be responsible for any damage that may result from
  514. the use of this program. Though the program appears to be "BUG FREE" there
  515. maybe something that I did not catch..
  516.  
  517. As Sam Smith say's -> "You've Been Warned!".
  518.  
  519. This ZIP file was assembled using the Authenticity Checking Capabilities of
  520. PKZIP(tm) with a label of;
  521.  
  522. "The Computer Store BBS -> 904-794-0063".
  523.  
  524. If Authenticity verification was not present when you unzipped this file, or
  525. the Authenticity check does not show the above, then DO NOT use it, as it has
  526. been altered, and may not be safe to use.
  527.  
  528. This software is FREE to my fellow SysOps who operate 1 node, non-commerical
  529. BBS systems.
  530.  
  531. If you desire a Multi-Node version, or wish to use this software in a
  532. commerical application, please refer to the ORDER.CSV form included in this
  533. ZIP file.
  534.  
  535. To obtain your FREE single node registration key, contact my BBS, and in a
  536. <C>omment to the SysOp, please leave your name, and the EXACT NAME of your BBS
  537. as defined in PCBoard.DAT.
  538.  
  539. In reply to your message, I will attach a key for you to download.
  540.  
  541.                             -= Credits =-
  542.  
  543. This program was written using Clark Developments PCBoard Toolkit, and
  544. supports the PCBoard @xx@ macros in its display files. This allows for
  545. tremendous customization. As a side benefit, the program also inherits the
  546. security features, and integrity that PCBoard offers, along with
  547. Multi-National support, and fully supports the use of Fossil Communications
  548. drivers.
  549.                             -= Technical =-
  550.  
  551. The system used to write the program is a IBM PS/2 model 57 486 with 160meg of
  552. Disk, and 12megs of RAM, MS-DOS ver 6.0, and 4DOS ver 4.2 and DoubleSpace
  553. without any problems.
  554.  
  555. The system is attached to a Token Ring Novell 3.11 server.
  556.  
  557. The program was tested using PCBoard(tm) ver 15.0/10 on a single node system.
  558.  
  559.                                 -= Notes =-
  560.  
  561. I am a member of the SmartNet(tm) NetMail Network, and can be reached thru
  562. just about any of the conferences available. My BBS # is on the top of page
  563. #1, and is a free open access system upon registration. I request that any
  564. questions or problems you encounter with this program be directed to me on my
  565. BBS or thru the Net/Mail network. I can also be reached through RoseNet.
  566.