Iranians have turned to the Internet to organize antigovernment protests. Now they're flocking online to defy another Islamic Republic edict: buying and selling dogs.

Pooch lovers in Iran are clicking on popular websites like Woof Woof Iran Digital Pets and Persianpet to pick their favorite canine, study dog grooming or swap pet tales.

Buying...