“‘What is the best way to secure my MacBook Pro from hackers when I’m logged into public Wi-Fi?'” Christopher Breen writes for Macworld.
“If you don’t want to provide people access to your Mac, you should shut any doors that provide it,” Breen writes. “To start, go to System Preferences > Sharing and turn off any sharing options you have enabled — file sharing and screen sharing, for example.”
“Or you could forego this Wi-Fi connection entirely and instead use another hotspot,” Breen writes. “Your iPhone could be just the thing if you’ve paid for a tethering plan. Yosemite’s Instant Hotspot feature makes this really easy.”
More tips for securing your data in public in the full article – recommended – here.