How to Lock Files on Mac

Mac OS X has FileVault as a decent security alternative, which utilizes XTS-AES 128-piece encryption to secret key ensure your whole hard drive, yet this is a radical measure to take unless you’re inclined to robbery. There is additionally the shot that it will back off your PC, particularly at startup.

In case you’re searching for another approach to secure your own files in Mac OS X, continue perusing, as I’ll be covering approaches to secret word ensure singular files and folders using iWork, Microsoft Office, Automator, Disk Utility, Terminal, and that’s only the tip of the iceberg. We had beforehand done a guide on this, yet things have changed a ton from that point forward. This refreshed guide concentrates on Yosemite (10.10), however the techniques may even now take a shot at more seasoned frameworks.

Using Apple iWork (Keynote, Numbers, and Pages)

Every one of the three of Apple’s efficiency applications, Keynote, Numbers, and Pages, have secret key insurance highlights worked in. In the wake of completing whatever you’re chipping away at in any of the three iWork applications (I’ll be using Pages for instance), do the accompanying.

  • Select “File” in the menu bar.
  • Tap on “Set Password.”
  • Enter a secret word, at that point confirm it.
  • Leave a watchword indicate (discretionary, yet recommended).
  • Tap on “Set Password.”
  • Erasing or Changing a Locked File

Deleting locked files on mac

To delete a locked file, the procedure is truly basic. In the event that you need to delete one locked file, move it to the trash, and when you click “Empty Trash…” or press “Move + Command (Apple) + delete,” ensure you hold down the Option key. For numerous locked files, hold down Shift and Option while you empty the trash.

Changing or moving locked files can be a weight, however. You can tap on the file, pick “Get Info…” or press “Charge + I,” at that point uncheck the ‘Locked’ checkbox, however imagine a scenario in which you have a pack of files to unlock. Fortunately, there are a couple of alternate ways that you can use to unlock these files:

The snappiest technique is to choose every one of the files you need to unlock, at that point squeeze “Choice + Command + I” (or hold down Option while picking “Get Info…” from the File menu) to open one Info sheet for every one of them. At that point uncheck the ‘Locked’ checkbox, and you’re finished!

Empty trash with locked files

Another technique, somewhat more included, yet potentially better for specific circumstances (like files spread through an assortment of folders), is to open up the Terminal (in Applications > Utilities) and enter:

chflags – R nouchg <directory_name> (where the <directory_name> is the way to the parent folder.

Another one strategy is to download an utility like LockMeBaby (from Soramimi Works) which plays out the above strides for you.

Whatever you choose to do, ensure you are erasing the correct files—there’s typically a reason somebody experienced all the inconvenience of locking a file!

Using the Terminal to remove locked files

Dispatch the terminal. “Go to Applications > Utilities > Terminal” to open. The terminal enables you to execute orders to the working framework with code. The “sudo” tag is used to allow root get to. In the wake of entering a charge with it, you might be provoked for your record’s executive secret word to continue with the order.

Change the lock status. Enter “sudo chflags nouchg [path to the file]”. This should drive flip the files locked status. For instance:

“sudo chflags nouchg ~/Applications/Microsoft Word/test.doc”.

You can likewise relocate the objective file in the terminal window to naturally enter the file way.

Power delete the file. As a last resort, another terminal order can drive file cancellation. Enter “sudo rm – r [path to the file]”. By and large, this summon will delete the file once conceded overseer authorization with the secret key.