Blocking Photo Attachments in Gmail, Outlook, and Social Media Applications in IOS devices

We are attempting to block the attachment of photos from the Photos/Gallery app when sending emails or sharing on social media applications such as Gmail, Outlook, and other platforms. These are MDM Managed Applications While file attachments (e.g., PDFs, documents) are successfully blocked, photo attachments are not being restricted, allowing users to attach photos without limitations.

We are applying the below restriction to the device through an MDM

allowOpenFromUnmanagedToManaged: false

https://developer.apple.com/documentation/devicemanagement/restrictions

Steps to Reproduce:

Open the Photos or Gallery app on a mobile device.

  1. Open Gmail, Outlook, or a social media application (e.g., Facebook, Instagram).
  2. Open the Photos or Gallery app on a mobile device.
  3. Select a photo to attach.
  4. Try to attach the selected photo to an email or post.

Observe that the photo is successfully attached, despite restrictions on file attachments.

Blocking Photo Attachments in Gmail, Outlook, and Social Media Applications in IOS devices
 
 
Q