I would definitely have participated in the Manhattan Project if asked - it was necessary to stop the Nazis. On the other hand, I would definitely not work on SOPA.
Don't confuse what is necessary with what is merely expedient.
People have different ideas about what is necessary. Calling the Manhattan Project "necessary" without thinking much about it is reckless. I've heard accounts from many of the scientists and workers, and many were quite horrified about the results (incidentally, against the Japanese, not Nazis). Presumably many do conclude that developing a nuclear weapon was "necessary," but not without considerably ethical debate.
Don't confuse what is necessary with what is merely expedient.