Pakistan-Afghanistan conflict: are cross-border strikes a security necessity or unacceptable escalation?

If militants operate across the border, do you believe a country is justified in launching airstrikes inside another state?