locked
Securing Passwords in MSBuild RRS feed

  • Question

  • Hi,
     
    I have a requirement where i need to encrypt and decrypt passwords in MSBuild.
    The complete requirement is that i am installing a windows NT service.  I have to pass the user credentials while installing. Right now i am passing the credentials in clear text.
    I need to have the values Encrypted and decrypted when required. Is there any custom tasks already built in to acheive this encryption/Decryption.

    Also I have a 2nd requirement where I am installing a windows service using WIX based MSI installer. Even there i need to pass the user credentials.
    I am invoking this MSI using MSBUuild, so If i am able decrypt the password, i can pass it as input parameter to the MSI and proceed further.

    Please suggest if any one has a better approach for this.

    Thanks,
    Pratik
    Friday, July 11, 2008 4:25 AM

Answers

All replies

  • I believe the following reference can help you in this issue:
    How to define a password field for the input parameter

    Thanks!





    Please remember to mark the replies as answers if they help and unmark them if they provide no help.
    • Marked as answer by Feng Chen Wednesday, July 16, 2008 3:09 AM
    Monday, July 14, 2008 1:10 PM
  • Hi Feng,

    Thanks for your reference. Though it was not that helpful to me., but I learned some thing from it.
    Guys please help me out with my issue here.

    Thanks,
    Pratik
    Wednesday, July 16, 2008 4:08 AM