There are two kinds of enforcement mechanisms. Silicon Valley is a world of 1s and 0s and naturally gravitates towards rules-based systems: If this, then that. Once you set the rules, the job of enforcing them becomes routine.
The state of play: The alternative is a principles-based system. You start with a set of high-level principles (if you're causing someone significant harm, that's bad; if you're causing pleasure and enjoyment, that isn't), and then try to police your domain according to those principles. In the legal system, principles can be found in areas like sentencing guidelines or even the "reasonable doubt" test.