Network games, information spread and endogenous security