CJ said:
Well, here is something interesting to add... I found out today that we can
still delete the sections even if they are NOT unlocked. How can I stop this
from happening? Surely locking a section prevents it from being deleted??
You cannot prevent people from deleting password protected sections.
Think of it this way:
Sections are just files in the file system, and the file system doesn't
know that a file is password protected - all it knows is it has a bunch
of data with a name, and it's supposed to ask OneNote if the user tries
to open it. So if you ask it to delete the file, it will still do so.
Yes, OneNote could check if the section is protected and prevent the
user from deleting it within OneNote, but it can't prevent users from
deleting files in the file system. So in the end we decided that it'd be
too confusing if OneNote blocked deletes of password protected sections,
and wouldn't really give us any benefit either.
If you really don't want people to delete files you can configure the
notebook folder permissions in Windows accordingly, but that still would
not prevent people from deleting all the pages in a section, or all the
content on the page, and so on.
Ilya