I have a rule - if I take someone I trust off the beaten track in Yosemite, I make them promise not to post any photos from our day. My preference is no photos.
If I don’t trust them fully, we stick to the beaten path.
No All Trails or Strava or any of that stuff allowed either.