in the palm of one's hand; within one's grasp
Literally inside one's hand; figuratively, something fully under one's control or easily manipulated. Often used in set phrases like 掌中に収める.
He has the company completely in the palm of his hand.
With that secret plan, he had the enemy in his grasp.
He brought the company fully under his control.
Victory is within our grasp.