A file with the extension .dmg (an abbreviation for disk image) uses a disk image format commonly found on Mac OS X. The format allows secure password protection as well as file compression and hence serves both security and file distribution functions.