There's further stupidity later in The Hunted. With all the security they have, Danar is able to run up behind a guard who was facing a force field for some silly reason, knock out the guy, and then use the communicator to lower the force field.
Riker asks how he could have done it. How about Danar signaled lower a force field without first identifying himself or providing some kind of authorization code?
Odo was right to chew out Worf when he joined DS9.