1. A method of securing image data detected by an electronic device, the method comprising: capturing the image data using the electronic device; based on the captured image data, detecting a security marker displayed by a display device, the security marker being periodically displayed to be undetectable by a human eye that is viewing the display device; and in response to determining that the security marker is detected by the electronic device, applying a security policy to the image data captured by the electronic device.