Sometimes, I have to give my external storage someone else. But, I am worry about files and folders which accidentally deleted, moved, changed etc... Therefore, it is enough that data on the disk can be readable. Writing support not desired.
So,
1) I want to make the partition readonly to prevent deleting and/or writing anything by anyone else.
2) When I take back my disk, I will revert it to readable/writeable mode again.
Any utility or method to achieve these goals?
Edit: I read about some hardware-based solutions and others are valid only at local PC. I am searching for globally valid and software-based solutions.
Solution:
A software-based solution exists for NTFS volumes. I wrote a PowerShell script to automate explained procedure:
PowerShell script to set/clear read-only flag of an NTFS volume