I live for this kind of discussion.
In a house I would pick neither a rifle or a shotgun. The space could turn out to be too confining for either. In some stairways it would be impossiable to swing a 18 inch barrel around.
Handgun is the way to go in a confined space.