Mac Hide Apps From Other Users

The default options for application-hiding in OS X are to press Command-H to hide the current program, or to press Option-Command-H to hide all applications except the current one. Dotnet user-secrets set 'Movies:ServiceApiKey' '12345' -project 'C:appsWebApp1srcWebApp1' JSON structure flattening in Visual Studio. Visual Studio's Manage User Secrets gesture opens a secrets.json file in the text editor. Replace the contents of secrets.json with the. Sep 24, 2017  Right-click on the drive you wish to protect in File Explorer, click on Properties, then click on Security tab. Click the Edit button. Select the users/groups you wish to hide your files&folders from and uncheck the Allow boxes. That grant them permissions to read/list files&folders/etc.

In our earlier article, we have explained how to view hidden files in Windows and hide files from other users. Similar to Windows, system files are by default hidden in Apple macOS. However, you can use the Terminal (Command Prompt in Mac) app to show or hide the hidden files in Finder.

Why You May Need to View Hidden Files?

Viewing hidden files is very useful in many situations.

  • You want to look for plist files or any other folders in your Library folder. This is Library folder is by default hidden on your Mac.
  • When using FTP you may need to upload some hidden files to your server.
  • If you are doing web development with local Apache server setup then you may need to modify server configuration files like .htaccess file.
  • When you share the Mac with multiple users, you may want to view the files hidden by other users on your Mac.

How to View Hidden Files in Mac?

Follow the below instructions to view the hidden files on your Mac:

  • Press “Command + Space” to open Spotlight Search.
  • Type “terminal” and open the Terminal app.
  • Copy and paste the below command and hit enter key.

defaults write com.apple.finder AppleShowAllFiles YES

  • Press option key and right-click on the Finder app on your dock and select “Relaunch” option.
  • Now, open Finder and you will see all hidden files on your Mac.
  • Mac will show the hidden files in a dimmed color.
  • If you want to hide the hidden files, run the following command in Terminal app.

defaults write com.apple.finder AppleShowAllFiles NO

How to Hide Files in Mac?

Viewing and hiding the system or default hidden files is easier in Mac as explained above. However, it is a tricky task to hide a users file or folder in Mac. Unlike Windows, you don’t have any graphical interface to hide user files or folders in Mac. There are different methods to hide files / folders created by users.

1. Move Folder and Files to Library Folder

As mentioned, Library folder is a system folder and Mac by default will hide from all users in the Finder app. If you want to keep files hidden from other users then simply create a new folder inside Library folder and store your files. All folders inside Library folder will also be hidden and not visible to users.

  • If you have made the hidden files visible as explained in the above section, launch Finder and press “Shift + Command + L”. Alternatively, navigate to “Go > Library” menu to open Library folder. Remember, this option will be available only when you have enabled to view the hidden files.
  • If you are in the default mode that hides system files then you will not see “Library” folder in Finder “Go” menu. In this case, press option key and click on the “Go” menu to view the “Library” option. Click on it to open “Library” folder.
  • Now, click on the Gear dropdown icon on the toolbar and choose “New Folder” to create a new hidden folder. Rename the “New Folder” as you need.
  • Move your files inside the “New Folder”.
  • Go to Terminal app and hide all systems files as explained above.

2. Set Visibility Parameter of File

The second option is to change the visibility parameter of a file or folder using Terminal. Launch Terminal app and type the below command to hide the file.

chflags hidden <File Path>

If you don’t know the file path in Mac, just type “chflags hidden” without pressing enter key. Now open Finder app and drag and drop the file or folder to the Terminal next to the command. When dragging, you should see a green + icon and you will see the file path added to the command after dropping the file. If you want to unhide the file, simply change the command to unhidden like below.

chflags unhidden <File Path>

3. Add Dot in File Name

You can notice, Mac will hide the files that starts with dot like .htaccess. This is a common behavior as the text after dot is considered as file extension. Therefore, if you want to hide a file on your Mac then add a dot in the front to make it invisible by default. You can unhide and change the name whenever needed.

4. Hide with XCode

The last option is to hide or view the files using Apple Developer Tools.

  • Go to App Store and install XCode app.
  • Open Terminal and run the command to hide the file. As mentioned earlier, you can drag and drop the file to add the file path in Terminal.

setfile -a V <File Path>

  • When you want to view the file, change the capital V to small v and run the command again.

setfile -a v <File Path>

Remember, XCode app needs 6+ GB size on your Mac for installation. Therefore, we do not recommend to install the app only for the purpose of hiding files.

Set File Permission Instead of Hiding

The above explained methods will help you to easily hide or view hidden files on your Mac. However, use this to only view or hide default system files and do not use these methods to view or hide confidential files. You can use file manager with password option to setup strong password for your confidential files and folders. In addition, you can also setup file permission to restrict access only to you.

  • Select the file and press “Command + I” shortcut keys. Alternatively, right click on the file or folder and select “Get Info” menu.
  • This will open the properties of the selected item.
  • Look at the last option “Sharing & Permissions”. Ensure to select “Read & Write” option only for your account and select “No Access” to “everyone”.

MacBook storage issue is still a relevant one in 2020. The promised 1 TB of storage — which is the capacity of the upcoming MacBook Air 2020 — will still be not enough for many. We generate more and more content on our devices and use apps that are bursting with cache files. This is what creates the cryptic category of “Other” storage on Mac.

On recent macOS versions this storage category is labeled “other volumes in container”. Which, of course, doesn’t make it any less cryptic. This category contains junk files as well as important ones. That’s why you have to learn to properly check storage on Mac.
So let’s figure out what Other Storage is and how to remove Other from your Mac.

What is Other on Mac Storage?

Simply, Other storage on Mac consists of files that do not easily fall into the clearer category labels like 'Audio.' The types of 'Other' files would include:

  1. Documents like PDF, .psd, .doc, etc.
  2. macOS system and temporary files.
  3. Cache files like user cache, browser cache, and system cache.
  4. Disk images and archives like .zip and .dmg.
  5. App plugins and extensions.
  6. Everything else that doesn’t fit into the main macOS categories.

Like this file:

What’s this? A song? An unknown archive? Why on Earth it weighs 200 MB?

How to check Mac disk space usage

A few years back Apple introduced “Optimized Storage”, a great feature for finding out how your disk space is structured. This is how to check storage on Mac.

  1. Open the Apple menu (top right corner)
  2. Now, click About this Mac >Storage

Is your disk approaching full capacity? Now, click “Manage.” The sidebar to the left is really enlightening. This is the only place where on your Mac it shows the size of your apps, books, and documents in gigabytes.

Where is Other Storage on a Mac

To show you where it is, let’s look at your Library. This is where your macOS keeps application components, widgets, and various cache archives. This part of your Mac is hidden from view for a reason. Messing up a few folders here may break your Mac. But let’s take a look:
Click on Finder > Go (in the top menu).
Now paste in: Library/Caches

See those small folders? This is where your “Other” storage is. You’ve found it. Now, we'll see what's possible to delete.

How to delete Other Storage on Mac

You can’t entirely get rid of Other on Mac but you can reduce how much storage space it takes up. We’re now going to look at each of the six types of Other files and show you how to clean up your Mac. We’re going to walk you through deleting useless documents, junk system files, system slowing cache files, old backups, and all sorts of other junk.

1. Remove documents from Other Storage space

You might not think that pure text documents take up a lot of space but you may be surprised at the size of some .pages and .csv files. And that’s before you start adding images, downloading ebooks, and creating big presentations. Soon your Other documents can start to get out of hand.

To find and remove large and unneeded documents from Other Storage manually:

  1. From your desktop press Command + F.
  2. Click This Mac.
  3. Click the first dropdown menu field and select Other.
  4. From the Search Attributes window tick File Size and File Extension.
  5. Now you can input different document file types (.pdf, .pages, etc.) and file sizes to find large documents.
  6. Review the items and then delete as needed.

Luckily, there’s a much quicker and more thorough way. By using a CleanMyMac X you are presented with a clear view of all the massive files occupying your Other space.

To locate large hidden files in all folders with CleanMyMac:

  1. Open CleanMyMac X and click on Large & Old Files tab
  2. Click big Scan button to start the search
  3. Now, review the results broken down by different categories: archives, documents, movies etc.
  4. Look through your files and delete the ones you no longer need.

What’s great about this method is that you can sort the files by their size and thus free up space most effectively. And there’s a special category for Other files that don’t fit into either category. These files can be also moved to another folder/separate disk or could be removed securely.

In addition to this, you can empty up a few more gigabytes taken up by Dropbox folder and your Trash.

You can download CleanMyMac X here (it's free to download from developer's site).
In the top right bar (where the time and language is displayed) you’ll find a small Mac icon that takes you to the CleanMyMac X’s Menu.

  1. Click on CleanMyMac X Menu icon (within the upper bar)
  2. Locate windows for Trash and Dropbox
  3. Click Empty to instantly free up space

No try it and see how it helps you slim down Other storage on Mac. Deleting your old files alone can recover you tons of space, but there are more space hoggers that fall under the Other data category.

2. Clean up Other space of system and temporary files

Every second your Mac is on, the macOS creates and piles up system files — logs, for example. At some point, the system needs these files, but they quickly become outdated and just sit there wasting your disk space. And guess what, they are in the Other Mac storage category, too.

These files are mostly temporary but they never actually go away unless you do something about it. The difficulty is that Apple hasn’t made it easy to clear out system files. There’s a good reason for this – people often delete things they shouldn’t.

Let's inspect your Library folder

To manually find where a majority of apps temporary files live navigate to ~/Users/User/Library/Application Support/. In this folder you will find your applications and some searching will reveal a lot of space being taken up. For example, your may have gigabytes worth of old iOS backups in ~/Library/Application Support/MobileSync/Backup.

You could delete these manually but a much safer and faster method is to use a specialist cleaning app like CleanMyMac X. It has a System Junk module that specifically looks for useless system files and knows what’s safe to delete.

Here’s how to easily remove system files from Other Storage:

  • Go to System Junk in CleanMyMac.
  • Hit Scan.
  • Hit Clean.

That’s pretty much it. Seriously. If this is the first time you ever cleaned your Mac, you’ll see that the OS X Other storage tab has shrunk considerably after the system junk cleanup.

Using this method I was able to additionally delete 4.75 GB of 'System Junk' from my MacBook.

3. Delete cache files from Other data section

Cache files are not just another invisible storage hog. They are often one of the worst offenders, often taking up gigabytes of precious space. The three main types cache are – browser, user, and system. Cache files are meant to help your system work faster, but over time they get bigger and bigger, eventually slowing your system down.

To manually clear cache files on Mac:

  1. Navigate to Go > Go To Folder.
  2. Type in ~/Library/Caches and click Go.
  3. Click-hold Option and drag the Caches folder to your desktop as a backup in case something goes wrong.
  4. Select all the files in the Caches folder.
  5. Drag them to the Trash.
  6. Empty Trash.

Follow the same steps for /Library/Caches (without the “~”) and ~/Library/Logs. Cache files sit in numerous folders, and with a little patience, you can clean them out manually (read more detailed instruction on clearing cache).

Did you know: Each time you rotate an image it’s copy is automatically created on your drive. So, just 4 rotations are enough to turn a 2.5 MB file into 10 MB of disk space occupied.

For those who don’t have the time or are worried about deleting the wrong files, CleanMyMac can quickly and safely do the job.

If you already cleaned out system files from step 2, congratulations, in doing so you also cleared out your cache files. If you didn’t, here are the steps again:

  • Go to System Junk in CleanMyMac.
  • Hit Scan.
  • Hit Clean.


This will clear all the cache files on your Mac and considerably reduce Other storage on your Mac.

4. Remove app plugins and extensions from Other storage

Another cool way to manage storage on Mac.
While apps are, unsurprisingly, categorized as Apps on the Storage bar, their add-ons are under the Other storage category.Compared to some types of files, app plugins and extensions probably won’t take up as much of your Mac's Other space. Still, every bit counts. Since extensions can sometimes cause other problems on your Mac, why not remove the ones you don’t use to be safe and free up some extra Other storage space at the same time?

Tracking down all your add-ons can be a hassle. Some you’ve forgotten you had (like that nCage extension for Chrome), others you didn’t know of in the first place.

Here’s how to manually remove extensions from Chrome, Firefox, and Safari.

Hide

To remove extensions from Safari:

  1. Open Safari browser.
  2. Click on Preferences.
  3. Click on the Extensions tab.
  4. Select the extension you want to target and uncheck “Enable” to disable or click “Uninstall” to remove.

To remove extensions from Chrome browser:

  1. Open Chrome.
  2. Click the three dot icon in the top-right corner.
  3. Click More tools > Extensions.
  4. Disable or remove as you choose.

To remove extensions from Firefox:

  1. Open Mozilla Firefox browser.
  2. Click on the burger menu in the top-right corner.
  3. Choose Add-ons.
  4. From the Extensions and Plugins tabs disable and remove whatever you want.

Important! If you’re not sure what a plugin does, don’t rush to remove it. Try disabling it first and see if your apps and your system work as expected. You can always remove that add-on later. Also note that Chrome extensions can’t be deleted automatically. But if you’d like to get rid of them, we’ll list these extensions for you and tell how to do that manually.

5. Clear Other space of disk images and archives

Normally, archives and images are files you keep for a reason. However, if you think you might have accumulated some useless .zip and .dmg files on your Mac, then you should definitely clear them out as well.

Mac Hide Apps From Other Users

You can find these files using Spotlight search:

  1. Open Finder.
  2. Type DMG/ZIP in the search field.
  3. Select Search: This Mac.
  4. Sort the results by Size.

Finder will show you all files of the format you’ve specified, sorted by size. You can clean out those you don’t need.

Mac Hide Apps From Other Users Windows 10

To safely and easily remove all your old unused disk images, CleanMyMac X has a dedicated tool within the System Junk module. Everything is categorized so you have a better understanding of what you’re removing.

  1. Go to System Junk module in CleanMyMac X
  2. Click Scan and when it’s done, click Review Details

Now you get a detailed overview of some ultra-specific categories of files that are normally invisible to you. Among those you’ll see Unused Disk Images (another name for DMG installations). Then, there’s Old Updates — you would like to remove those too. Old Updates are past versions of update packages that you already got installed.

Do you often use use graphic editors like Photoshop or Sketch? Then, you’ll probably be fascinated by Document Versions feature. If you click on Document Versions tab (System Junk > Scan > Review Details), you’ll be able to see how much of your space is taken by large document re-edits. Imagine a 60 MB Photoshop file cloned 10 times with just slight differences. In CleanMyMac X you can delete these intermediate revisions. And, handy enough, the program keeps just the original file and its final revision on the drive.

6. Get rid of everything else from Other disk space

Even Other storage space has its own “other” files and no, the irony of that statement is not lost on us.

Other storage on Mac can also include:

  • Files in your user library (screen savers, for example).
  • Files Spotlight search doesn’t recognize.

Mac Hide Apps From Other Users 2017

Typically, they won’t be as big of a share of Other data on your Mac as cache files and other items we’ve cleared out. However, if you’re determined to clean out as much Other Mac storage as possible, here’s how you can delete screensavers:

  1. Open Finder.
  2. In the Menu bar, select Go > Go to Folder.
  3. Type this: ~/Library/Screen Savers and click Go.

You’ll see the screen saver files now — they are lightweight, but for the sake of being thorough, you can trash them as well.

As for files Spotlight doesn’t recognize, they are rare. They could include files like Windows Boot Camp partitions or virtual machine hard drives. If you don’t recall putting anything like that on your Mac, you probably have nothing to look for.

7. See your disk contents through a Space Lens

Some apps, like Daisy Disk or CleanMyMac create a visual map of your entire drive. It’s an amazing way to see your Mac as it is under the hood — with bubbles of different sizes representing each file category. But what’s most important, you can delete your useless files right from there. It's so cool you can manage storage on Mac in a visual way:

  • Run the Space Lens tool in CleanMyMac X — A link to a free version from developer’s site
  • Explore the bubbles
  • Delete files you don’t need

How much can you expect to delete from Other storage on Mac?

You’ll never remove Other data section from Mac entirely, nor should you want to. It’s perfectly fine to have space taken up by necessary files, whatever category label they have. What is not okay is valuable storage space being wasted.

Download CleanMyMac and follow the steps in this guide to clean gigabytes off Other storage on your Mac.
Your lighter and faster Mac will love you for it. =)

Other Users Mac Storage

These might also interest you: