Various governments across the world are looking into creating a legal framework for drones, bringing about the need for a uniform set of best practices-- such as the global standards for drone use from the International Organisation for Standardisation.
Currently in draft form open for public consultation until 21 January 2019, the standards suggest the creation of "no-fly zones" to ensure sufficient distance from airports and other sensitive locations. The document even points out geo-fencing technology as a means to stop drones from entering said restricted areas.