Taking pictures when you are sightseeing in Dubai can be a concern so as a rule of thumb do not take any pictures of strangers or with any strangers without their permission. This rule should be strictly followed in case you are photographing a female. You are allowed to take photos of tourist areas, scenic locations and the city in general as long as no people are the main focus of the photo unless they are travelling with you. You are not allowed to take any photos of any government building, the airports or any buildings or items connected to the military as this is a punishable offence in Dubai.