Adding Copy Protection

Environment: Visual C++

This copy protection scheme first requires you to detect bad sectors in the floppy disks. Then, four of the bad sectors are selected. Pressing the copy protect button will write a secret data file to the floppy disk that is the key disk. Then, to use the copy-protected floppy disk, you have to call the DLL file which reads the secret area and determines if it is the copy-protected key floppy disk. The DLL can be called anywhere in your program. You can even call it from Visual Basic.

Vinoj Kumar
Mother Nature Software
Email: vinoj@eth.net

Addr:
148, Konnur High Road
Ayanavaram, Chennai - 600023
INDIA



About the Author

Vinoj Kumar

I have been programming for the past 16 years. I started programming in 1990. I came to Windows in 1993. I have authored a book called, "Classic Utilities Using Assembly Language" , 1995. In my free time I listen a lot to Kenny G sax all the albums and Valentine Classics Songs. I like to watch a lot of TinTin adventure Comics. I am currently working in K7 Computing antivirus company (www.k7computing.com) as Senior Technical Lead. My contact is: Phone: +91 944 411 7353

Downloads

Comments

  • What prevents the copy?

    Posted by Legacy on 01/12/2004 12:00am

    Originally posted by: Doctor Luz

    This method is being used since many years ago.

    The question is, what prevents an user to do a copy of the key disk?

    Maybe an standard copy won't be successfull, but even in the old times of DOS I remember tools for copying key disks. And they worked very well.

    Reply
  • Floppies.....whadaya talkin about.

    Posted by Legacy on 12/11/2003 12:00am

    Originally posted by: CKoepke

    I build PC's. If I didn't have system boot and driver floppies I'd be out of business real quick baby. Hell, even my not so out of date Sony digital camera uses a floppy. But the point is this guys code is for learning about one aspect of copy protection.

    Reply
  • Easy Change hardDisk serial number...

    Posted by Legacy on 08/28/2003 12:00am

    Originally posted by: MasterZoid

    It�s possible make that?
    Yes... my friends, by software or manually.
    ok...
    bye.

    Reply
  • to get code for " user's hardisk number"

    Posted by Legacy on 10/15/2002 12:00am

    Originally posted by: Neena bhujle

    can u please help me in getting the code for User's PC harddisk number. this is required for User name & password Protection. the coding is required in Lingo(director) language. please send me at the earliest.
    & help me out.

    Reply
  • to get code for " user's hardisk number"

    Posted by Legacy on 10/15/2002 12:00am

    Originally posted by: Neena bhujle

    can u please help me in getting the code for User's PC harddisk number. this is required for User name & password Protection. the coding is required in Lingo(director) language. please send me at the earliest.
    & help me out.

    Reply
  • Run time disk32.dll loading error

    Posted by Legacy on 09/24/2002 12:00am

    Originally posted by: Suraj Kodgi

    The LoadLibrary API fails to load disk32.dll eventhough the dll present in proper path. I am getting the folloiwng error in LoadLibrary
    "The specified procedure could not be found"

    Do u have the source code of Disk32.dll ? I need to verify the DllMain() function of this dll..

    Did u get this dll from http://www.microcosm.co.uk/?? Because I have the same source and dll from them which exactly matches what you have published.

    Can you please send me the source code for this dll or fix this problem.

    I am running the application on Win2K professional. Compiled using MS-VC 6.0.

    Reply
  • Not found Disk32.lib in your code

    Posted by Legacy on 09/01/2002 12:00am

    Originally posted by: Bermusa

    It had not found "disk32.lib" in your code to mention in project link library.I had tested on Win 2000 pro. How it'll work and using for your CopyProt and BadDetect projects.Please help and suggestion too.

    Reply
  • I see it coming...

    Posted by Legacy on 08/31/2002 12:00am

    Originally posted by: devil81

    If this work, they gonna sell everything on discs. :D
    hmm, 1,44 MB ist much space for quite good projects...
    ...but i don't think that anybody would buy a 100 MB programm
    from disc...
    Anyways, its only able to prevent installation,a
    otherways the disc is always needed...

    Devil

    "im on to you devil.....i will find you....stop hacking me...what did i ever do to you?....." by domestic (receiver)

    Reply
  • SPU

    Posted by Legacy on 07/22/2002 12:00am

    Originally posted by: Andre

    11 years ago, when I was 17 I made a commercial software called SPU that formats the diskette, add some "bad" sectors to it, then even CopyIIPC crashed when trying to duplicate, that was my smart move, the stupid move, was that the aplication that you wish to protected must be infected(like a virus) with some assembler code i did, and this asm code check's out the floopy or harddisk searching for that special sectors...

    It worked fine, still works, impossible to crack if you could not read the sectors, but didn't work for windows aplications 3.11(my stupid move)

    But that was 11 years ago...

    But anyway, you thanks for your code....

    Andr�

    Reply
  • Source for the DLLs

    Posted by Legacy on 06/04/2002 12:00am

    Originally posted by: John Moses

    Where is the source code for the two DLLs you use? How do they read the floppies? With out this source I don't trust your code.

    Reply
  • Loading, Please Wait ...

Leave a Comment
  • Your email address will not be published. All fields are required.

Top White Papers and Webcasts

  • Live Event Date: December 11, 2014 @ 1:00 p.m. ET / 10:00 a.m. PT Market pressures to move more quickly and develop innovative applications are forcing organizations to rethink how they develop and release applications. The combination of public clouds and physical back-end infrastructures are a means to get applications out faster. However, these hybrid solutions complicate DevOps adoption, with application delivery pipelines that span across complex hybrid cloud and non-cloud environments. Check out this …

  • CentreCorp is a fully integrated and diversified property management and real estate service company, specializing in the "shopping center" segment, and is one of the premier retail service providers in North America. Company executives travel a great deal, carrying a number of traveling laptops with critical current business data, and no easy way to back up to the network outside the office. Read this case study to learn how CentreCorp implemented a suite of business continuity services that included …

Most Popular Programming Stories

More for Developers

RSS Feeds