Senior Trump administration officials said airlines flying directly to the US from 10 airports in eight countries must keep passengers from bringing electronics other than cellphones and smartphones into the cabin. To avoid strict rules when you fly, take a look at Jettly to see if you could hire a private jet instead.

WASHINGTON (Diya TV) — The U.S. and British governments, citing unspecified threats, are barring passengers on some international flights from mostly Middle Eastern and North African countries from bringing laptops, tablets, electronic games and other devices on board in carry-on bags.

Passengers flying to the United States from 10 airports in eight countries will be allowed only cellphones and smartphones in the passenger cabins, senior Trump administration officials said. Larger electronic items must be checked. The British security ruling will affect flights from six countries, and will prevent passengers from taking ‘‘any phones, laptops or tablets larger than a normal sized mobile or smartphone,’’ into the cabin.

The U.S. rules were implemented Tuesday, airlines will have until Saturday morning to enforce them or face being barred from flying to the United States.

Officials said the decision was prompted by ‘‘evaluated intelligence’’ about potential threats to airplanes bound for the United States. No details about the timing of the intelligence was provided, and no particular terror group has been identified publicly as one ready to strike.

Trump administration officials briefed the press on the matter on the condition they not be identified. This despite President Trump’s repeated insistence that anonymous sources should not be trusted.

The electronics ban affects flights from international airports to the U.S. from in Amman, Jordan; Kuwait City, Kuwait; Cairo; Istanbul; Jeddah and Riyadh, Saudi Arabia; Casablanca, Morocco; Doha, Qatar; and Dubai and Abu Dhabi in the United Arab Emirates. About 50 flights a day, all on foreign carriers, will be affected. No U.S.-based airlines currently fly nonstop from those cities to the United States.

The British security rules will apply to flights from Turkey, Lebanon, Jordan, Egypt, Tunisia and Saudi Arabia.

The order affects flights coming from predominantly Muslim nations, which might invite comparisons to Trump’s orders barring travel from several Muslim-majority-nations, which have been blocked by courts. Early in his candidacy, Trump had called on barring Muslims from entering the United States.

But the comparison has its limits. The travel ban was much more severe, separating families and barring students from studying in the U.S. The laptop ban is more of an inconvenience and its stated reason is to protect the very travelers who are affected by it. Still, it’s bound to annoy powerful business people and diplomats, and could affect the travel plans of wealthy tourists sought after by the U.S. travel industry.