贵公司是否在所有源代码文件中放置了声明版权/商业机密/等的注释标题块?

时间:2010-01-18 16:07:57

标签: comments copy-protection

如果是这样,您的政策是什么?您是否为所有源代码文件声明了版权/商业机密,或者您是否仅为那些包含商业秘密的商业秘密申请版权?

您可以发布带有法律术语的样本评论块以及您是如何到达它的吗?

我提出这个问题,因为前一段时间,当我在IBM工作时,有一些具体的说明,说明在软件标题的合法部分放入什么似乎很有意义。索赔有不同程度的保护。最低的公开可用,在这种情况下,您将提供标准的“AS-IS”/“无保修”/“免费”/“保留此消息”条款。下一级声称Proprietrary / Confidential并声明只允许明确授权的个人访问(并且如果雇员/承包商结束他们的关系,他们必须返回/删除/去除等等。最高声称内容是商业秘密并且去了更进一步。

我知道这不是一个严格的编程问题,但我想不出一个更好的地方来调查真正的开发人员做了什么,可能让人们发布他们的政策甚至样本标题(省略公司名称等)

我将首先发布我正在使用的那个作为答案。我通过在Google Code上运行搜索来构建它(奇怪且具有讽刺意味的是,那里有很多这样的标题可供公开使用),然后从每个搜索中获取最好的东西。

我希望SO社区可以向上/向下投票并为每个答案添加评论,我们可以演变为其他人可以遵循的最佳实践。

如果这是最好的社区维基,我对此100%罚款。我会让别人做出决定。

3 个答案:

答案 0 :(得分:19)

以下是我们在所有专有代码中普遍使用的内容:

///
/// [COMPANY NAME] LLC ("COMPANY") CONFIDENTIAL
/// Unpublished Copyright (c) 2009-2010 [COMPANY NAME], All Rights Reserved.
///
/// NOTICE:  All information contained herein is, and remains the property of COMPANY. The intellectual and technical concepts contained
/// herein are proprietary to COMPANY and may be covered by U.S. and Foreign Patents, patents in process, and are protected by trade secret or copyright law.
/// Dissemination of this information or reproduction of this material is strictly forbidden unless prior written permission is obtained
/// from COMPANY.  Access to the source code contained herein is hereby forbidden to anyone except current COMPANY employees, managers or contractors who have executed 
/// Confidentiality and Non-disclosure agreements explicitly covering such access.
///
/// The copyright notice above does not evidence any actual or intended publication or disclosure  of  this source code, which includes  
/// information that is confidential and/or proprietary, and is a trade secret, of  COMPANY.   ANY REPRODUCTION, MODIFICATION, DISTRIBUTION, PUBLIC  PERFORMANCE, 
/// OR PUBLIC DISPLAY OF OR THROUGH USE  OF THIS  SOURCE CODE  WITHOUT  THE EXPRESS WRITTEN CONSENT OF COMPANY IS STRICTLY PROHIBITED, AND IN VIOLATION OF APPLICABLE 
/// LAWS AND INTERNATIONAL TREATIES.  THE RECEIPT OR POSSESSION OF  THIS SOURCE CODE AND/OR RELATED INFORMATION DOES NOT CONVEY OR IMPLY ANY RIGHTS  
/// TO REPRODUCE, DISCLOSE OR DISTRIBUTE ITS CONTENTS, OR TO MANUFACTURE, USE, OR SELL ANYTHING THAT IT  MAY DESCRIBE, IN WHOLE OR IN PART.                
///

注意:这已由法律顾问审核 - 我们是美国的。

答案 1 :(得分:7)

我的公司(一家创业公司)非常宽松,并允许我在我想要的任何许可下发布我的代码 我一直很喜欢WTF Public License

// DO WHAT THE F*** YOU WANT TO PUBLIC LICENSE  
//                   Version 2, December 2004  
//  
// Copyright (C) [name]
// Everyone is permitted to copy and distribute verbatim or modified
// copies of this license document, and changing it is allowed as long
// as the name is changed.
//
//      DO WHAT THE F*** YOU WANT TO PUBLIC LICENSE
//   TERMS AND CONDITIONS FOR COPYING, DISTRIBUTION AND MODIFICATION
//
//  0. You just DO WHAT THE F*** YOU WANT TO.

答案 2 :(得分:3)

我知道我只是浪费了一个上午经历所有这些并将它们从“Copyright(c)xxxx-2009”更改为“Copyright(c)xxxx-2010”并重建所有内容。