To land on Endor's moon, Han Solo and his strike team, in the stolen imperial shuttle (Tydirium), must use a stolen code to gain access through the shield protecting the new Death Star and its work area.
In the scene leading up to the imperial's granting access, Tydirium is shown flying nearly a hand's breadth (okay, I'm exaggerating slightly) away from Vader's Super Star Destroyer.
This seems like a terrible security hazard to me ... Why wouldn't have Imperial traffic control assigned a less risky (imagine if the ship was remote piloted and had a really big bomb on board) flight path to a vessel which hadn't authenticated yet ?
(I mean it was useful for that proximity to help Vader sense Luke, but no one knew that at the time)
Is there anything in canon or Legends which explains this?