I'm trying to find the best means of stopping dmg files mounting in OS X 10.6. I was shown a system where 'no mountable filesystem,' would pop up whenever a user tried to mount a dmg but I can't recall how it was achieved. I'm currently using parental controls but it keeps getting circumvented. Any help appreciated.
How to stop .dmgs from automatically mounting
administratormount
Related Question
- Mounting a RAM disk on startup, but seems to be unmounted automatically
- IMac – Prevent internal drive from mounting automatically
- How to prevent an encrypted APFS volume from automatically mounting
- WD Passport not mounting
- How to prevent an internal partition from mounting at boot
- Diagnosing possible failing drive to see if it’s worth reinstalling macOS
Best Answer
As Administrator user, remove read access from
/System/Library/CoreServices/DiskImageMounter.app
(and/Applications/Utilities/Disk Utility.app
to be on the safe side) for "Everyone" (in the Get Info dialog in the Finder).