Disable AirDrop in Mac OS X Lion
Mac OS X Lion introduced a new nifty feature called AirDrop. This allows users on a local network to drag and drop files to each other with Finder.
While it seems that this would be useful, there are security
implications. After looking through
Google Search Results
on the topic, I found some un-helpful information in a random forum
post (unsurprising). A little more
review of the search results
resulted in finding the actual defaults(1)
command to do so:
defaults write com.apple.NetworkBrowser DisableAirDrop -bool YES
Naturally, I put this in a Chef recipe and applied it on all my Macs post haste:
mac_os_x_userdefaults "Disable AirDrop" do
domain "com.apple.NetworkBrowser"
key "DisableAirDrop"
value true
type "bool"
end
The resource above is available in my mac_os_x cookbook.