how did the security in free-market system
The main way that security is handled in the free-market system is that private contractors are hired. An example would be a security guard at a bank.