WASHINGTON — Smartphone users in Russia can no longer download the LinkedIn app on iPhone or Android devices, following a similar move in China to block The New York Times app on iPhones.

The demand by Russian authorities to remove LinkedIn in Apple and Google app stores comes weeks after a court blocked the professional networking service for flouting local laws that require internet firms to store data on Russian citizens within the nation’s borders.

The action is the equivalent of a nation banning “Catcher in The Rye” and then forcing booksellers to remove the title from their shelves. It puts Apple and Google in a difficult position. The companies are strong proponents of open internet policies and free speech but are now being asked to be agents for governments that censor its citizens.

When LinkedIn’s website was blocked, the apps stopped functioning properly. Removing them from the Google Play store and Apple’s App Store may not have cut off access to content, but it sent a signal that countries can push the tech giants to remove the apps.