What would that look like? It's hard to imagine putting the genie back in the bottle with any technology, let alone the personal computer which has been in circulation for decades.
Like this: https://en.wikipedia.org/wiki/Web_Environment_Integrity
It’s not that far-fetched to think that could happen again one day - perhaps over AI and computers, perhaps over something else. All you need to do is convince enough people with weapons that you’re the moral compass of the time.
Maybe outlaw any app not on an app store.
Just some (dystopic) ideas.