I want to make notebook read-only (protect from modification) for all operating systems (when copied from one OS to another OS read-only should remain). Is there any way to do that?
You can set the
Saveable property to
Use Format -> Option Inspector, set the Scope to Selected Notebook, search for Saveable and set it to False. Then save the notebook using Save As... (since Save is now disallowed).
There is also an
Editable property. A notebook that is not
Saveable may still be
Editable, but the changes cannot be saved. You can prevent all changes with the
Editable option, but personally I find this inconvenient at the notebook level and only use it at the cell level. For an example of how these options are typically used, look at the documentation page notebooks. These are not
Saveable. The notebooks themselves are
Editable, as input cells can be changed and new input cells can be added. But certain cells, such as headings and descriptions are not