---
title: "HOW TO: Encrypt the settings in your web.config"
url: "https://osherove.com/blog/2003/9/22/how-to-encrypt-the-settings-in-your-webconfig.md"
canonical: "https://osherove.com/blog/2003/9/22/how-to-encrypt-the-settings-in-your-webconfig.html"
published: "2003-09-22T07:01:00"
updated: "2003-09-22T07:01:00"
tags: ["Cool Articles"]
author: "Roy Osherove"
description: "We're currently looking into this subject matter, and this article was a big leap forward in our efforts: HOW TO: Use the ASP.NET Utility to Encrypt Credentials and Session State Connection Strings"
usage: "Licensed under CC BY 4.0 — reuse, quote and adapt with attribution (Roy Osherove, link to the original page)."
license: "https://creativecommons.org/licenses/by/4.0/"
---

# HOW TO: Encrypt the settings in your web.config

By Roy Osherove September 22, 2003 In [Cool Articles](https://osherove.com/blog/category/cool-articles)

**Historical article** · Originally published September 22, 2003; technical details may be outdated.

We're currently looking into this subject matter, and this article was a big leap forward in our efforts:

[HOW TO: Use the ASP.NET Utility to Encrypt Credentials and Session State Connection Strings](http://support.microsoft.com/default.aspx?scid=329290)

## More in Cool Articles

[All posts in Cool Articles](https://osherove.com/blog/category/cool-articles)

- Sep 28, 2003

    ### [\[New article\]: Creating a generic Site-To-RSS tool (site scraping)](https://osherove.com/blog/2003/9/28/new-article-creating-a-generic-site-to-rss-tool-site-scrapin.html)

- Sep 22, 2003

    ### [Checklist: Securing ASP.NET](https://osherove.com/blog/2003/9/22/checklist-securing-aspnet.html)

- Sep 22, 2003

    ### [Sharing ASP.NET user controls accross projects](https://osherove.com/blog/2003/9/22/sharing-aspnet-user-controls-accross-projects.html)

- Sep 21, 2003

    ### [\[Article\] Introduction to Test-driven development with NUnit and the NUnit-Add-in](https://osherove.com/blog/2003/9/21/article-introduction-to-test-driven-development-with-nunit-a.html)


---

## About the author

**Roy Osherove**: Senior Solutions Architect at AWS working on AI for production and AI-driven development; author of The Art of Unit Testing and Elastic Leadership, with about 20 years of consulting and training on unit testing, TDD, team leadership and continuous delivery.

### Sites

- [RobotPaper](https://robotpaper.ai/): This blog: AI patterns and anti-patterns, AI and coding agents, and engineering leadership.
- [osherove.com](https://osherove.com): Roy's personal site. Author of The Art of Unit Testing and Elastic Leadership; consulting and training on unit testing, TDD, team leadership and continuous delivery, plus about 20 years of blog posts.
- [The Art of Unit Testing](https://www.artofunittesting.com): The Art of Unit Testing, 3rd Edition (Manning): readable, maintainable, trustworthy unit tests, plus TDD workshops in C#, JavaScript, Java and Kotlin.
- [5whys.com](https://www.5whys.com): Roy's writing on software team leadership: self-organizing teams, surviving chaos, learning mode and the Elastic Leadership model.
- [Pipeline Driven](https://pipelinedriven.org): Continuous delivery and DevOps practices: build patterns, pipeline-friendly testing, DevOps metrics and enterprise DevOps.
- [Elastic Leadership](https://www.elasticleadership.com): Elastic Leadership, Roy's framework for software team leaders (survival, learning and self-organizing modes).

### Social

- X: https://x.com/royosherove
- LinkedIn: https://www.linkedin.com/in/osherove/

### Contact

- Contact form: https://forms.gle/jQSx5KoXvrVA1JCK7

### License

Licensed under CC BY 4.0 — reuse, quote and adapt with attribution (Roy Osherove, link to the original page). License: https://creativecommons.org/licenses/by/4.0/
