Epithelial HVEM maintains intraepithelial T cell survival and contributes to host protection.