First things first, you might want to make sure you know what is and isn't in the series's version of Hogwarts, a History.
What is in the book are these Hermione-mentioned facts:
the ceiling of the great hall is bewitched to look like the great hall.
wizards and witches cannot apparate or...