When I was trying to open Infopath file (.xsn) , I was getting below error.
This form cannot be opened because it requires the domain permission level
Error Details:
Forms that require the domain permission level contain features
that access information on a network, such as data connections, linked images, and code.
The solution for this is very simple.
Right click on the file, select "Design" option. this will work