Tehran has also gone so far as to ask foreign social media companies to hand over data on their Iranian users. (File photo: AP)