ensure secure resources