One of the big problems with keeping water out is gravity. Water tends to fall down the building or is pulled down the building by gravity. While this is a big problem it’s also one of the easiest to solve all you need to do is to deflect the water away from the building.