Article View: comp.os.msdos.programmer
Article #147Re: Anti-Piracy by Serial Number ?
From: Vesselin Bontchev
Date: Wed, 04 Nov 1992 10:34
Date: Wed, 04 Nov 1992 10:34
29 lines
1968 bytes
1968 bytes
frisk@complex.is (Fridrik Skulason) writes: > > I noticed with DOS 5.0 that each floopy and hard disk has a unique > > serial number. I would like to access this serial number from code. > > If my code could check the number against a known serial number > > I could detect whether the user has copied my code to another disk. > Forget it. > It would only work if the user copied your software with a COPY comand... > if he used DISKCOPY or any disk-duplication software, the serial number > would be copied as well. Not quite. DISKCOPY in DOS 4.0+ (BTW, the disk(ette) serial number is available since version 4.0 of DOS) copies everything -but- the serial number. Similarly, DISKCOMP compares everything, -but- the serial number. Of course, if you use some other copying facility (or even the DISKCOPY from DOS 3.30), it will be able to copy the diskette exactly. Besides, it is trivial to modify the serial number - it is in the boot sector... In general, I support the advice to the original poster - forget it, it won't work... Regards, Vesselin -- Vesselin Vladimirov Bontchev Virus Test Center, University of Hamburg Tel.:+49-40-54715-224, Fax: +49-40-54715-226 Fachbereich Informatik - AGN < PGP 2.0 public key available on request. > Vogt-Koelln-Strasse 30, rm. 107 C e-mail: bontchev@fbihh.informatik.uni-hamburg.de D-2000 Hamburg 54, Germany
Technical Details
Message-ID:
<bontchev.720873281@fbihh>Path:
arc1-ca.pugleaf.net!sparky!uunet!mcsun!Germany.EU.net!rzsun2.informatik.uni-hamburg.de!fbihh!bontchevReferences:
<1992Nov3.163821.3971@msdhsv.ingr.com> <125@complex.complex.is>Show Full Headers
Complete Article Headers
Newsgroups: comp.os.msdos.programmer Path: arc1-ca.pugleaf.net!sparky!uunet!mcsun!Germany.EU.net!rzsun2.informatik.uni-hamburg.de!fbihh!bontchev From: bontchev@fbihh.informatik.uni-hamburg.de (Vesselin Bontchev) Subject: Re: Anti-Piracy by Serial Number ? Message-ID: <bontchev.720873281@fbihh> Sender: news@informatik.uni-hamburg.de (Mr. News) Reply-To: bontchev@fbihh.informatik.uni-hamburg.de Organization: Virus Test Center, University of Hamburg References: <1992Nov3.163821.3971@msdhsv.ingr.com> <125@complex.complex.is> Date: 4 Nov 92 10:34:41 GMT Lines: 29