I am just wondering if it's possible to set a password to existing dmg image. There is no such option at Disk Utility.
You can change it by first selecting the DMG in Disk Utilty. Then go to Images>Change Password.
It will prompt you for the password.
Then, it'll ask you for a new password for the DMG.
you add a password and then add disc passwords now