Security doc

Allow creation of security document and treat it as local