home *** CD-ROM | disk | FTP | other *** search
/ Media Share 9 / MEDIASHARE_09.ISO / utility / pbaseiv.zip / P4MSC004.TIP < prev    next >
Text File  |  1991-12-16  |  3KB  |  73 lines

  1. If you want to control access to your PC, here's a program
  2. that may be just what you're looking for. It's not intended
  3. for material that demands maximum security, but it should
  4. keep anyone who's not technically sophisticated from
  5. tampering with your computer.
  6.  
  7. To create the program, SECRET.COM, copy SECRET.SCR to an
  8. ASCII text file on your hard disk. [You can do this
  9. automatically by pressing the Alt-F key.] Create an
  10. 8-character password in place of the word `Password'.
  11. Finally, run the script through DEBUG by typing
  12.  
  13. DEBUG < SECRET.SCR
  14.  
  15. at the DOS prompt. The program SECRET.COM will appear in the
  16. current directory.
  17.  
  18. To restrict access to your PC, invoke the new SECRET.COM at
  19. the beginning of your AUTOEXEC.BAT file. Anyone trying to
  20. boot your computer will have to know your password to get
  21. through.
  22.  
  23. Lee Carpenter
  24. Rabun Gap, Georgia
  25.  
  26. Editor's note: Lee Carpenter, the 17-year-old author of this
  27. program, has created a very useful utility for PC World
  28. readers. I made a few changes to Carpenter's code so the
  29. password is easier to change. In addition, the program will
  30. now bypass DOS calls for character I/O, preventing someone
  31. from getting around the program by pressing <Ctrl>-<Break>.
  32.  
  33. Still, as the author points out, the protection isn't
  34. foolproof. Depending on your system, the program can be
  35. circumvented by booting from a floppy, or by hitting
  36. <Ctrl>-C between the time AUTOEXEC.BAT starts running and
  37. the time this program is invoked. However, SECRET.COM will
  38. shield your PC from users who aren't knowledgeable enough to
  39. try these tactics.
  40.  
  41. Finally, the password must be 8 characters long--no more, no
  42. less. Also, it's case sensitive; if you use capital letters
  43. in it, you'll have to do the same when you boot.
  44.  
  45.  
  46. Debug Script to Create SECRET.COM
  47. (Warning: Change password before using!)
  48.  
  49. ---- BEGIN LISTING ----
  50. N secret.com
  51. E100 BE 48 01 E8 30 00 C6 06 47 01 00 BF 7C 01 B9 08
  52. E110 00 32 E4 CD 16 3A 05 74 04 FE 06 47 01 BE 7A 01
  53. E120 E8 13 00 47 E2 EB BE 6A 01 80 3E 47 01 00 75 01
  54. E130 C3 E8 02 00 EB CA B4 0F CD 10 FC AC 3C 24 74 06
  55. E140 B4 0E CD 10 EB F4 C3 00 0D 0A 45 6E 74 65 72 20
  56. E150 38 2D 63 68 61 72 61 63 74 65 72 20 41 63 63 65
  57. E160 73 73 20 43 6F 64 65 3A 20 24 0D 0A 41 63 63 65
  58. E170 73 73 20 64 65 6E 69 65 64 24 2A 24
  59. A17C
  60. DB 'Password'
  61.  
  62. RCX
  63. 84
  64. W
  65. Q
  66. ---- END LISTING ----
  67.  
  68. Title: Keeping Your Secrets Secret
  69. Category: MSC
  70. Issue date: Nov 1991
  71. Editor: Brett Glass
  72. Supplementary files: NONE
  73.