Licensing Legal – Simple Short License Notice for Proprietary Code

legallicensing

I have written several Java utilities that I am now consolidating in a single, more organized code base. I have never distributed this code, so the only copies are currently in my possession.

While I will probably release the whole thing or most parts of it under an open source license, I'd like at the moment to keep my options open and protect my work in case of inadvertent disclosure e.g. in the case of my having to use it on a computer that I do not own. I might also want to allow people, such as potential employers, to look at the code.

It seems that the simplest way to establish authorship is a license header in the source code files. On the other hand I absolutely detest mile-long headers, especially when I am forced to scroll-down to get to the code – or when the header is larger than the actual code.

Therefore I am trying to write a license header that is as short as possible, while covering most bases. I am currently considering something along these lines:

/*
 * Copyright (c) 2012 John Doe <john.doe@example.com>
 * 
 * All rights reserved. No warranty, explicit or implicit, provided.
 */

Basically I want to establish that:

  1. I am the author of the code.

  2. It cannot be distributed or used in any manner, shape or form. Note that I am mostly trying to defend against well-meant ignorance, rather than people that would outright ignore the rights of the author.

  3. I am not liable if anyone does use the code and their grandmother sets the house on fire or their pet squirrel ends up in Antarctica.

Is this simple copyright notice sufficient to communicate my intent to the vast majority of well-intentioned people that might read it? More specifically:

  • Is the liability aspect completely covered?

  • Does All rights reserved cover both use and distribution? If so, do most people realize that, or should I make it more clear?

Best Answer

I am the author of the code.

This is done with a copyright notice and is completely different from the licence. Copyright says who owns it, the licence says who can use it.

Is the liability aspect completely covered?

I suggest adding something like, "In no event shall the author be liable for any claim or damages."

Does All rights reserved cover both use and distribution? If so, do most people realize that, or should I make it more clear?

It's fine, although again I suggest adding "this is proprietary software."

Ask a lawyer if it really matters to you, although in your case I think it's unnecessary.

Related Topic