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

Enable JavaScript Protection by default

    • Type: Icon: Task Task
    • Resolution: Done
    • Priority: Icon: Major - P3 Major - P3
    • 3.4.0
    • Affects Version/s: None
    • Component/s: manual
    • Labels:
    • 1

      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.

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

              Created:
              Updated:
              Resolved:
              7 years, 23 weeks, 1 day ago