Authorities also shut down social networking and image-sharing Web sites such as Twitter and Flickr, and authorities confined dissidents to their homes or forced them to leave Beijing, part of sweeping efforts to prevent online debate or organized commemorations of the anniversary.