Here's how you can disable the annoying "Are you sure you want to open this application?" warning in OS X on your Mac.
1. Open a terminal window.
2. Type in the following command then hit Enter.
defaults write com.apple.LaunchServices LSQuarantine -bool false
For more, see the original article at the link below.