Please give me legal, black-and-white answer.
Winklevoss Twins say someone stole their idea for Facebook and Judge awarded them some millions.
But how could have Winklevoss Twins protected themselves from being cheated in the beginning.
What legal things could they have in place so
They are not cheated to begin with (hence get credit for their idea)
If programmer decides to cheat them anyway, the case is open-and-shut and Judge rules in their favor without case dragging for years.
On the flip side, let say programmer did in fact create Facebook.
How does programmer legally protect himself from people who claim idea was stolen, takes him to court, and ends up paying the accuser (even though the idea was his from the start)?