<?xml version="1.0" encoding="UTF-8"?><?xml-stylesheet type="text/xsl" media="screen" href="/App_Themes/default/rss.xslt"?><rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:atom="http://www.w3.org/2005/Atom" xmlns:trackback="http://madskills.com/public/xml/rss/module/trackback/" xmlns:wfw="http://wellformedweb.org/CommentAPI/" xmlns:slash="http://purl.org/rss/1.0/modules/slash/" xmlns:media="http://search.yahoo.com/mrss/" xmlns:evnet="http://www.mscommunities.com/rssmodule/"><channel><title>Comment Feed for Encrypting your web.config file with ASP 2.0 (Visual Studio 2005) (RobertShelton on Channel 9)</title><atom:link rel="self" type="application/rss+xml" href="http://channel9.msdn.com/posts/robertshelton/encrypting-your-webconfig-file-with-asp-20-visual-studio-2005/rss/default.aspx" /><image><url>http://mschnlnine.vo.llnwd.net/d1/Dev/App_Themes/C9/images/feedimage.png</url><title>Comment Feed for Encrypting your web.config file with ASP 2.0 (Visual Studio 2005) (RobertShelton on Channel 9)</title><link>http://channel9.msdn.com/posts/RobertShelton/Encrypting-your-webconfig-file-with-ASP-20-Visual-Studio-2005/</link></image><description>Encrypting your web.config file with ASP 2.0 (Visual Studio 2005)</description><link>http://channel9.msdn.com/posts/RobertShelton/Encrypting-your-webconfig-file-with-ASP-20-Visual-Studio-2005/</link><language>en-us</language><pubDate>Wed, 27 Jun 2007 19:56:16 GMT</pubDate><lastBuildDate>Wed, 27 Jun 2007 19:56:16 GMT</lastBuildDate><generator>EvNet (EvNet, Version=1.0.3599.6114, Culture=neutral, PublicKeyToken=null)</generator><item><title>Re: Encrypting your web.config file with ASP 2.0 (Visual Studio 2005)</title><description>Thanks very much for the demo. I would like to hit on the question that the one user earlier asked. I think what the user was asking is if some how some one were able to retrieve that web config file could they take it to another machine and run the decrypt on it and get the information out of the file?&lt;BR&gt;&lt;BR&gt;For example, Johnny Cracker steals the web.config file from my site some how. Could they run -pd on their home IIS 6 server and decrypt the file exposing the information we are trying to hide?&lt;BR&gt;&lt;BR&gt;Another possible scenario is that I have a web farm. If server A which I encrypted the file on dies can I decrypt the file on server B?&lt;BR&gt;&lt;BR&gt;Just curious,&lt;BR&gt;Thanks again for posting!&lt;BR&gt;&lt;BR&gt;Tim Kulp&lt;BR&gt;</description><comments></comments><link>http://channel9.msdn.com/posts/RobertShelton/Encrypting-your-webconfig-file-with-ASP-20-Visual-Studio-2005/?CommentID=320618</link><pubDate>Wed, 27 Jun 2007 19:56:16 GMT</pubDate><guid isPermaLink="false">http://channel9.msdn.com/posts/RobertShelton/Encrypting-your-webconfig-file-with-ASP-20-Visual-Studio-2005/?CommentID=320618</guid><evnet:views>0</evnet:views><evnet:viewtrackingurl>http://channel9.msdn.com/320618/WebViewBug.aspx?EVT=0</evnet:viewtrackingurl><evnet:previewtext>Thanks very much for the demo. I would like to hit on the question that the one user earlier asked. I think what the user was asking is if some how some one were able to retrieve that web config file could they take it to another machine and run the decrypt on it and get the information out of the&amp;#8230;</evnet:previewtext><dc:creator>cloak13PLAGUE</dc:creator><slash:comments>0</slash:comments><wfw:commentRss></wfw:commentRss><trackback:ping>http://channel9.msdn.com/320618/Trackback.aspx</trackback:ping></item><item><title>Re: Encrypting your web.config file with ASP 2.0 (Visual Studio 2005)</title><description>I have tried this command with failed results:&lt;BR&gt;
&lt;P&gt;C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\aspnet_regiis.exe -pef "connectionStrings" "C:\MyFolder\EncryptionDemo" –prov "DataProtectionConfigurationProvider"&lt;BR&gt;&lt;BR&gt;All I got after attempting to run this command from a windows cmd prompt was the aspnet_regiis help screen.&amp;nbsp; What am I missing?&amp;nbsp; I have even ensured my web.config file is not read only and that the aspnet user has full control on the security permissions.&amp;nbsp; Please help.&amp;nbsp; Thanks you.&lt;BR&gt;&lt;BR&gt;Sincerely, &lt;BR&gt;&lt;BR&gt;Ron Breeding :(&lt;/P&gt;</description><comments></comments><link>http://channel9.msdn.com/posts/RobertShelton/Encrypting-your-webconfig-file-with-ASP-20-Visual-Studio-2005/?CommentID=294609</link><pubDate>Mon, 12 Mar 2007 18:28:51 GMT</pubDate><guid isPermaLink="false">http://channel9.msdn.com/posts/RobertShelton/Encrypting-your-webconfig-file-with-ASP-20-Visual-Studio-2005/?CommentID=294609</guid><evnet:views>0</evnet:views><evnet:viewtrackingurl>http://channel9.msdn.com/294609/WebViewBug.aspx?EVT=0</evnet:viewtrackingurl><evnet:previewtext>I have tried this command with failed results:
C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\aspnet_regiis.exe -pef "connectionStrings" "C:\MyFolder\EncryptionDemo" –prov "DataProtectionConfigurationProvider"All I got after attempting to run this command from a windows cmd prompt was the&amp;#8230;</evnet:previewtext><dc:creator>ronb1191</dc:creator><slash:comments>0</slash:comments><wfw:commentRss></wfw:commentRss><trackback:ping>http://channel9.msdn.com/294609/Trackback.aspx</trackback:ping></item><item><title>Re: Encrypting your web.config file with ASP 2.0 (Visual Studio 2005)</title><description>Very informative.&amp;nbsp; However, what the significance&amp;nbsp;of the "configProtectionProvider" attribute not being defined and the error associated with the "EncryptedData" tag in your Screencast.&amp;nbsp; Should they just be ignored?</description><comments></comments><link>http://channel9.msdn.com/posts/RobertShelton/Encrypting-your-webconfig-file-with-ASP-20-Visual-Studio-2005/?CommentID=214624</link><pubDate>Tue, 25 Jul 2006 21:09:34 GMT</pubDate><guid isPermaLink="false">http://channel9.msdn.com/posts/RobertShelton/Encrypting-your-webconfig-file-with-ASP-20-Visual-Studio-2005/?CommentID=214624</guid><evnet:views>0</evnet:views><evnet:viewtrackingurl>http://channel9.msdn.com/214624/WebViewBug.aspx?EVT=0</evnet:viewtrackingurl><evnet:previewtext>Very informative.&amp;nbsp; However, what the significance&amp;nbsp;of the "configProtectionProvider" attribute not being defined and the error associated with the "EncryptedData" tag in your Screencast.&amp;nbsp; Should they just be ignored?</evnet:previewtext><dc:creator>mgambill</dc:creator><slash:comments>0</slash:comments><wfw:commentRss></wfw:commentRss><trackback:ping>http://channel9.msdn.com/214624/Trackback.aspx</trackback:ping></item><item><title>Re: Encrypting your web.config file with ASP 2.0 (Visual Studio 2005)</title><description>This was a nice demo Robert.&lt;BR&gt;&lt;BR&gt;I'm curous it you have to encrypt the config files for every separate installation of the webapp (like you did in the video). I guess the encryption/decryption depends on some machine specific key.&lt;BR&gt;&lt;BR&gt;How about web application farms. Is there a way to encrypt the config file once and deploy the decrypted version to all instances in the farm?&lt;BR&gt;&lt;BR&gt;Regards,&lt;BR&gt;&lt;BR&gt;Johan Sundström</description><comments></comments><link>http://channel9.msdn.com/posts/RobertShelton/Encrypting-your-webconfig-file-with-ASP-20-Visual-Studio-2005/?CommentID=194058</link><pubDate>Wed, 31 May 2006 07:10:26 GMT</pubDate><guid isPermaLink="false">http://channel9.msdn.com/posts/RobertShelton/Encrypting-your-webconfig-file-with-ASP-20-Visual-Studio-2005/?CommentID=194058</guid><evnet:views>0</evnet:views><evnet:viewtrackingurl>http://channel9.msdn.com/194058/WebViewBug.aspx?EVT=0</evnet:viewtrackingurl><evnet:previewtext>This was a nice demo Robert.I'm curous it you have to encrypt the config files for every separate installation of the webapp (like you did in the video). I guess the encryption/decryption depends on some machine specific key.How about web application farms. Is there a way to encrypt the config file&amp;#8230;</evnet:previewtext><dc:creator>jrs</dc:creator><slash:comments>0</slash:comments><wfw:commentRss></wfw:commentRss><trackback:ping>http://channel9.msdn.com/194058/Trackback.aspx</trackback:ping></item><item><title>Re: Encrypting your web.config file with ASP 2.0 (Visual Studio 2005)</title><description>I'm not sure if I fully understand your question, but I would say this: Since the Web.config is a server-based file, the user shouldn't see anything in the way of errors.&amp;nbsp; In fact, what you have to do, is when you get to the server(s) that you are going to run the web application on, you would encrypt the file at that server(s), so that the key was stored on that server.&lt;BR&gt;&lt;BR&gt;I hope that this is clearer,&lt;BR&gt;&lt;BR&gt;Robert</description><comments></comments><link>http://channel9.msdn.com/posts/RobertShelton/Encrypting-your-webconfig-file-with-ASP-20-Visual-Studio-2005/?CommentID=156407</link><pubDate>Fri, 03 Feb 2006 15:59:38 GMT</pubDate><guid isPermaLink="false">http://channel9.msdn.com/posts/RobertShelton/Encrypting-your-webconfig-file-with-ASP-20-Visual-Studio-2005/?CommentID=156407</guid><evnet:views>0</evnet:views><evnet:viewtrackingurl>http://channel9.msdn.com/156407/WebViewBug.aspx?EVT=0</evnet:viewtrackingurl><evnet:previewtext>I'm not sure if I fully understand your question, but I would say this: Since the Web.config is a server-based file, the user shouldn't see anything in the way of errors.&amp;nbsp; In fact, what you have to do, is when you get to the server(s) that you are going to run the web application on, you would&amp;#8230;</evnet:previewtext><dc:creator>Robert Shelton, Jr.</dc:creator><slash:comments>0</slash:comments><wfw:commentRss></wfw:commentRss><trackback:ping>http://channel9.msdn.com/156407/Trackback.aspx</trackback:ping></item><item><title>Re: Encrypting your web.config file with ASP 2.0 (Visual Studio 2005)</title><description>Dear Robert Shelton, Jr., &lt;BR&gt;&lt;BR&gt;If I encrypt a web.config file using aspnet_regiis.exe with -pe or -pef option, get encrypted web.config file and take it to another machine, run aspnet_regiis.exe with -pd or -pdf option, what do I get? A plain file or an error? Do the encryption algorithm uses the PKI or any salt to encrypt so that if you exchange windows accounts or machine, the user does not get to the plain file?</description><comments></comments><link>http://channel9.msdn.com/posts/RobertShelton/Encrypting-your-webconfig-file-with-ASP-20-Visual-Studio-2005/?CommentID=152820</link><pubDate>Thu, 19 Jan 2006 19:55:24 GMT</pubDate><guid isPermaLink="false">http://channel9.msdn.com/posts/RobertShelton/Encrypting-your-webconfig-file-with-ASP-20-Visual-Studio-2005/?CommentID=152820</guid><evnet:views>0</evnet:views><evnet:viewtrackingurl>http://channel9.msdn.com/152820/WebViewBug.aspx?EVT=0</evnet:viewtrackingurl><evnet:previewtext>Dear Robert Shelton, Jr., If I encrypt a web.config file using aspnet_regiis.exe with -pe or -pef option, get encrypted web.config file and take it to another machine, run aspnet_regiis.exe with -pd or -pdf option, what do I get? A plain file or an error? Do the encryption algorithm uses the PKI or&amp;#8230;</evnet:previewtext><dc:creator>Luciano Evaristo Guerche</dc:creator><slash:comments>0</slash:comments><wfw:commentRss></wfw:commentRss><trackback:ping>http://channel9.msdn.com/152820/Trackback.aspx</trackback:ping></item></channel></rss>