A security guard library