Hydraulic presses work according to the principles of Pascal's law, which states that when pressure is applied to a closed fluid, pressure changes will occur throughout the fluid.