Open An Encrypted, Password Protected Saprsebundle Disk Image With iPhone?

Is it possible to open an encrypted, password protected sparsebundle disk image using an iPhone/iPad/iPod Touch that is stored on a NAS drive connected to an AirPort Extreme Base Station?
If so, how do I do it?
If not, would you be able to explain why not?
Thanks, Alex

Hi Robert,
> Once you through a sudo in there, you lose the option
to have a regular user
   That's not really true. Sudo is one of the most flexible commands around and not only can a regular user use it but they can use it without a password. Mind you I'm not suggesting that you make all users admins; you can specify both of these privileges for this command only. All you have to do is to put a line like the following in your /etc/sudoers file. (with sudo visudo of course)
ALL ALL = NOPASSWD: /usr/bin/hdiutil create -encryption -certificate*-stdinpass -type SPARSE -fs "HFS+" -volname-size
I've included wildcards so that the cert file, volume name, size and image are arbitrary but the others must be in the user's command to qualify. I realize that you'll want different options to use FileVault certs but I don't know how to do that so I used your original example as my example.
   Of course it wouldn't be that easy for your lusers to get all of those options correct so the next thing you do is to wrap the command, with it's sudo preface, in a shell script that parses the cert file, volume name, size and image from the options the user passes to the script and puts those into the command with the right syntax. If you want to get really fancy, the script could prompt the user for any arguments that were omitted. Your lusers will think that you created this really cool command and never know that sudo was involved.
Gary
~~~~
   If you give a man enough rope, he'll claim he's tied up
   at the office.

Similar Messages

  • Password-protected Sparse Disk Image Bundle remembered after eject

    I use password-protected Sparse Disk Image Bundles to protect some files. Every now and then, when I open the image, it doesn't ask me for the password and opens immediately.
    At first, I thought I may have inadvertantly agreed to save the password in Keychains. But that is not the case. After running some tests, I noticed it may take up to 3 ejects before it asks me for the password again. It seems to happen more when I modify files in the disk image, but not when I simply read files. I suspect it is not completely unmounting the image.
    This is potentially a security issue. Any suggestion on what I can do short of re-ejecting images until it asks for a password again?

    You may have successfully increased the sparsebundle's potential capacity while failing to resize the contained partition. That seems to be what happened when I tried this myself. A resized sparsebundle containing the same files would not occupy much more space on disk than it did before.
    *Provided you have a backup*, you could try the following:
    Remount the image, then run Disk Utility and select the .sparsebundle (non-indented icon) in the left pane. Click on the Partition tab, and then see if you can pull down the lower right corner of the disk image partition to increase its size. If you can, then drag it to the bottom and click Apply.
    Again don't try this without a backup. It may not be worth doing in any event - it's easy enough just to make a new, bigger sparsebundle and copy your stuff over.

  • "Adobe ColdFusion 10" can't be opened. You should eject the disk image.

    Hello,
    Dowloaded Coldfusion from the Adobe website, both with Safari as with Firefox
    I want to install Coldfusion 10 on my Macbook. OS X 10.7.4 ( so not 10.8 ). When I double click the
    .dmg file , I always get "“Adobe ColdFusion 10” can’t be opened. You should eject the disk image." error. Never had this before. I've read about setting security on 'non signed packages', but this applies to 10.8.
    Is this a known issue ?
    Thanks,
    Dirk
    [email protected]

    Hello Swaraj,
    Thanks for the tip. What did work for me , is upgrading to OSX 10.7.5. I was inspired by this article. http://forums.adobe.com/message/4843052#4843052
    Regards,
    /Dirk

  • Trying To Create Encrypted Disk Images With Disk Utility.

    I am trying to create encrypted read and write Disk Images of around 2 GB to 6 GB with Disk Utility.
    More often than not the dmg is NOT encrypted.
    It seems very hit and miss . . . . most of the time missing!
    Is this process notoriously unreliable or am I likely to be doing something wrong?

    I think you have cracked it Niel!
    I made another, unchecking the Keychain box, and it worked perfectly.
    I have been using a password which is used for other items.
    Now the .dmg has been created can I check the Keychain box and if so what are the benefits?
    I have never understood what the Keychain does.

  • "Adobe Photoshop Lightroom 4.pkg" is damaged and can't be opened. You should eject the disk image.

    After 3 different downloads (2 in Safari, 1 in Firefox) I still get this message when I try to open Lightroom package: “Adobe Photoshop Lightroom 4.pkg” is damaged and can’t be opened. You should eject the disk image. I have a feeling it has to do with 3rd-party software on my Mac OSX 10.8.2 - how do I get around that?

    If you have already tried an alternate web browser then your next step would be to try an alternate Internet connection.  Perhaps try a wired connection if you are using wireless for example.

  • Opening a hyperlinked password protected file from another Adobe File

    I have a user that has a table of contents pdf file. This file links to other files in the same directory. Originally in XP she would click on the link and a password box would open. She would type in the password and was able to read the file. She has now been replaced with a Windows 7 machine and this is not the case. She is able to open the individual files (without actually knowing the contents) in the directory. The password box will pop up when this occurs. When she tries to access the PDF file from the toc.pdf file she cannot.
    Is there some sort of security permission that is not allowing a pdf file to open a hyperlinked password protected PDF file in Windows 7.
    She is and has been using Adobe Reader X on both machines.
    Thank you.

    I think this may have something to do with your dns settings.  From a shell type ipconfig /flushdns and try again.

  • Password protect a NetInstall image

    How can I password protect a netinstall image? I don't want just any user netbooting their computer and wiping the local drive with a new image.
    Thanks.

    Take a look at Mike Bombich's NetRestore -- http://www.bombich.com/software/netrestore.html
    One of the things you can do with NetRestore is connect it to a database of "authorized" computers that will restore. All others are given an error and have no source options for wiping their hard drive.
    G4 Cube 1.2Ghz   Mac OS X (10.4.6)  

  • "Install Adobe Flash Player" is damaged and can't be opened. You should eject the disk image.

    Attempting to install Flash player on a mac. System requirements are met; old versions uninstalled. I keep getting this error message "Install Adobe Flash Player" is damaged and can't be opened. You should eject the disk image.

    Hi,
    can you try installing from this zip file? http://download.macromedia.com/pub/flashplayer/installers/archive/fp_11.7.700.203_archive. zip

  • Reinstalling Design Premium 5.5 on a Mac - error message "Install" can't be opened. You should eject the disk image.

    Trying to reinstall Design Premium 5.5 on a Mac OSX 10.7.5 - once downloaded to my computer it will not install due to error message "Install" can't be opened. You should eject the disk image.
    Thanks

    no, redownload using a different browser from prodesigntools.com
    if you follow all 7 steps you can directly download a trial here:  Download Adobe CS5.5 Trials: Direct Links (no Assistant / Manager) | ProDesignTools
    and activate with your serial number.
    if you have a problem starting the download, you didn't follow all 7 steps, or your browser does not accept cookies. 
    the most common problem is caused by failing to meticulously follow steps 1,2 and/or 3 (which adds a cookie to your system enabling you to download the correct version from adobe.com). 
    failure to obtain that cookie results in an error page being displayed after clicking a link on prodesigntools.com or initiates the download of an incorrect (eg, current) version.

  • Creative Suite CS5.5 re-install error: Install can't be opened. You should eject the disk image.

    I am trying to reinstall the Creative Suite CS5.5 as I have lost my disk.
    As soon as I try to open the installer I get the following message:
    Creative Suite CS5.5 re-install error: Install can't be opened. You should eject the disk image.
    I have deleted and redownloaded, downloaded from both safari and chrome and also downloaded it on different network connections.
    I have also checked my privacy settings to 'Allow applications downloaded from: Anywhere'
    Anyone have an answer to this problem?
    I'm running on OS X 10.7.5
    Thanks

    Right-click (CTRL-Click) that dmg
    Choose Open from the context menu.  
    Click Open in the warning dialog that appears.  

  • Can't create disk image with Disk Utility

    I just upgraded to OS X Mountain Lion and i can no longer create disk images with Disk Utility in order to store encrypted data.
    The operation fails and ends with the post :
    Failed to create disk image, error:
    hdiutil: create failed - Resource busy
    I use three Macs with Mountain Lion, and this problem occurs only on one of the three.
    I check the disk, repair permissions and did a reset of the PRAM. I even did a reinstall of Mountain Lion, without success.
    But curiously, using a new user account, I was able to create a first disk image. But no one after.

    Launch the Console application in any of the following ways:
    ☞ Enter the first few letters of its name into a Spotlight search. Select it in the results (it should be at the top.)
    ☞ In the Finder, select Go ▹ Utilities from the menu bar, or press the key combination shift-command-U. The application is in the folder that opens.
    ☞ Open LaunchPad. Click Utilities, then Console in the page that opens.
    Make sure the title of the Console window is All Messages. If it isn't, select All Messages from the SYSTEM LOG QUERIES menu on the left.
    Click the Clear Display icon in the toolbar. Try the action that you're having trouble with again. Post any messages that appear in the Console window – the text, please, not a screenshot.
    When posting a log extract, be selective. In most cases, a few dozen lines are more than enough.
    DO NOT INDISCRIMINATELY DUMP THOUSANDS OF LINES FROM THE LOG INTO A MESSAGE. If you do that, I will not respond.
    Important: Some private information, such as your name, may appear in the log. Edit it out by search-and-replace in a text editor before posting.

  • Creating a mp3 disk image with disk utility

    Hi,
    I'd like to create a mp3 disk image with disk utility. In the end I would like to have a mp3 disk that plays in various stero system and macs.
    But I want to add some additional files: a png file for a nice folder background of the dmg, a special image for the dmg, and some text files relating to the mp3s.
    Is this possible at all? Is there something I have to observe creating the dmg?
    Thanx for your help

    Is this possible at all? Is there something I have to observe creating the dmg?
    You need to know which file systems your "various stereo systems" understand. The default file system created on a diskimage when burning is a hybrid file system- HFS+, ISO-9660 with Rock Ridge, and Joliet with Rock Ridge.

  • Burn disk image with a pc

    Hi, I would like to know, if it is possible to burn a idvd disk image with a pc.
    (I want to get a macbook, and since I already own a pc with a dvd-burner I think it would be best to save the 200 $ and just get the cheapest model. I still want to be able to burn a few iDVD Projekts so the question is, what kind of format iDvD saves the images in - iso or some fancy mac format?)

    link to CONVERT AND BURN MAC .DMG OR .IMG FILES TO .ISO WINDOWS PC-COMPATIBLE DISK IMAGES: ...
    helpful?

  • HT1766 I don't know my encryption password how can i restore my iphone backup?

    I don't know my encryption password how can I restore my iphone backup?

    You cannot.  That is the point of encrypting the backup.
    Sorry

  • How do I encrypt/password protect an external drive?

    Hey, I have over 80 gigs of music saved on an external hard drive I use with my MBP. I take this disk to different studios, etc and want to make sure that I am the only one who can access the external drive when it is plugged into a computer. Is there a way to encrypt/passwork protect an entire external drive? I looked into the disk image thing, but as far as I can tell there are space limitations with this (or am I wrong)?
    I would really appreciate anyones help with this. Thanks.

    If you want to password protect a folder ...
    Launch /Applications/Applescript/Script Editor
    Paste this in:
    on opening folder This_Folder
    repeat
    tell application "Finder"
    set dialogresult to display dialog "Restricted Folder. Please enter the password to access folder:" buttons {"Ok", "Close"} default button 1 default answer "" with hidden answer
    copy the result as list to {PWText, button_choice}
    set button_choice to the button returned of dialogresult
    if button_choice is equal to "Ok" then
    set PWText to the text returned of dialogresult
    if not PWText = "your password" then
    display dialog "Access Denied" buttons {"Ok"} default button 1
    else
    display dialog "Access Granted" buttons {"Ok"} default button 1
    exit repeat
    end if
    else if button_choice is equal to "Close" then
    tell application "Finder"
    close folder This_Folder
    exit repeat
    end tell
    end if
    end tell
    end repeat
    end opening folder
    Click 'Compile' then 'Save As'
    (Where it says "*your password*" insert the one you want)
    Then CTRL-click on a folder / (Enable Folder Actions if not on) / Configure Folder Actions / Activate and select your script.

Maybe you are looking for