That is a formal military phrase meaning: "Yes". The opposite would be "Никак нет."

The meaning of "так" in that phrase is "that way" and the entire phrase literary means "Exactly that way".
...