Adding Security framework support