Yeah! Let someone get mauled, or killed by your gaurd dog and see what happens.You can have a dog. You can have strong fences. What you can't do -- under the law -- is gun someone down who doesn't pose a threat to your person or someone else's person.
I'm talking about real world stuff, not fantasy land, where criminals already know how to circumvent locks and alarms.