For scale, select the scale handle that you DON'T want to scale in and ctrl-middle click and drag. for move, ctrl-click the axis you want to constrain to.