Legal frameworks for crowd control are designed to balance the need for public safety with the protection of individual rights, often guided by constitutional principles and international human rights standards. These frameworks establish the legal parameters within which law enforcement agencies can operate, including the use of force, surveillance, and detention during public gatherings.