🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.os.msdos.programmer
Article #6698

Re: How to protect an MS/PC-DOS file from being copied or the diskette.

#6698
From: Dan Richardson
Date: Wed, 22 May 1991 15:55
21 lines
2249 bytes
Protecting a file/diskette on DOS, huh? Well, I would assume that this file is
executable code that your friend wrote, right? If that's the case, the program
could be modified so that it looks for a different sector size on the diskette. This was one of the
first "copy protection" schemes in the early DOS days. Peter Norton talks about
it in his Programmers Guide to the IBM Personal Computer, I believe. If you're not
that worried about the disk being copied and just one file is your concern, you
could try to disguise the file by imbedding a 254 character at the end of the file name. This works for users who aren't particularly savvy about the workings
of the PC, but more seasoned "pros" can catch on to this in short order.
How about changing the file's attributes to system/hidden?
If you really wanted to get militant about it, you could utilize one of those
software key ("dongle") things that some vendors sell in magazines like Computer
Language.
Anybody else in Netland know of a better scheme? This is off the top of my head
*early* in the morning. I need a shot of caffeine...
------------------------------------------------------------------------------
Dan Richardson                  | "If there's anything more important than my
Analysts International Corp.    |  ego around here, I want it caught and shot
for Boeing Computer Services    |  now!"    --Zaphod Beeblebrox
------------------------------------------------------------------------------
"My opinions are not necessarily those of either my clients or my employers."
==============================================================================
Technical Details
Message-ID: <688@bcsfse.boeing.com>
Path: arc1-ca.pugleaf.net!utzoo!utgpu!news-server.csri.toronto.edu!cs.utexas.edu!uunet!bcstec!voodoo!bcsfse!bcsfse.boeing.com!danr
References: <1991May18.175819.26629@cm.cf.ac.uk>

Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!utzoo!utgpu!news-server.csri.toronto.edu!cs.utexas.edu!uunet!bcstec!voodoo!bcsfse!bcsfse.boeing.com!danr
From: danr@bcsfse.boeing.com (Dan Richardson)
Newsgroups: comp.os.msdos.programmer,comp.os.msdos.apps,comp.os.msdos.misc,comp.sys.ibm.pc.misc
Subject: Re: How to protect an MS/PC-DOS file from being copied or the diskette.
Message-ID: <688@bcsfse.boeing.com>
Date: 22 May 91 15:55:28 GMT
References: <1991May18.175819.26629@cm.cf.ac.uk>
Sender: usenet@bcsfse.boeing.com
Followup-To: comp.os.msdos.programmer
Organization: Boeing Computer Services, FSE, Bellevue WA
Lines: 21