Encrypting web.config sections and sub-applications

Discussion in 'ASP.NET 2.0' started by ruggernut, Apr 16, 2010.

  1. I have read the two articles - article id 335 and 339 - on how to encrypt sections of the web.config file. Does this process work if I encrypt sections of a web.config file located in a sub-application directory? Or is this for root level web.config files?
     
  2. Bruce

    Bruce DiscountASP.NET Staff

    You specify the virtual directory in the command when you encrypt the web.config file.
     
  3. Will the xml file that gets placed in the root directory (/root) work with the web.config located in the sub-app folder (/root/subapp) or will there need to be a second xml file in the sub-app folder?
     
  4. Bruce

    Bruce DiscountASP.NET Staff

    can you elaborate? i am not really sure I understand your question.
     

Share This Page