Uploaded image for project: 'C# Driver'
  1. C# Driver
  2. CSHARP-240

Encrypt Attribute

    XMLWordPrintableJSON

Details

    • Icon: New Feature New Feature
    • Resolution: Done
    • Icon: Minor - P4 Minor - P4
    • 1.5
    • 1.0
    • None
    • None

    Description

      The MongoDB driver needs a BsonEncryptAttribute
      This could be applied to properties that are passwords, social security numbers or other personal information.
      It could take parameters for type of encryption and secret key.
      Then the driver could automatically encrypt and decrypt the data upon serialization and deserialization.
      Maybe a BsonHashAttribute would be better for password fields.

      Attachments

        Activity

          People

            craig.wilson@mongodb.com Craig Wilson
            middletommy Thomas Tucker
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: