Are you only allowed to take photos on phones in hotels in Dubai?

Today I was in a quiet downstairs part of a hotel in Dubai, where my husband was taking photos of me with my compact digital camera. The head of security came over and told us cameras are not allowed, only phones for pictures. Is this a new rule? I’ve had other venues tell me no professional cameras, but when I explain it’s not a professional camera they say okay and leave me to it. This security was adamant no cameras in general. There was absolutely no one else about by the way, so no chance of anyone being in the background.