It depends on your contract. If it guarantees employment and you're not an at-will employee, the contract will state reasons for why your employment can be terminated. It's possible that the contract might include "being targeted by the Internet Lynch Mob" as one of the reasons, but I doubt it.