In my first ever game of D&D (this was many years ago), I joined an existing game, and at the table, I was sitting beside a player playing a wizard (or "Magic User" to use the parlance of the time). The player had a little notebook to represent her spell-book, so at one point out of idle curiosity, I picked it up and flicked through it.
Another player at the table jumped up and pointed, shouting out with glee (we were kids) that I had read the wizard's spell-book, as it turns out that if anyone other than the wizard herself looks at it, all the spells would vanish from the book.
So the GM declared that this indeed is what happened, she would have to start a new spellbook, collecting her spells all over again and the wizard player spent the rest of the session understandably unhappy, glaring & cursing at me and so on.
Has this ever been a rule in D&D?
In all my years of playing (OD&D - which I believe this was, AD&D 2nd Ed, 3, 3.5, etc.) I have never come across a rule like this. I suppose it's possible she had a curse or something but in the ensuing argument this was never mentioned - they seemed to be making out that it was just a rule about spellbooks, and that I should have just somehow known not to do this.