Copying from the web is a copyright violation

It is all over the .NET world. Today, scottgu announced that Microsoft would be making their base class library implementation source available for free (not open source or free as in freedom or free software) to developers to look at. Details are at scottgu’s blog.

It is a damn shame about the terms of the Microsoft Reference license. This means that if I want to use a bit of the source, that I cannot. For example, I want to customize DataGridViewTextBoxCell’s Paint implementation, I cannot copy the bits of the Paint implementation of DataGridViewTextBoxCell implementation and base classes to tweak my changes. I CAN read what they did, and use this new knowledge in my implementation, but any copy/paste is not allowed! Most programmers I talk to do not understand this. This is going to be a copyright nightmare for most development organizations.

We talked a bit about copyrights and open source at the SRT Solutions open house a couple of weeks ago. I was amazed when all of the programmers I talked to said “huh?” or “really?” when I said that using code they found on the Internet or a blog is a copyright violation unless that code has an express license released with it. This means much of the code at is not available for reuse, only for reading. This means code posted to most blogs. Of course I’m talking about the United States of America, which is where I, and all these programmers, live and work.

Programmers: Look for a license. If there isn’t one, contact the author. Ask them to release the code they put on their blog under the public domain, or creative commons license, or a permissive (BSD, MIT/X) open source license.

If you got the code from a website which specializes in programming examples, such as codeproject, contact that author. Ask them what the license is.

If you are using sample code from a vendor, make sure you are clear on what the license is. Remember, if it is not explicitly stated, then you have ZERO right to reuse that copyright code. I’ve run into to Microsoft sample code releases like this.

Luckily there are places on the internet that ALWAYS attach a license to code. Sourceforge and CodePlex are wonderful for this.

Finally, if you are a copy and paste programmer, you may want to turn off this new Visual Studio 2008 source code feature.

2 thoughts on “Copying from the web is a copyright violation”

  1. Great article =)

    In fact I think that MS want to have the ball this time and dont let MONO to be the open source alternative, they want to be that option and that all look to them waiting for a final open source like Java (that I dont think that this never happend)

    But I have a correction about codeproject… I have published 2 articles there and I know that all the code that is posted there is completely FREE for comercial and no commercial use, you only need mantain the copyright to the author but any autorization and special license at all.

    So is not a copyright violation to copy & paste in codeproject

    These are the rules for the articles:

    “If you post to CodeProject then you retain copyright of your article and code. You also give CodeProject permission to use it in a fair manner and also permit other developers to use the sourcecode associated with your articles in their own applications as long as they do not remove your copyright notices or try and take credit for your work.

    Note that we do not accept time limited, shareware contributions or binary-only contributions. All code that is available from our site must be available for use without registration or licence fees and without time restrictions, and all applications or binaries submitted must contain source code. CodeProject is a place to share source code, not applications or components. ”

    Best Regards

Comments are closed.