3 Xenophobic Security If you accept strangers without much thought, the enemy shinobi may come in disguised as a stranger and seek information from the inside.

If beggars or outcasts come near the guardhouse, treat them in a rough way and clear them off.

—Yoshimori Hyakushu #91

In this chapter, we’ll explore the concept of xenophobic security—or security based on a distrust of outsiders—and how it can be applied as a type of anti-privilege protection domain. To illustrate this idea, we’ll consider the hostile environment that shinobi had to navigate.

Shinobi trying to infiltrate villages and gather information in plain sight faced a ubiquitous challenge: the pervasive xenophobia of the medieval Japanese. The isolation of the country’s villages ...

Get Cyberjutsu now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.