According to Rubeus Hagrid, Hogwarts is the safest place there is in the magical world, even safer than Gringotts, the bank where wizards store their money, which is why the Philosophers’ Stone was kept in the school.