What is the likelihood of an intruder coming into your home vs a friendly stranger? While it's certainly possible, I'm guessing that invited guests are a much more common occurrence, as it is in most people's homes. For that reason, I make greeting guests properly a much higher priority than worrying about someone breaking in when we're not home. Also, my dogs barking is enough of a deterrent, IMO, that an intruder is even less likely. Why risk it when there are other homes nearby without big barking dogs?
Last but not least: give your dog some credit for knowing the difference between friendly strangers and those with intent to harm. Your demeanor when bringing friends home is happy, calm, and relaxed, and she is quite capable of learning to discriminate based on how YOU act and feel in various circumstances, you just need to teach her how to greet those people appropriately.
Many people have been surprised at their super friendly dog's reaction when they actually were in a situation where they felt threatened.
Forever would have been too short
NAFA: FM, MBDCh-S