In short
- Most harm comes from programs and files with macros, not from photos.
- Check the sender and the file type first, and open Office files in Protected View.
- Got files you expected? Ask the sender for a free link instead of an attachment.
A file can be a photo, a document or a program. Photos and plain PDFs are usually harmless to look at, but programs and some documents can carry malware, which is software that harms your computer.
You do not need to be an expert to stay safe. Three questions help a lot. Do I know the sender, was I expecting this file, and does the file type match what I was told it would be.
Start with the sender
Look at the real email address, not only the name. A message that pushes you to open a file fast, or asks for a password, is a warning sign.
If you know the person, send them a short message and ask if they really sent it. It takes one minute and can save you a lot of trouble.
Look at the file type
The ending of the name tells you what the file is. Pictures end in .jpg or .png, documents in .pdf or .docx. Endings like .exe, .bat, .msi, .js, .vbs, .ps1 and .lnk are programs or scripts.
Microsoft lists these exact types as blocked in Outlook, because file attachments are one of the most common ways viruses spread. If a photo is called holiday.jpg.exe, it is not a photo.
Show the full file name
Windows can hide the ending of a file name. Open File Explorer, go to the View menu and turn on file name extensions, so you always see the real ending.
Then a trick like a program dressed up as a picture is easy to spot. The picture should end in a picture type, nothing else.
Let Office open it in Protected View
Microsoft says files from the internet and from other unsafe places can contain viruses, worms or other malware. For this reason Word, Excel and PowerPoint open them in Protected View, a read-only mode where most editing is turned off.
You can read the file there without risk. Select Enable Editing only if you trust the source and the content, as Microsoft advises.
Be careful with macros and zip files
A document that asks you to turn on something to see the content is a red flag. Read it first in Protected View and do not click anything that asks for more permission.
A zip file is only a box. The files inside follow the same rules, so look at their endings after you open it.
Prefer a link you expect
A file you asked for, from a person you know, is far safer than a surprise attachment. When you want files from someone, ask them to send a link and you decide when to download.
With a Room, the person opens one link in the browser, with no account, and the files are never compressed or converted. You see the names and the types before you save anything.
Never compressed or converted, one link, no account needed. Free up to 10 GB.
Receive files you expected, in one link →Questions
Can a photo carry a virus?
A real photo file is very unlikely to. Be careful when the name ends in .exe or another program type.
Is a PDF always safe?
Not always, so open it from a sender you trust and keep your apps up to date.
What is Protected View?
A read-only mode in Office where most editing is turned off, so you can read the file safely.
Should I click Enable Editing?
Only if you trust the source and the content of the file.
