home *** CD-ROM | disk | FTP | other *** search
/ CP/M / CPM_CDROM.iso / mbug / mbug084.arc / LOCK.DOC < prev    next >
Text File  |  1979-12-31  |  896b  |  30 lines

  1.     LOCK.COM, UNLOCK.COM
  2.  
  3.  
  4. The programs LOCK and UNLOCK are for the protection of those
  5.  very private files you might leave in a shared system, or
  6. that other people might get a chance to copy off one of your
  7. disks.
  8.  
  9. Give
  10.  
  11.     LOCK (filename or filematch) (keyword)
  12.  
  13. to lock one or more (up to 32) files.  The keyword can be up to
  14. eight characters (no distinction between lower case and
  15. capitals).  Once a file is locked, any attempt to read it with
  16. TYPE, or ED, or a word processor, or to execute it as a .COM
  17. file, will just give the message
  18.  
  19.     ==<Locked file>==
  20.  
  21. And if your local spooks get out a debugger such as DDT, or
  22. whatever, to look into the file itself, they'll find that the
  23. contents have been fairly thoroughly scrambled.
  24.  
  25. To reverse the process, give
  26.  
  27.     UNLOCK (filename or match) (keyword)
  28.  
  29. - with, of course, the same keyword.
  30.