Bathrooms are the most wet part of a home. In order to protect against flooding, you'll want to make sure there is no way for water to seep below the floorboards. This can be achieved with waterproofing; it's something professional contractors will do during construction.