Used as a value for the BuiltInDocumentProperties.getSecurity / BuiltInDocumentProperties.setSecurityint property in Java....getSecurity()); // Write-protect a document, and then verify...doc = new Document(); doc.protect(ProtectionType.ALLOW_ONLY_COMMENTS...