The Fine Line Between Hats

Ever wonder how razor-thin the line might be between the good guys and the bad guys? What is it that separates the two? In order to be a good white hat, you have to think like a black hat, and vice versa.