home *** CD-ROM | disk | FTP | other *** search
/ Media Share 9 / MEDIASHARE_09.ISO / pcboard / 150_tips.zip / MSGS.ZIP / QWK.MSG < prev    next >
Text File  |  1993-05-12  |  4KB  |  91 lines

  1. Date: 05-11-93 (11:05)              Number: 63055 of 63372 (Refer# 62898)
  2.   To: JIM JUSKO
  3. From: DAVID TERRY
  4. Subj: BETA report
  5. Read: 05-11-93 (21:44)              Status: PUBLIC MESSAGE
  6. Conf: BETA (6)                   Read Type: MAIL FROM YOU (R/O) (+)
  7.  
  8. -> What about adding a security level for the QWK command?  I limit my "QWK"
  9. -> door to subscribers only.
  10.  
  11. Since QWK is the same thing as reading a message it inherits the security level
  12. for reading messages.
  13.  
  14. In fact, QWK is even more closely related to the R;Z command.  The only
  15. difference being that the information is put into a QWK packet instead of just
  16. a text file.
  17.  
  18. I would encourage your users to make use of QWK ... it'll mean less time spent
  19. on your system by an individual user and more time available to other callers
  20. that want to get online.
  21.  
  22. Of course, you could always put QWK into your CMD.LST file and then place a
  23. security level requirement on it!  In other words, if it's not built right into
  24. v15.0, there is very likely a way to make v15.0 do what you want!  <grin>
  25.  
  26. This is an example of what I mean:
  27.  
  28.           Command     Security  PPE/MNU File -or- Keystroke Replacement
  29.       ══════════════  ════════  ═══════════════════════════════════════
  30.    1) QWK                30     QWK^M
  31.  
  32. Now if a user with a security level LESS THAN 30 tries to use the QWK command
  33. PCBoard will inform the user that he does not have sufficient security.
  34.  
  35. On the other hand, everyone else will then be prompted:
  36.  
  37.         QWK Commands: (D)ownload, (U)pload?
  38.  
  39. Notice that the above has disabled the ability to simply type QWK D and QWK U.
  40. But there are at least two different ways that we can work around this:
  41.  
  42.           Command     Security  PPE/MNU File -or- Keystroke Replacement
  43.       ══════════════  ════════  ═══════════════════════════════════════
  44.    1) QWK                30     QWK^M
  45.    2) QWKD               30     QWK D^M
  46.    3) QWKU               30     QWK U^M
  47.  
  48. Now tell your callers to use QWK to be prompted for the command, or to use QWKD
  49. for a download or QWKU for an upload.
  50.  
  51. You could even make it QWK for a download and REP for an upload.  The way you
  52. define things in v15.0 is largely up to you.
  53.  
  54. And here is the second way that you could do it:
  55.  
  56.           Command     Security  PPE/MNU File -or- Keystroke Replacement
  57.       ══════════════  ════════  ═══════════════════════════════════════
  58.    1) QWK                30     QWK.PPE
  59.  
  60. Notice that this time we're going to launce a PPE file.  That is, a simple
  61. program written using the PPL language, that will reconstruct the caller's QWK
  62. command (to include the D or U and even the protocol letters, etc).
  63.  
  64. Here is what the PPL would look like:
  65.  
  66.         kbdstuff "QWK;"+tokenstr()+chr(13)
  67.  
  68. All this PPL really does is stuff the keyboard with the QWK command, a
  69. semi-colon separator, and then the tokens (IF ANY) that the caller may have
  70. supplied when he first issued the QWK command, and finally, a chr(13) is simply
  71. a carriage return.
  72.  
  73. Finally...  you could get even more complex here.  Inside your PPL program you
  74. could even have conditional tests to let users use the QWK command only during
  75. certain hours of the day, only if their file ratios are in check, only if their
  76. name is on some kind of list.  When you can program, you can do ANYTHING you
  77. want!
  78.  
  79. So now you've found a several of ways that YOU can add a security level
  80. requirement, even if one is not built right into PCBoard.
  81.  
  82. -> What about modifying for attachment of files.  Like a security needed to do
  83. -> so.
  84.  
  85. There is no security level for attaching a file.  But you could write a PPL
  86. program and attach it to the PCBTEXT prompt that is used to ask the caller for
  87. Editor Commands.  Your PPL program could then require certain security levels,
  88. etc.
  89.  
  90. PCBoard v15.0's flexibility ... just about anything is possible.  Have fun!
  91.