Can I put a password on individual files?

Discussion in 'macOS' started by happygodavid, Jul 19, 2007.

  1. happygodavid macrumors regular


    May 14, 2007
    Northern Virginia
    Is there a way to limit access to individual files by using a password just on the single file? Or do I have to create different user accounts? Is there perhaps a third party software which will let me do this?


    And thanks in advance.
  2. TimJim macrumors 6502a

    May 15, 2007
    i dont think theres a way to do it inside OSX.

    theres a program called Excess that locks what ever you want and you can do anything you want on it with the free trial.
  3. backsidetailsli macrumors 65816


    Aug 1, 2006
    cant seem to find this program, can you link it?
  4. numlock macrumors 68000

    Mar 13, 2006
    what are the advantages of that program over say a sparse disk image?
  5. -kritter- macrumors regular


    Mar 8, 2007
    there is a way to hide files and the only way to get to them is to in the finder go to Go then Go to Folder, then you type in the file name, but to get the files to be basically invisible you need to go into the terminal and type mkdir then to make the folder a hidden one you put a "." in front of the name you give the folder. so for example

    mkdir .hidden

    this will end up in witchever directory your in at the time,
    so to get to this you would simply in the finder go /Go/Go to Folder
    then type in after ~/.hidden

    you can drag whatever you like into this but be sure when you done to erase the .hidden in the go to folder and just leave ~/ so it cant be easily accessed by anyone who dose not know the name of the folder.

    thats the closest solution to your question i could give you hopefully what i wrote wasnt to obscure.:)
  6. pianoman macrumors 68000


    May 31, 2006
    you can create an encrypted disk or sparse image in which you can put the files you wish to be protected. a sparse image is a disk image, but it's as small as the number of files you put into it up to it's maximum size, as opposed to a disk image which is constant in size regardless of what's in it (up to the maximum size).

    in Disk Utility, click "New Image" at the top. in the window that appears next, choose a name and location and then the maximum size you want your image to be, encryption (AES-128, i believe, is the only option), and format (regular ol' disk image or sparse image).

  7. andiwm2003 macrumors 601


    Mar 29, 2004
    Boston, MA
  8. Tom B. macrumors 65816

    Tom B.

    Mar 22, 2006
    Maybe it would be easier to just not download porn. ;)
  9. Sean Dempsey macrumors 68000

    Sean Dempsey

    Aug 7, 2006
    Just keep your porn in a Parallels install of XP. Then just make a password login for XP.

    That's what I do!
  10. nickd06 macrumors member

    Oct 25, 2005
    Here is an easy solution.

    I have a folder with about 10 pics in it.

    Right click (on folder), get info

    from here go to ownership & permissions

    change it from read/write TO no acess

    then click on details, under here click, Apply to enclosed items.

    It will then give you a confirmation, hit ok

    Here it will ask you to enter your password (for your admin user, in my case the only user set up)


    Now you can go to the folder and everything will remain the same, however when i try to open any of the pics it says it may be corrupt. It will not let me preview them or open them.

    To "unlock" the pictures I just right click on the folder and select "get info"

    Go back to ownership and change it from No acess back to read/write

    Click "apply to enclosed items" again and it will once again ask for your password. Once entered everything is back to normal and no longer "locked"

    Hope this helps. It is a pretty simple and easy was to "lock" just about anything and everything you want on your computer.
  11. happygodavid thread starter macrumors regular


    May 14, 2007
    Northern Virginia
    This could be it...

    Yeah, I'm thinking that's the way to go, Nickd.

    Thanks a ton!

    Too bad there's not a direct option in OSX when you right click: something like "Password protect this file", and you type the admin pw, and bam, you're done.

    However, this will certainly work as an easy alternative.

    Another question, though; do I need to change the O&P on everything? (ie-Owner, Group, and Others) Or just the top one in the list? It automatically changes Owner to No Access, but Group and Others stay at Read & Write.

  12. Fairly macrumors regular

    Sep 24, 2006
    Cambridge UK
    Exces isn't much help and putting a dot on a file name is foolish. If you want to protect something you make a directory inaccessible and make the files within inaccessible too. And you can create a super-directory for it all and call it PRIVATE KEEP OUT. You can't hide things on OS X or any Unix system. You can otherwise take the advice of other posters here and not put porn on the box.
  13. interslice macrumors member


    Jul 10, 2008

    Exces worked ok for me - it pops up as a disk image - quite cool - crashes a lot - however i'm now facing a problem where I was running this image in windows under vbox and it crashed and now i lost everything - how miserable. all that hard work.
    unless of course anyone knows how to restore a exces disk image! with no backup . ..
  14. GGJstudios macrumors Westmere


    May 16, 2008
    Another method is to compress the files into a zip file, then rename the file, changing the extension to something that's not associated with any program, such as .dll (from windows). That way the files won't appear on any Spotlight or Finder searches, if someone is looking for pictures, excel files, etc. Not perfect, but fairly convenient. To access the files, just rename, changing back to a .zip file and extract. You could also compress with StuffIt and add a password, for extra protection.
  15. disconap macrumors 68000


    Oct 29, 2005
    Portland, OR
    Good idea--keep your questionably sourced porn in the OS that is susceptible to viruses! ;)

Share This Page