Allowing your dog to be active is vital for his health and it is in his natural instinct to want to be outside.
The only time you should not be encouraging your dog's behavior is if he's demand barking to go outside or wants to go too frequently (more than 5 times a day) and then wants to come back after a few minutes.