How to Keep a Laptop Secure When Working in Public Places
Keeping a laptop secure in public is mostly habit: lock the screen, encrypt the drive, use a privacy screen, and never leave the machine unattended

Working from a cafe, airport, library, or coworking space is convenient, but it puts your laptop in front of strangers — and most of the risk is simpler than people expect.
A thief does not need hacking skills to steal an unlocked laptop from a table, and a passerby does not need software to read your screen over your shoulder.
Keeping a laptop secure in public comes down to a few habits: lock the screen every time you stand up, encrypt the drive, use a privacy screen for sensitive work, treat public Wi-Fi with suspicion, and never leave the machine unattended.
None of these is difficult, and together they cover the risks that actually cause losses.
This guide works through each risk in order, from the moment you sit down to the moment you pack up. It focuses on what you can do today, with the laptop you already own, without buying a shelf of security products.

The risks are simpler than you think
The biggest risk in a public place is physical theft, and it is usually a crime of opportunity. A laptop left open on a table while its owner queues for coffee is an easy target, and it takes seconds.
A locked screen does not stop theft — it only stops someone reading your files — so the first rule of public work is that the laptop stays with you or in your sight at all times.
The second risk is someone reading your screen. Security researchers call this shoulder surfing, and it is surprisingly effective: in one study, nearly half of visual hacking attempts in public settings succeeded, with observers able to read passwords, account numbers, and messages within seconds.
Cafes are especially exposed, because seating is tight and sightlines are open.
The third risk is the network. Public Wi-Fi is a shared network you do not control, and it can expose your traffic to others on the same hotspot or to a fake network impersonating the real one.
The good news is that most websites now use encryption, so the risk is lower than it once was — but it is not zero, and a few habits reduce it sharply.
Lock it every time you stand up
The single most important habit is also the simplest: lock your screen whenever you stop working, even for a minute. On Windows, press the Windows key and L; on a Mac, press Control, Command, and Q; on a Chromebook, press Search and L. Then close the lid.
Make it automatic enough that you do it without thinking.
Set a short automatic lock as a backstop, because you will forget sometimes. One or two minutes of inactivity is a good setting for public work, and your laptop should require a password, PIN, fingerprint, or face scan immediately after sleep.
Check that closing the lid actually locks the machine — on some setups it only sleeps, and an unlocked wake is an open door.
A short auto-lock is only useful if the lock itself is strong. Avoid a four-digit PIN that anyone watching could guess, and do not let your laptop remember a password for the Wi-Fi network and then auto-join it next time without asking — that convenience is how devices end up on fake networks.
Convenience and security pull in opposite directions here, and in a public place security should win.
Never ask a stranger to watch your laptop. It feels polite and it is a common habit, but it puts your machine in the hands of someone you know nothing about, and it gives a thief social cover.
If you need a refill or a restroom break, save your work, lock the screen, close the lid, put the laptop in your bag, and take the bag with you.
Encryption and tracking: your safety net
Full-disk encryption is the protection that matters if the laptop is stolen. It scrambles everything on the drive, so a thief who removes the drive or boots from another device still cannot read your files. On Windows it is called BitLocker; on a Mac it is FileVault; most Linux setups offer it too.
Turn it on, and store the recovery key somewhere other than the laptop itself.
Device tracking is the second layer. Windows Find My Device and Apple Find My can show a lost laptop’s location and, in the worst case, let you erase it remotely.
Enable tracking before you need it, and record the serial number and proof of purchase somewhere safe — you will need both for a police report or an insurance claim.
Strong sign-in matters as much as encryption. Use a long, unique password or a strong PIN, plus a fingerprint or face scan where your laptop supports it.
A password manager lets you use a different long password for every account without memorizing them, and two-step sign-in on email, banking, and work accounts means a stolen password alone is not enough to get in.
Shoulder surfing and privacy screens
Shoulder surfing is the quiet risk that most guides underplay. Someone at the next table does not need to stare; a glance at the right moment can capture a password, a client name, or a bank balance.
The fix is partly physical: sit with your back to a wall, angle the screen away from foot traffic, and check behind you before typing a password.
A privacy screen is a thin filter that narrows the viewing angle of your display, so the screen is clear from directly in front and dark from the side. Good ones cut side visibility sharply, and they are cheap, light, and easy to fit.
They are worth it if you regularly handle client documents, financial data, or anything confidential in public.
Small habits add up too. Lower your screen brightness in a crowd, hide notification previews so messages do not flash across the screen, and avoid opening sensitive documents in busy places when you can wait until you are home.
If a task involves truly confidential material, save it for a private space — no filter replaces that judgment.
Public Wi-Fi: connect with care
Before you connect, confirm the exact network name with staff. Attackers set up fake hotspots with names close to the real one — an evil twin — and a stronger signal from the fake network can pull your device onto it.
If a network name looks similar but not identical, or a login page looks wrong, disconnect and use mobile data instead.
Once connected, prefer a VPN or your phone’s hotspot for anything sensitive. A VPN encrypts the traffic between your laptop and the VPN service, so others on the same hotspot cannot read it in the clear.
It will not fix weak passwords or stop someone reading your screen, but it removes one real avenue of attack.
Captive portals — the login pages that appear when you first join a cafe or hotel network — deserve extra care. A fake network can show a convincing login page designed to harvest your email password, so check the page carefully and never enter a password you would not want stolen.
If the page looks wrong or asks for more than a simple sign-in, disconnect and use your phone’s data instead.
Turn off file and printer sharing while you are on a public network, and turn off automatic connection to open networks so your laptop does not join a hotspot without asking.
Check that the sites you sign into use HTTPS, keep your software updated, and save banking and shopping for your mobile data connection when you can.
Physical theft: locks, bags, and habits
A cable lock is the cheapest deterrent for a laptop that stays in one place. If your laptop has a security slot — a Kensington slot or a similar standard — a keyed or combination cable attached to something genuinely immovable makes a grab-and-go theft much harder.
Check which slot standard your laptop uses before buying, because the standards are not interchangeable.
Keep the cable short and visible, and keep the laptop in your line of sight even when locked. A lock slows a thief down; it does not make theft impossible, and it is no substitute for taking the machine with you when you leave the table.
Lightweight furniture and cafe tables are not anchors, no matter how solid they look.
Your bag matters too. A discreet, padded bag that does not advertise an expensive laptop inside attracts less attention than a branded sleeve, and keeping the bag in front of you or between your feet beats leaving it on a chair.
A good bag also protects the machine from the knocks of daily travel, which is a quieter kind of loss prevention — our guide to picking a laptop bag that protects your gear covers what to look for.
Backups and what to do if it is stolen
Assume any device can be lost, and make sure losing it is an inconvenience rather than a disaster. Keep working files in a synced cloud folder so a copy exists elsewhere, and add a second backup such as an external drive kept at home.
Test the backup occasionally; a backup you have never restored is a hope, not a plan.
If the laptop is stolen, act quickly. Use tracking to locate it or erase it remotely, change the passwords for your email and banking accounts from another device, and report the theft to the police with the serial number.
Tell your employer or clients if work data was on the machine, so they can watch for misuse.
Do not try to recover it yourself from a location shown by tracking. Hand the information to the police and let them handle it. Your safety is worth more than the machine, and encryption plus remote erase means the data is protected even if the hardware is gone.
Frequently Asked Questions
Is a privacy screen worth it for working in cafes?
Yes, if you handle sensitive information in public. A good filter cuts side visibility sharply and costs little. It will not stop a determined observer directly behind you, so combine it with sitting against a wall and angling the screen away from traffic.
Should I use a VPN on public Wi-Fi?
Yes, for anything beyond casual browsing. A VPN encrypts your traffic on a network you do not control. It does not replace strong passwords, two-step sign-in, or encryption, but it is a useful layer on top of them.
Is it safe to leave my laptop locked at the table?
No. A locked screen protects your files, not the machine. Take the laptop with you whenever you leave the table, even for a minute. A cable lock deters a quick grab, but it is not a substitute for keeping the laptop in your possession.
The Bottom Line
Keeping a laptop secure in public is mostly about habits, not products. Lock the screen every time you stand up, encrypt the drive, use a privacy screen for sensitive work, verify the Wi-Fi network before you join it, and never leave the machine unattended.
Each habit is small; together they close the gaps that cause most losses.
Set it up once and it mostly takes care of itself. Turn on encryption and tracking today, set a one-minute auto-lock, save a backup of your files, and pack a privacy screen and a cable lock in your bag.
Then you can get on with the work you went to the cafe to do, knowing that a moment of distraction will not cost you your laptop or your data.