UN spokesman Adrian Edwards said the restrictions imposed on both local and foreign UN personnel were part of normal security procedures.
The German soldier, part of the NATO-led peacekeeping force, and the three Afghans died in attacks carried out by Taliban guerrillas on the same stretch of road where NATO contingents and two UN offices are located.
In each incident, attackers rammed a car carrying explosives into a vehicle belonging to the NATO-led International Security Assistance Force. Two Greek soldiers and two other German soldiers were wounded in the attacks.
RFE/RL Afghanistan Report
SUBSCRIBE For regular news and analysis on Afghanistan by e-mail, subscribe to "RFE/RL Afghanistan Report."