<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>gsf_zero1</author_name>
  <author_url>https://blog.hatena.ne.jp/gsf_zero1/</author_url>
  <blog_title>いろいろ備忘録日記</blog_title>
  <blog_url>https://devlights.hatenablog.com/</blog_url>
  <categories>
    <anon>C#</anon>
    <anon>ADO.NET</anon>
  </categories>
  <description>通常、GUIツールを使用しても手動で接続文字列を書いても、接続文字列自体は プレーンテキストとなります。でも、このままではセキュリティ上駄目な場合が 多いです。その場合は、暗号化という手段をとるのですが、app.configファイルを 使用している場合は、少し手間がかかります。 何故かといいますと、本来ASP.NET用のweb.configファイル暗号化ツールである コマンドをapp.configに使用するためです。 以下そのための手順を書きます。 １．まず、普通にapp.configを書きます。以下のように書いたとします。 &lt;configurations&gt; &lt;connectionString…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fdevlights.hatenablog.com%2Fentry%2F20070812%2Fp3&quot; title=&quot; ADO.NET入門記-003 (接続文字列の暗号化(aspnet_regiis)) - いろいろ備忘録日記&quot; class=&quot;embed-card embed-blogcard&quot; scrolling=&quot;no&quot; frameborder=&quot;0&quot; style=&quot;display: block; width: 100%; height: 190px; max-width: 500px; margin: 10px 0px;&quot;&gt;&lt;/iframe&gt;</html>
  <image_url></image_url>
  <provider_name>Hatena Blog</provider_name>
  <provider_url>https://hatena.blog</provider_url>
  <published>2007-08-12 00:00:01</published>
  <title> ADO.NET入門記-003 (接続文字列の暗号化(aspnet_regiis))</title>
  <type>rich</type>
  <url>https://devlights.hatenablog.com/entry/20070812/p3</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
