Possible Duplicate:
What should I do if a user posts sensitive information as part of a question or answer?
Every once in a while, when I am posting code to either ask or answer a question, I find myself cleaning out all the references to the company I'm working for and scanning for any other proprietary or confidential info. I figure that if I'm doing it others are doing it, and that means that occasionally, there are going to be pieces of code that we miss:
using System;
namespace HotOrNotDotCom
{
public class Login
{
int timesBeforeLockout = 4;
public Login(string username, string password)
{
}
}
}
What's the right thing to do in this circumstance? If we come across something like this, should we edit the info out? Has SO ever gotten a takedown request? Has a user ever suffered as a result of posting code he or she has written as part of their work?