<u>Due process clause</u> means that the legal matters must be resolved according to established rules and principles and the individuals must be treated fairly, it applies in both criminal and civil matters.
In US it is outlined in both fifth and fourteenth Amendments to the Constitution, each of these amendment have due process clause that prohibits the government form taking any action that can take away a person's liberty, property or life without due process of law. It provides various types of protection.
i think it is legal for them to ban books because you gave up your right when you got enrolled into school for instance you cant cuss at school but with you first amendment you can since you gave up yours rights kind of to the school. i hope this helps! if this makes any sense