This should be a general question. This Q sprung my mind yesterday late evening because I accidentally deleted files from another partition rather than from the partition I was intending to do.
I'm working on Ubuntu 13.04. From launcher I clicked on the '2nd from top' icon (named files). There I clicked on 2 GB flash drive and it got mounted. I was intending to delete all the files here. Before that I was doing some other tasks on other windows. Then I returned back on the 'Files' window. Rather than clicking on the 2 GB flash drive I clicked on the 40 GB drive which was directly above the flash drive. This 40 GB was of Windows 7. Then I pressed 'ctrl-a' & 'shift-del'. Before this mistake stroked my mind, it had already deleted 7 GB of data (luckily other 33 GB was secure).
Now, I'm very much concerned of how to secure my partitions/files & everything on my laptop. The solution should include the below point:
On the files window, all partitions are listed & its only a matter of clicking on it to mount it. It should be that whenever it is clicked it should mount automatically on read only mode so that no accidental deletion occurs.
I expect a general solution for securing my laptop.
One thing I would like to add that I have taken backup of my Ubuntu partitions (/, /boot & /home) & so my Ubuntu data are safe but I can't take for all partitions because of lack of space.