GiliSoft File Lock Pro for Windows and Mac

Hide private files and folders with password-controlled desktop software instead of relying only on visible, reversible system attributes.

  • Hide selected local files and folders
  • Restore authorized visibility with your password
  • Choose the Windows or macOS edition for your computer
GiliSoft File Lock Pro for hiding private files and folders

How to Hide Files or Folders on Windows 10 and Mac

Updated on July 23, 2026   |   By GiliSoft Editorial Team

Private photos, personal records, work documents, financial files, and project folders can be exposed when a computer is shared or briefly used by someone else. Windows and macOS include basic ways to conceal files, while dedicated software adds password-controlled hiding and a clearer restore process.

This guide explains what each method actually does. Basic hidden attributes reduce casual visibility; they do not encrypt the content. FileVault protects a Mac disk at rest; it does not hide one folder. Use GiliSoft File Lock Pro when selected files and folders need managed hiding with authorized access.

Why Hide Files or Folders?

Hiding is useful when the goal is to reduce accidental discovery of private content on a shared or temporarily accessible computer.

Hiding is not the same as encryption: a built-in hidden attribute can be reversed by changing view settings. For sensitive content, combine controlled hiding with a strong account password, disk encryption, or dedicated protection software.

Which File-Hiding Method Should You Use?

MethodPlatformBest forProtection level
GiliSoft File Lock ProWindows / MacSelected private files and foldersPassword-controlled managed hiding
File Explorer Hidden attributeWindowsBasic casual concealmentEasy to reverse
attrib commandWindowsScriptable Hidden/System attributesEasy to reverse
Finder / chflagsMacBasic visibility controlEasy to reverse
FileVaultMacEncrypting the startup disk at restStrong disk encryption, not selective hiding

Method 1. Hide Files and Folders on Windows with File Lock Pro

File Lock Pro provides a dedicated Local Disk > Hiding File area for selected files, folders, or drives. Use it when a reversible Windows Hidden attribute is not enough.

  1. Open GiliSoft File Lock Pro and enter the master password.
  2. Choose Local Disk, then select Hiding File.
  3. Select Hide Files/Folders or Hide Drive.
  4. Choose the private item and confirm it appears in the list.
  5. Check File Explorer to confirm the item is no longer visible in ordinary browsing.
  6. To restore it later, select the item in File Lock Pro and choose Unhide.
Hide files folders or drives with GiliSoft File Lock Pro on WindowsManage hidden local files, folders, and drives from one password-controlled list.

Hide selected Windows content with a clear restore path

File Lock Pro also supports locking, protection against changes, external-drive hiding, shared-folder locking, monitoring, encryption, and secure shredding.

GiliSoft File Lock Pro for Windows box

Method 2. Hide a File in Windows with File Explorer

Windows can mark a file or folder as Hidden. This is convenient for basic organization, but anyone who enables Hidden items can reveal it.

  1. Right-click the file or folder and choose Properties.
  2. On the General tab, select Hidden.
  3. Choose Apply.
  4. For a folder, choose whether to apply the change only to the folder or also to its subfolders and files.
  5. Select OK, then confirm File Explorer is not configured to show hidden items.

Method 3. Hide Files or Folders with the attrib Command

Command Prompt can apply Hidden and System attributes to an exact path. Quotation marks support paths and names that contain spaces.

  1. Search for Command Prompt and open it.
  2. Enter attrib +h +s "D:\Private Folder", replacing the sample path with your actual file or folder.
  3. Press Enter and verify the result in File Explorer.
  4. For one file, include its full name and extension.

How to Unhide Files or Folders on Windows

Restore a File Explorer hidden item

  1. In File Explorer, temporarily enable View > Show > Hidden items.
  2. Right-click the faded hidden item and open Properties.
  3. Clear Hidden and apply the change.

Restore an attrib-hidden item

Enter attrib -h -s "D:\Private Folder", using the same path that was hidden. If File Lock Pro hid the item, restore it inside File Lock Pro instead.

Method 4. Hide Files and Folders on Mac with File Lock Pro

GiliSoft File Lock Pro for Mac provides dedicated actions for hiding files and folders, plus an authorized unhide process.

  1. Open File Lock Pro for Mac and enter the application password.
  2. Choose the file-hiding or folder-hiding task.
  3. Add the private item you want to conceal.
  4. Confirm it is hidden from ordinary Finder browsing.
  5. Use the Unhide task inside File Lock Pro when the item should be visible again.

Method 5. Use Finder and Terminal Visibility Controls on Mac

Pressing Command + Shift + . in Finder toggles the display of items that are already hidden. It does not turn a normal file into a hidden file.

Show or hide existing hidden files in Mac Finder with keyboard shortcutUse Command + Shift + . to switch the visibility of existing hidden items in Finder.

To hide a specific item with Terminal, enter chflags hidden "/path/to/Private Folder". To restore it, enter chflags nohidden "/path/to/Private Folder", then reopen Finder. Dragging the item into Terminal can help insert its exact path.

Method 6. Use FileVault for Full-Disk Protection on Mac

FileVault encrypts the Mac startup disk so data is protected when the Mac is powered off or an unauthorized person tries to access the disk. It does not selectively hide one file or folder while you are signed in.

  1. Open System Settings.
  2. Go to Privacy & Security, then locate FileVault.
  3. Choose Turn On FileVault and follow the recovery instructions.
  4. Store the recovery information safely and allow encryption to complete.

File and Folder Hiding Checklist

Keep Private Files Out of Ordinary View

Choose GiliSoft File Lock Pro for Windows or Mac when selected files and folders need managed, password-controlled hiding.

View File Lock Pro