I have two partitions on a hard drive in my machine that are formatted as ntfs, but must under no circumstance be mounted by my Ubuntu installation (unless I do some preparation first). However nautilus happily displays the partitions, and a single click will mount them automatically.
This is very dangerous behaviour, how can I hide the partitions from nautilus and prevent accidentally mounting them by a single stray mouse click?
Update: I have been experimenting with writing udev rules, however I have not been able to get it working. If anybody has the specific steps needed to modify udev as to not show specific partitions, I would really appreciate it.