Thousands of miles of public footpaths could be closed to th