Skip to Content Facebook Feature Image

One Tech Tip: Locking down your device when crossing borders

ENT

One Tech Tip: Locking down your device when crossing borders
ENT

ENT

One Tech Tip: Locking down your device when crossing borders

2025-04-10 20:53 Last Updated At:21:00

LONDON (AP) — Planning an international trip? Travelers should prepare for the possibility of extra scrutiny of their phones when crossing borders, especially when entering the United States.

The Canadian government warned travelers in a recent travel advisory that U.S. border agents are entitled to search your electronic devices and “don’t need to provide a reason when requesting a password to open your device.”

Some recent cases have made travelers nervous about their privacy, such as when a Brown University professor with a U.S. visa was deported to Lebanon after border agents found a photo of Hezbollah’s leader on her phone.

“While 100% privacy may be impossible in these situations, there are a few things you can easily do that make it much harder for someone to see your private data even with physical access to your device,” said Patricia Egger, head of security at encrypted service Proton Mail.

Here are tips on protecting your device privacy while travelling:

Experts say the best strategy is to reduce the amount of information you’re carrying while traveling.

If possible, leave your phone at home. If you need one on your trip, borrow a tactic used by corporate executives looking to avoid hackers: get a temporary or “burner” device. It can contain just the information you need for your trip. Download anything else from the cloud when you need it.

If you have to bring your phone or laptop, upload sensitive information to a cloud storage service that uses end-to-end encryption, then delete the originals from your device.

Also, encrypt your phone or laptop’s storage drive and protect it with a strong password. Be aware this is different from merely having a device passcode lock, which is more easily cracked, or the end-to-end encryption on your favorite communication platforms.

Turn off fingerprint or facial recognition features and use the PIN or passcode instead.

There are two kinds of searches, according to the U.S. Customs and Border Protection website.

In a basic search, an officer scrolls through your phone’s photos, emails, apps and files. No suspicion of wrongdoing is needed to conduct this type of search.

In an advanced search, the contents of your device could be copied for analysis. But a senior manager needs to sign off and there needs to be “reasonable suspicion” of a legal violation, except if there’s any concern for national security, according to the Electronic Frontier Foundation (EFF).

“It’s hard to say,” says Sophia Cope, senior staff attorney at the EFF, which offers an extensive online guide to border privacy. Warrants are not needed to inspect devices belonging to anyone entering the country.

U.S. Customs and Border Protection agents carried out a total of more than 47,000 electronic device searches last year, up tenfold from a decade ago.

Basic searches “can be for no reason at all, totally random, or based on a mere hunch about someone – maybe based on how they look or an answer they gave to a preliminary question,” said Cope.

Travel history can also be relevant, for example, if a traveler originates from someplace where terrorism, drug trafficking, or child sex tourism is common, she said. Border agents can also search devices “at the behest” of other agencies like the FBI or if they’re associated with someone else of interest, such as a journalist’s source, a business associate or a family member.

Best to power off your devices when you touch down.

Under current policy, U.S. border agents are only allowed to look at information stored on the device, and not anything that’s kept in the cloud. So if you have to leave your phone on, make sure it’s kept in airplane mode or otherwise disconnected from the internet by Wi-Fi or cellular data.

“Before crossing the border, put your device in airplane mode to ensure remote files don’t get downloaded accidentally,” the Canadian government warns.

But keep in mind there might be cached data that still remains on your phone, such as files in the trash that haven’t been emptied.

American citizens can’t be denied entry to the United States for refusing to consent to device searches. The same should apply to lawful permanent residents such as green card holders, the American Civil Liberties Union says.

But agents can make things difficult if they’re refused. Travelers could be questioned, detained temporarily or have their devices seized and not returned for days or even weeks, rights groups say.

Foreign travelers could be turned back if they say no.

If you’re forced to unlock your device, Egger advises that “where you can, log in yourself rather than divulging any PINs or passwords, and if forced to share passwords, change them as soon as you can.”

Experts say the reason you should not use your device’s fingerprint or facial recognition feature is that it’s easier to compel you to unlock your device with biometrics. A border agent could simply hold your phone up to your face or force you to press your finger onto your device. There are also fears that police could use fingerprints stored on government databases.

Powering off your devices is another way to protect against sophisticated attacks in case you don’t consent to a search.

Most modern phones and some laptops encrypt their data using a strong cryptographic keys only accessible when the user unlocks it with the passcode, said Will Greenberg, the EFF’s senior staff technologist.

If the device is locked but not turned off, the key remains loaded on the device’s memory. Powerful hacking tools made by companies like Cellebrite can recover the key and decipher the data.

But if the device is off, the key is unloaded and can’t be accessed until it’s turned on again and unlocked with the passcode.

“This is why a border agent can’t simply turn a device on to use a tool like Cellebrite,” Greenberg said.

To be on the safe side, delete your social media apps and reinstall them later. Even though content is mainly stored on a social media company’s servers, Cope says some posts or images might remain on your phone’s memory cache and therefore viewable even in airplane mode.

It’s not just phones and laptops. Digital cameras, smartwatches, tablets, external hard drives and other electronic devices can be searched.

Some tactics might backfire. If you’re tempted to completely wipe your phone or laptop hard drive before you travel, experts warn it could raise scrutiny.

“If detected by a border agent, the fact that you wiped your hard drive may prompt the agent to ask why you did so,” the EFF’s guide says. “Even traveling without devices or data that most travelers typically have could attract suspicion and questions.”

Also don’t try to hide information on your device, because border agents could find out, the group says. “Lying to border agents can be a serious crime, and the agents may take a very broad view of what constitutes lying,” it says.

Check local laws of your destination before you travel. For example, Britain’s counterterrorism law allows police to demand that people passing through the country’s border hand over devices along with passwords and PINs. If they refuse, they can be charged with terrorism.

Is there a tech topic that you think needs explaining? Write to us at onetechtip@ap.org with your suggestions for future editions of One Tech Tip.

FILE - Vehicles wait in line to cross the border into the United States at the San Ysidro Port of Entry, Tuesday, March 18, 2025, in Tijuana, Mexico. (AP Photo/Gregory Bull, File)

FILE - Vehicles wait in line to cross the border into the United States at the San Ysidro Port of Entry, Tuesday, March 18, 2025, in Tijuana, Mexico. (AP Photo/Gregory Bull, File)

LONDON (AP) — King Charles III has been “deeply touched” by the response to his update on his cancer treatment, Buckingham Palace said Saturday, adding that the monarch is pleased to have highlighted the value of screening programs for the disease.

Medics and health charities have praised the king for his openness, saying his statement on Friday had already prompted people to seek information about cancer.

In a strikingly personal video statement, the British monarch acknowledged that a cancer diagnosis can feel “overwhelming,” but said catching the disease early brings “the precious gift of hope.”

Here’s what to know about the king's condition and his message.

The 77-year-old king said in a statement broadcast Friday that his treatment schedule will be reduced in the new year, “thanks to early diagnosis, effective intervention and adherence to ‘doctors’ orders.’”

He encouraged others to take advantage of screening programs such as those for breast, bowel and cervical cancer offered by Britain’s public health service.

“Early diagnosis quite simply saves lives,” the king said in the statement aired during a “Stand Up to Cancer” telethon on TV station Channel 4. He said catching the disease early had allowed him “to continue leading a full and active life even while undergoing treatment.”

Charles has received outpatient treatment for almost two years. Buckingham Palace did not say the king is in remission, but that his treatment is moving to a “precautionary phase” and his condition will be monitored to ensure his continued recovery.

“I know from my own experience that a cancer diagnosis can feel overwhelming,” the king said in his video statement. “Yet I also know that early detection is the key that can transform treatment journeys, giving invaluable time to medical teams – and, to their patients, the precious gift of hope.”

Charles announced in February 2024 that he had been diagnosed with cancer, and, in a break from centuries of secrecy about royal health, he has since spoken about the illness, using his story to promote cancer awareness and treatment.

The openness has limits, though. The king has not disclosed what type of cancer he has or what kind of treatment he is receiving. The palace said it was an intentional decision designed to ensure his message reaches the widest possible audience.

The king’s cancer was discovered after treatment for an enlarged prostate. While doctors ruled out prostate cancer, tests revealed “a separate issue of concern,” palace officials said last year.

Charles suspended his public appearances for about two months after his diagnosis. Since returning to the public eye, he has visited cancer treatment centers across the country and shared stories with fellow patients.

Buckingham Palace said Charles “will be greatly encouraged and deeply touched by the very positive reaction" his message has generated. “He will be particularly pleased at the way it has helped to shine a light on the benefits of cancer screening programs,” it added.

British cancer charities said the number of people seeking information about cancer jumped after the king revealed he was undergoing treatment last year.

Cancer Research U.K. said about 100,000 people have visited its Screening Checker website since it was launched on Dec. 5, most of them since the king’s statement on Friday.

The charity's Chief Executive Michelle Mitchell said: “When public figures speak openly about their cancer diagnosis, it can prompt others to check in on their health.”

Broadcaster Jonathan Dimbleby, the king’s authorized biographer, said the statement was “a remarkable thing for a monarch to do.”

“It takes guts, and the fact that he came out and did that will save lives,’” Dimbleby said.

The Princess of Wales, who announced her own cancer diagnosis six weeks after her father-in-law, has also given updates on her treatment. Kate announced in January that her cancer is in remission.

Find more of AP’s coverage at https://apnews.com/hub/royalty

Britain's King Charles III attends an Advent Service at Westminster Abbey, in London, Wednesday, Dec. 10, 2025. (Chris Jackson/Pool Photo via AP)

Britain's King Charles III attends an Advent Service at Westminster Abbey, in London, Wednesday, Dec. 10, 2025. (Chris Jackson/Pool Photo via AP)

Britain's King Charles III attends an Advent Service at Westminster Abbey, in London, Wednesday, Dec. 10, 2025. (Chris Jackson/Pool Photo via AP)

Britain's King Charles III attends an Advent Service at Westminster Abbey, in London, Wednesday, Dec. 10, 2025. (Chris Jackson/Pool Photo via AP)

Recommended Articles