Ideological, Political, and Legal Determinants of National Security