Denise has a point, but you are missing something. Should a scoundrel try to break in, one or more people/dogs will INEVITABLY be harmed.
But for the solution, I guess Denise is right. My dog sleeps outside in warm weather, but sleeps in my room in cold weather. I wouldn't really suggest to make the dog shut up permanently, because you never know when a thief tries to steal your car (like what happened to me).