Friday, April 19, 2024

How to Password Protect a File of any type

Putting a lock on digital data should be a norm if it isn’t already

YOU NEVER KNOW when one of your files might reach someone it wasn’t intended to reach—perhaps through an email forward, a USB stick left behind on a desk, or maybe even an unauthorized user accessing your computer.

Should that happen, password protection is all that stands between your data and the people whom you don’t want to see it. It’s an extra layer of security you can add to your most sensitive files without too much trouble.

How you go about this will depend on the software you’re using to create the file in the first place. Some applications have password protection features built-in, while in other cases you’ll need to lock up your files using a different method.

Microsoft Word, Excel, and PowerPoint

Adding a password to a document in Word. MICROSOFT WORD VIA DAVID NIELD

In Word, Excel, or PowerPoint for Windows, open the file you want to protect with a password, then select File and Info. You should see a Protect option at the top of the next list: Click this button, choose Encrypt with Password, and type out your password.

Passwords can be up to 15 characters long and are case-sensitive, so double-check what you’re typing in. If you forget the password for a document, spreadsheet, or presentation, you won’t be able to get back into it—you’ll have to start again from scratch.

Recommended:  How to tell if someone is stealing your home WiFi

If you’re using Office on macOS, the process is slightly different: Open the Review tab in the ribbon menu at the top, then click the Protect button to enter a password. (The button will be labelled slightly differently depending on which program you’re in.)

Google Docs, Sheets, and Slides

Sharing a document in Google Docs. GOOGLE DOCS VIA DAVID NIELD

There’s no password protection feature as such in Google Drive, because your files are already protected by a password: The password linked to your Google account that you use to log in and view your documents, spreadsheets, and presentations.

If you choose to share a file from Google Docs, Sheets, or Slides—via the big Share button in the top-right corner when you’re working on something—you can either invite specific users to see it (via their email addresses) or generate a link that anyone can use.

We’d recommend the former option (inviting individual users) for maximum security. This means they’ll need to log in with their own Google account password—another layer of password protection—before being able to view the file you’ve shared.

Apple Pages, Numbers, and Keynote

Setting a password on a document in Apple Pages. APPLE PAGES VIA DAVID NIELD

If it’s the Apple office applications that you’re using, the process of adding a password couldn’t be much easier. With the file open in Pages, Numbers, or Keynote, select File and then Set Password to choose and apply your password.

The same warning applies as it does with Microsoft Office—if you can’t remember your password then you’re not going to be able to get back into your document, spreadsheet, or presentation (otherwise hackers would be able to get in as well).

Recommended:  How to Run Threat Intelligence Analysis and Malware Research (Without Spending a Dime)

Note the Open with Touch ID checkbox on the password dialog. This gives you the option of using a Touch ID–enabled keyboard on macOS to open your own protected files, saving you the trouble of typing out a password each time.

Protecting Other Files

Adding password protection to a folder on Dropbox. DROPBOX VIA DAVID NIELD

We can’t cover every application out there in terms of password protection, but if you dig around in the programs that you’re using you might find that they offer this form of additional security while saving files.

If not, you’ve still got a few options. Keeping files in cloud storage lockers (like Google Drive) is one option: The act of sharing files on these services usually requires a username and password to log in, so your files are kept safe in that way.

Sometimes there are extra features. In the case of Dropbox, for example, on the folder-sharing pane on the web, you can click Settings and then change Who has access to People with password—so both a unique URL and a password are required for access.

If you need another option, create a password-protected archive containing the file or files that you need to keep safe. 7-Zip is a free tool for Windows that is able to build password-protected archives, for example.

Suggest an edit to this article

Go to Cybersecurity Knowledge Base

Got to the Latest Cybersecurity News

Go to Cybersecurity Academy

Go to Homepage

Stay informed of the latest Cybersecurity trends, threats and developments. Sign up for our Weekly Cybersecurity Newsletter Today.

Remember, CyberSecurity Starts With You!

  • Globally, 30,000 websites are hacked daily.
  • 64% of companies worldwide have experienced at least one form of a cyber attack.
  • There were 20M breached records in March 2021.
  • In 2020, ransomware cases grew by 150%.
  • Email is responsible for around 94% of all malware.
  • Every 39 seconds, there is a new attack somewhere on the web.
  • An average of around 24,000 malicious mobile apps are blocked daily on the internet.
Bookmark
Close
Recommended:  Learning Django: Key Concepts Every Beginner Should Master
Please login
Share the word, let's increase Cybersecurity Awareness as we know it
- Sponsored -

Sponsored Offer

Unleash the Power of the Cloud: Grab $200 Credit for 60 Days on DigitalOcean!

Digital ocean free 200

Discover more infosec

User Avatar
Steven Black (n0tst3)
Hello! I'm Steve, an independent security researcher, and analyst from Scotland, UK. I've had an avid interest in Computers, Technology and Security since my early teens. 20 years on, and, it's a whole lot more complicated... I've assisted Governments, Individuals and Organizations throughout the world. Including; US DOJ, NHS UK, GOV UK. I'll often reblog infosec-related articles that I find interesting. On the RiSec website, You'll also find a variety of write-ups, tutorials and much more!

more infosec reads

Subscribe for weekly updates

explore

more

security