Read a File's Properties Before You Run It
Before you open a download, read its name, type, size, and date. Those few lines catch a program pretending to be a document.
The icon on a download is a costume. The properties panel is the plain description: name, type, size, and the dates the computer recorded. Reading it takes less time than recovering from a file you should not have opened. You do not need special software. You need the habit of looking before the double-click.
Turn the real name on
File extensions are the letters after the last dot. Some systems hide them to look tidy, which also hides a program ending stuck after a friendly name. Turn extensions on in the file view so Invoice.pdf.exe cannot pretend to stop at pdf.
The icon is drawn by the system from that extension, or from a custom image inside the file. Attackers know people trust icons. Properties do not care about the picture. A checklist before you open a downloaded file belongs beside this glance. Properties are one item on that list, and they are the item you can do entirely offline.
Type is the question that matters
You wanted a document, a photo, or a spreadsheet. The type line should say something in that family. If it says application, installer, or a program type you did not expect, stop. A manual is not an application. A boarding pass is not an application. Renaming an extension does not convert a file, and it also does not make a program safe. It only changes the costume.
On Windows, properties include a type description and sometimes more detail under a details tab. On a Mac, Get Info shows kind and size. The wording differs. The decision is the same: kind must match the thing you meant to download.
Size and dates are the smell test
A one-page letter that is 80 megabytes is odd. A full installer that is a few kilobytes may be a stub that downloads the rest later, which is normal only when you expected a stub from a known publisher. Why the same file can show two different sizes explains honest size gaps. A size that makes no sense for the story on the page is a reason to delete, not to experiment.
The modified date on a fresh download is often today. That does not prove the publisher built it today. It proves your copy was written today. If someone sent you a file they claim is an old record and the only date you can see is this afternoon, ask where it came from before you open it.
Where it came from, if the panel says
Some systems show a warning on files downloaded from the internet, and a button to see more information. Read it. A publisher name that does not match the product is the same clue as a bad digital signature. If the panel offers unblock or open anyway, that button is not the goal. The goal is to decide you recognize the file.
If you do not recognize it, cancel. Delete the download. Emptying the browser list without deleting the file leaves it for a later misclick.
Then decide, once
Properties are not a virus scan. They will not declare a file innocent. They will catch the obvious costume changes, which are common because they work on people who never look. When the type matches, the source was a site you chose, and you still want the file, open it. When any of those fail, do not open it to settle the debate.
Keep the properties habit even for files from friends. A friend can forward a costume without knowing. The panel is how you notice.
Frequently asked questions
I do not see an extension. Did I do it wrong? The system may be hiding extensions, or the file may be a bundle that looks like a single object. Use the type or kind line. If that line says application and you wanted a document, that is enough to stop.
The size matches and I am still uneasy. Should I open it? Unease is a reason to go back to the publisher's site and download a fresh copy, not a reason to click through. You can also check a checksum if one was published.
Does this replace antivirus? No. It is a step before you ask the scanner to bless a file you could have rejected on sight. Leave the scanner on.
Steps
- Show the full name: Turn on file extensions so you can see the real ending, not only the icon.
- Read type and size: Check that the type matches what you expected, and that the size is in the right ballpark for that kind of file.
- Check the dates: A document you expected from years ago should not look like it was created in the last minute unless you just downloaded it on purpose.
- Stop if the type is a program: If you wanted a document and the type is an application, do not open it. Delete it or go back to the publisher.