home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1993 #3 / NN_1993_3.iso / spool / comp / lang / pascal / 8602 < prev    next >
Encoding:
Internet Message Format  |  1993-01-28  |  3.0 KB

  1. Path: sparky!uunet!munnari.oz.au!sgiblab!spool.mu.edu!uwm.edu!rpi!ghost.dsi.unimi.it!univ-lyon1.fr!pc110-02.insa-lyon.fr!ppollet
  2. From: ppollet@cismibm.univ-lyon1.fr (Patrick POLLET)
  3. Newsgroups: comp.lang.pascal
  4. Subject: Re: Machine specific info needed...
  5. Date: Wed, 27 Jan 1993 09:46:44 GMT
  6. Organization: INSA  CENTRE INFORMATIQUE DU 1er CYCLE
  7. Lines: 59
  8. Message-ID: <ppollet.186.728128004@cismibm.univ-lyon1.fr>
  9. References: <1993Jan27.033054.16275@nmsu.edu>
  10. NNTP-Posting-Host: pc110-02.insa-lyon.fr
  11.  
  12. In article <1993Jan27.033054.16275@nmsu.edu> ahall@dante.nmsu.edu (HALL) writes:
  13. >From: ahall@dante.nmsu.edu (HALL)
  14. >Subject: Machine specific info needed...
  15. >Date: Wed, 27 Jan 1993 03:30:54 GMT
  16.  
  17. >I am writting a program that checks to see if it is
  18. >being run on the machine it is liscensed for.  I
  19. >need to be able to read some piece of data specific
  20. >to each individual machine.  Similar to reading the 
  21. >number off of an ethernet card, however most of the
  22. >machines will not have an ethernet card.  Is there
  23. >something in BIOS or on a motherboard that could be
  24. >read in Pascal?  Any help on this is GREATLY
  25. >appreciated.
  26.  
  27. >Thanks
  28. >A. Hall
  29.  
  30. You could read the serial number of the hard disk, that
  31. is somewhere in its boot sector. Check the FAQ or use 
  32. MsDos interrupt (21h function 69h) ...
  33.  
  34.  That's only part 1. Then you must embed that information
  35. somewhere into the EXE file for it to check it when you 
  36. launch it. 
  37.  
  38.   This requires an external program (not to be disclosed !!!)
  39. that update that information during the installation of
  40. you program on a given hard disk. I said not to be disclosed
  41. otherwise anybody could reinstall the program on another 
  42. machine by copying it and re-run the "installer". unless
  43. you add a counter somewhere in the EXE ... 
  44.   but ....    however you can also..
  45.   but  ..... however  you can also....
  46.  .....
  47.      This is the endless story of the cops and the thieves .... 
  48.  
  49.  Do you really want to bother your customers with a copy protection
  50. scheme... And be ready to help them in case their hard disk do 
  51. really crash and they cannot re-install you program... So they will call on 
  52. you, prove that they are regular buyers  ....
  53.  
  54.    I do have a program like this that I use to lock any EXE or COM 
  55. applications on hard disks to prevent  students to copy them  on diskettes
  56. and run them on their personal machines.I use it only with programs
  57. for which I have a limited number of licenses . But that program uses
  58. some technics well known to virus developpers to hook itself in a binary
  59. file. That something I cannot disclose in a news group....
  60. ppollet@cismibm.univ-lyon1.fr (Patrick POLLET)
  61. --------------------------------------------------------
  62. Dr Patrick L.Pollet
  63. Institut National des Sciences Appliquees
  64. Centre Informatique du 1er Cycle  Bat 110
  65. 20 Avenue A.Einstein
  66. 69621 Villeurbanne Cedex France
  67. --------------------------------------------------------
  68. Phone: 72 43 83 80 -   la premiere erreur c'est
  69. Fax  : 72 43 85 33 -   de se lever le matin  ... GASTON
  70. -------------------------------------------------------
  71.