When a firm uses the flanking defense, it defends its market share by diversifying into new markets and niche segments. The idea behind the strategy is that if you lose your market share in the existing market you can make up for it in these new markets. The danger of the flanking defense is that it can stretch your resources thin and pull attention away from your main focus.