Menu

#10 encryption

Next release
open
None
5
2005-03-17
2005-03-17
Anonymous
No

would it be possible to add some encryption support?
for example, for storing a database connection string;
for security reasons the database connection string
should be stored in encrypted format.

Discussion

  • Brent R. Matzelle

    • assigned_to: nobody --> bmatzelle
     
  • Brent R. Matzelle

    Logged In: YES
    user_id=163900

    The .NET Framework has a lot of methods to perform
    encryption tasks in the System.Security.Cryptography
    namespace. I don't think that Nini would take care of
    encryption itself but I could add something to the manual
    and FAQ to show how to do this.

     
  • Jacques Exelrud

    Jacques Exelrud - 2005-10-05

    Logged In: YES
    user_id=101134

    Kind fo agree but you could provide a middle ground solution.

    If the user wants to have all entries encrypted you can accept
    an ICryptoTransform when opening the config source. Haven't
    tried using the CreateDecryptor and trying to encrypt (or the
    other way arround) but it'll probably fail as different algorithm
    has different ways to being initialized for Encryption or
    Decryption. If this does not work 2 parameters are needed.

    If those parameters are given then for each get or set Nini
    would encrypt or decrypt the data as needed.

     

Log in to post a comment.

MongoDB Logo MongoDB