Uploaded image for project: 'Core Server'
  1. Core Server
  2. SERVER-5955

Forbid renaming system collections

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Closed
    • Major - P3
    • Resolution: Won't Do
    • 2.0.5
    • None
    • Admin
    • None
    • Security
    • 0

    Description

      I am using the official C# driver v1.4.2. I noticed that I cannot remove the system collection `system.indexes` from my database (this is rather expected) but I can rename this collection (this is rather unexpected).

      > db.system.indexes.renameCollection("old_indexes")
      { "ok" : 1 }
      > show collections
      old_indexes
      

      Discussion: https://groups.google.com/forum/#!topic/mongodb-user/C0AksmnNVdY

      I've been recommended to submit the issue, so do I.

      Attachments

        Issue Links

          Activity

            People

              backlog-server-security Backlog - Security Team
              nightroman Roman Kuzmin
              Votes:
              0 Vote for this issue
              Watchers:
              9 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: