The librarian gives a key that depends on the section.
Action : with the dust they manage to see which Most books are being chained, so when a chain is broken they know a book have been stolen. Then the librarian knows the names sometimes.
Action : Lock the most sensitive books / books about alchemy somewhere else. Not possible, too many of them.