Content Management
    • PDF

    Content Management

    • PDF

    Article Summary

    Content Management Policy Flags

    The 'contentManagementFlagJson' field in the endpoints contains each of the Content Management flags for the file types that the engine supports.

    This determines how the engine will behave for each request and allows users to adapt the policy settings according to their evolving needs.

    The server treats this field as a JSON string and all the properties including the field itself are optional.

    Flag Key

    0AllowThe Glasswall Embedded Engine processes any associated file element types and they remain in the regenerated file. The associated structure is logged in the Analysis report as an Allowed Item.
    1SanitiseIf any of the associated file element types are identified in the file, the Glasswall Embedded Engine removes them from the regenerated document. The associated structure is logged in the Analysis report as a Sanitisation Item
    2DisallowIf any of the associated file element types are identified in the file, the Glasswall Embedded Engine identifies the file as being non-conforming and the file will not be regenerated. The associated structure is logged in the Analysis report as an Issue Item.
    PDF

    "PdfContentManagement": {
    "Acroform": 1,
    "ActionsAll": 1,
    "EmbeddedFiles": 1,
    "EmbeddedImages": 1,
    "ExternalHyperlinks": 1,
    "InternalHyperlinks": 1,
    "Javascript": 1,
    "Metadata": 1,
    "DigitalSignatures": 1,
    "ValueOutsideReasonableLimits": 1,
    "RetainExportedStreams": 1
    },

    Word

    "WordContentManagement": {
    "DynamicDataExchange": 1,
    "EmbeddedFiles": 1,
    "EmbeddedImages": 1,
    "ExternalHyperlinks": 1,
    "InternalHyperlinks": 1,
    "Macros": 1,
    "Metadata": 1,
    "ReviewComments": 1
    },

    Excel

    "ExcelContentManagement": {
    "DynamicDataExchange": 1,
    "EmbeddedFiles": 1,
    "EmbeddedImages": 1,
    "ExternalHyperlinks": 1,
    "InternalHyperlinks": 1,
    "Macros": 1,
    "Metadata": 1,
    "ReviewComments": 1
    },

    PowerPoint

    "PowerPointContentManagement": {
    "EmbeddedFiles": 1,
    "EmbeddedImages": 1,
    "ExternalHyperlinks": 1,
    "InternalHyperlinks": 1,
    "Macros": 1,
    "Metadata": 1,
    "ReviewComments": 1
    },

    Archives

    "ArchiveConfig": {
    "-libVersion": "Classic",
    "-defaultCompression": "zip",
    "-recursionDepth": "4",
    "bmp": 1,
    "doc": 1,
    "docx": 1,
    "emf": 1,
    "gif": 1,
    "jpeg": 1,
    "wav": 1,
    "o": 1,
    "elf": 1,
    "pe": 1,
    "mp4": 1,
    "mpg": 1,
    "pdf": 1,
    "png": 1,
    "ppt": 1,
    "pptx": 1,
    "tiff": 1,
    "wmf": 1,
    "xls": 1,
    "xlsx": 1,
    "mp3": 1,
    "rtf": 1,
    "coff": 1,
    "zip": 1,
    "gz": 1,
    "bz2": 1,
    "rar": 1,
    "tar": 1,
    "_7z": 1
    },

    SVG

    "SvgConfig": {
    "scripts": 1,
    "foreingObjects": 1,
    "hyperlinks": 1
    },

    Web

    "WebpConfig": {
    "metadata": 1
    }


    Was this article helpful?