You need to train him not to bark. Yu can do what parvez bullmastiffs said, or you can keep him on leash at all times when inside. This way he cannot go to the door unless you go with him. And then when he barks, you can give a jerk on the leash and give a command such as "quiet" or "no noise." He will eventually learn that barking is wrong and will stop.