A double extension in an attachment
A name like "invoice.PDF" may in fact continue with another, program extension that the system hides. You see a document but launch a program. Turning on file extensions reveals such a double tail at once.
An independent reference about file formats and documents. It sells nothing, does not store or convert files, and is not connected with software developers or with the former site on this domain.
Security
A file that arrived by email or was downloaded from a link is not always what it seems. Fraudsters long ago learned to disguise programs as documents, hide dangerous commands in ordinary-looking texts and spreadsheets, and rush the recipient so they don't have time to think. The good news is that most of these tricks can be spotted by a few simple signs. This section describes them in general terms.
The most reliable protection is a pause: if an email demands that you open an attachment urgently, that is a reason to wait and check.
What this section covers: everyday risks related to files and documents, in general terms. If your workplace has its own rules for handling attachments, follow them.
Six traps you meet more often than others in email and downloads.
A name like "invoice.PDF" may in fact continue with another, program extension that the system hides. You see a document but launch a program. Turning on file extensions reveals such a double tail at once.
A macro is a small program inside a text or spreadsheet. Useful macros exist, but attackers use them to run their own commands. If a document from a stranger asks you to enable macros or editing, don't agree.
An archive's contents are hidden until you unpack it, so disguised programs are often sent in archives. An archive whose password is given right in the email is especially suspicious: it is a way to get past mail scanning.
Instead of an attachment, an email may contain a button or link leading to a fake sign-in page or to a dangerous file download. If you were expecting a document, open it where you usually do, not through a link in an unexpected email.
A document's properties store the author's name, the organisation's name, edit dates and sometimes hidden comments. Photos may carry the coordinates of where they were taken. Before sending to outsiders, review the properties and remove what isn't needed.
Textbooks, articles and other people's materials are protected by copyright. Posting copies of them publicly without permission is not allowed, and downloading such copies from dubious pages is also unsafe: a harmful file can easily come along with them.
Don't panic, and stop working with that file. Close it, disconnect the computer from the network and scan the system with a security program you trust. If the file came to your work email, report it right away to whoever is responsible for computers in your organisation.
If you entered a login and password anywhere after opening the file, change them from another device you know is safe. Tell the person in whose name the email was sent what happened: attackers may be using their mailbox.
Every document you find online was written by someone. Quoting a short passage with credit to the author is usually fine, but posting full copies of other people's books, manuals and articles under your own name or without permission is not.
If you need someone else's document, look for it from the author or whoever officially published it. That way you get the current version, infringe nobody's rights and don't risk downloading something dangerous along with the file.
Showing extensions, a PDF viewer, an archiver, a plain text editor, order in folder names and a separate folder for drafts.
Step-by-step advice: how to identify a format, save a document as PDF, pack files into an archive and name them clearly. The article catalogue is here too.
A file won't open, symbols instead of letters, a PDF can't be edited, an archive asks for a password, an attachment is too big, formatting went wrong.
PDF versus an editable document, a ZIP archive versus separate files, a scan as PDF versus a scan as an image: strengths and weaknesses.
Answers about the reference, about formats and documents, and about how not to fall for a dangerous attachment.
This page collects general advice about files as the editors understood the topic on the date it was prepared. Programs and devices work differently, and the same menu commands go by different names. If the help for your program says otherwise, trust the help.