swear much? wow lol... mondays...
more by serabell
Weird wedding dream!
NWR My Generation
more in The Lounge
Do you love mac and cheese?
Upset that our ceremony is very similar
more in Boards
How much $$?

Mac users: how to lock a folder?

posted 1 year ago in The Lounge
  •  
    1.
    Member
    2,583 posts
    Sugar bee
    serabell    May 22, 2010   Oregon

    Can I password protect a folder using a Mac? I'm making DH a boduir book for Christmas & the pics are on my Macbook & he's wanting to use my Mac this weekend. I put the pics in a folder in a folder in a folder that says "don't look" but I'm still scared that it might accidentally be opened by someone at the meetings :(. That would be HORRIBLE! Can I lock the folder somehow?

     
    2.
    1,607 posts
    Bumble bee
    dance    July 23, 2011   Alberta, Canada

    That would be horrible!  I am not sure...let me fiddle around on my Mac for a bit and I will let you know if I figure something out!

     
    3.
    Member Icon
    342 posts
    Helper bee
    SM1982    January 1, 1991  

    @serabell:

    I tried copying and pasting what I found, but it won't let me.  Go to Mac Help and type in: Setting Permissions.  This should help you.  Please let us know how you made out.

     
    4.
    Member
    2,583 posts
    Sugar bee
    serabell    May 22, 2010   Oregon

    Thanks! I'm pretty computer savvy but I can not figure it out :(. I know it can be done on a PC thou.

     
    5.
    Member
    490 posts
    Helper bee
    afbacher    January 8, 2011   Kansas City, Missouri

    Yup!

    Click on the folder, and hit [Apple+I] - you'll bring up the folder properties. There should be a little box that says "Locked" which you can check. You'll need to edit the "Ownership & Permissions" section at the bottom of the section though. :D

     
    6.
    1,607 posts
    Bumble bee
    dance    July 23, 2011   Alberta, Canada

    There is this help thread on mac forums:

    http://forums.macnn.com/90/mac-os-x/190679/how-to-lock-a-folder/

    It talks about some way to do it using Disk Utility or else 3rd party software.  I don't think it is quite as simple to do as on a PC, but this sounds like it could work for you.

     
    7.
    Member
    490 posts
    Helper bee
    afbacher    January 8, 2011   Kansas City, Missouri

    ETA: when you edit the Ownership & Permissions, you'll only need to change the "Others" section to "No Access".

     

     
    8.
    Member
    654 posts
    Busy bee
    Krises       NYC

    Ctrl Click on the folder you want locked

    go to get info

    There is a box titled "locked" 

    Check that off

     
    9.
    Member Icon
    342 posts
    Helper bee
    SM1982    January 1, 1991  

    To the PPs, thanks for the simplified advice.  At least I know for the future.  I had never attempted to lock a folder before, so I looked it up on Mac Help for serabell.

     
    10.
    Member
    2,583 posts
    Sugar bee
    serabell    May 22, 2010   Oregon

    Thank you SM1982 - I can lock it, but you can still view what's in it, just can't make changes. There's gotta be somethin...

     
    11.
    Member
    2,583 posts
    Sugar bee
    serabell    May 22, 2010   Oregon

    ohh wow by the time I typed my last post, there's 4 more answers! I'll try those real quick & letcha know what works :)

     
    12.
    Member Icon
    Member
    308 posts
    Helper bee
    anon12345    January 2011  

    @serabell: Here's how to do it!

    Right click on the folder, then click "Get Info".  Click on "Sharing Permissions:", then change all the Privileges in the right column to "Write Only (Drop box)".  That should do it!  

    You might have to click on the lock in the bottom left corner to make the sections editable (it should look like an open padlock).  

    Hope that helps!

     

     
    13.
    Member
    2,583 posts
    Sugar bee
    serabell    May 22, 2010   Oregon

    Ok so I did the apple+I & I locked it, but it won't let me change the "sharing & permissions". It says I can "read & write the folder" & that everyone else can just read, but it won't let me change them. Its grayed out. Above that, it says I can read only, but it also says I'm the main user, so I don't get how that works??

     
    14.
    Member
    2,583 posts
    Sugar bee
    serabell    May 22, 2010   Oregon

    This might explain it better.

    Under sharing & permissions:

    You can only read

    Name                  Privelege

    serabell (me)      read & write
    staff                  read only
    everyone           read only

     
    15.
    Member
    2,583 posts
    Sugar bee
    serabell    May 22, 2010   Oregon

    brb, i'm gonna log out & make sure I'm the main user...

     
    16.
    Member
    2,583 posts
    Sugar bee
    serabell    May 22, 2010   Oregon

    ok sorry, I figured out how to change the sharing & preferences. Now, I click n the staff "read only" & change it to "no access" but it doesn't change it. I click on "no access" but it just stays at read only :(

     
    17.
    Member
    2,583 posts
    Sugar bee
    serabell    May 22, 2010   Oregon

    Ok I changed it so only I can see it. I also made a guest account, & the guest account has no access to my files (but he can still use the programs on it). YAY! Thanks everyone :).

    Still can't get a specific folder to be password protected, but this is good enough for now.

     
    18.
    Hostess
    9,018 posts
    Buzzing
    Beekeeper
    daydreamwanderer       DC

    are the photos in your iPhoto? you could just hide them, no one should be going through your hidden photos unless they're snooping inappropriately!

     
    19.
    Member
    2,583 posts
    Sugar bee
    serabell    May 22, 2010   Oregon

    So I created a guest account, since I didn't take the 5 minutes to create my husband his own account. Well, now when I try to log off my guest user account it flashes a warning sign saying if I log out, all the guest user files created will be deleted :(. So I can't log into my account, so I'm basically locked out of my Mac for the week. However, I have full confidence that no one can look into my pics on my profile!

     
    20.
    Member
    555 posts
    Busy bee
    azula    February 27, 2010  

    You can also make the folder into a hidden file. Hidden files, by default, don't show up in the finder.

    Here's what you do: Go to Applications, then Utilities, and open the Terminal app. After it opens, you'll see a prompt. Type "echo $cwd" (without the quotes) to see what directory you're in. It will probably be your home directory, so the terminal will reply with something like "/Users/yourusername". Type "ls" (lowercase L, lowercase S, no quotes) and you'll get a list of folders in your home directory, which are the same items you see when you look at your homedir in the finder.

    Now you need to find your folder that you want to hide. Let's say that the folder is called "'DoNotLook" (try to make the folder name without spaces for this) and it's in the "Documents" folder in your homedir. So, you need to go to the Documents folder in terminal. If you're in your homedir, all you have to do is type "cd Documents" (no quotes). After you're in Documents, type "ls" and you'll see a list of items in the folder, which would include the folder you're trying to hide. Now here's what you do -- if the folder is named "DoNotLook", to make it a hidden file you have to rename it ".DoNotLook". Yup, putting one dot in front of the filename will make it a hidden folder. So, type:

    mv DoNotLook .DoNotLook

    This will make the folder hidden. It won't show up in the finder. The only way to find it is through the terminal. If no one uses the terminal app, they would have no way of finding the folder.

    If you type "ls" now to get a list of items in the folder, you'll notice that you can't see your hidden folder. To see it, type "ls -a" (without the quotes, as always). To open your hidden folder from the terminal, type "open .DoNotLook", and a finder window will open with the contents of your hidden folder.

    To un-hide the folder, type this:

    mv .DoNotLook DoNotLook

    This renames the folder back to its regular non-hidden name :-)

     

    Reply

    You must log in to post.





    Visit our sister sites eHarmony
    Online Dating
    eHarmony Advice
    Dating Advice
    Project Wedding
    Wedding Songs
    JustMommies
    Pregnancy Calendar
    Copyright 2004-2012, Weddingbee.com
     

    Find your vendors on Weddingbee

    Real reviews from brides in your area!

    Favors by Weddingbee

    • Favors by season

    Shop Now ยป

    Find Registry Find Registry Find Registry

    More
    User Posts Today
    Lyndzo 52
    Brielle 43
    This Time Round 43
    Future Mrs K 38
    mypinkshoes 34
    his chippymunk 34
    Cady 32
    fivemonthsnotice 32
    TheLionQueen 31
    AshleyR83 30

    The Lounge

    User Posts Today
    JulesSchnooks 13
    HappilyEverAfter54 9
    mightywombat 8
    BellaDee 8
    KatyElle 6
    Snowflake011913 6
    SouthernGirl 5
    couawilou 5
    RahlyRah 5
    KateByDesign 4
    More