If honesty is the best policy it would seem by process of elimination dishonesty is the second best policy.
True, but the second best policy may well be deemed an unacceptable policy.
There may be other policy options, such as refusing to provide information. Honesty "Doesn't require that you share everything with everybody." It's not dishonest to say, "I'm not going to answer that."