Can I open files from unknown "developers" and still forbid applications from unknown developers?
This method lets you allow a single file to be opened.
1. Find the file in finder.
2. Press ctrl.
3. Click on the file.
4. Click "Open".
5. Click OK in the Prompt.
Be aware this will disable the security checks of the file, maybe the file contains malware