Uploaded image for project: 'Documentation'
  1. Documentation
  2. DOCS-7589

Enable JavaScript Protection by default

    XMLWordPrintableJSON

Details

    • Icon: Task Task
    • Resolution: Done
    • Icon: Major - P3 Major - P3
    • 3.4.0
    • None
    • manual
    • 1

    Description

      We are turning on --enableJavaScriptProtection in the mongo shell by default and introduced a new flag, --disableJavaScriptProtection, to keep the old behavior.

      Need to document the behavior of the "--enableJavaScriptProtection" flag in the shell (which has been backported to 3.2). This flag prevents "Code" and "CodeWScope" BSON types from being automatically marshalled to JavaScript functions in the shell.

      Attachments

        Activity

          People

            steve.renaker@mongodb.com Steve Renaker (Inactive)
            shane.harvey@mongodb.com Shane Harvey
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:
              7 years, 13 weeks ago