As long as the officer does not have a warrant and no exigent circumstances are present, then a person can refuse to allow a search of a home or vehicle.