---
title: "Code Partitioning - The next big thing in protecting .NET code?"
url: "https://osherove.com/blog/2006/1/15/code-partitioning-the-next-big-thing-in-protecting-net-code.md"
canonical: "https://osherove.com/blog/2006/1/15/code-partitioning-the-next-big-thing-in-protecting-net-code.html"
published: "2006-01-15T11:03:00"
updated: "2006-01-15T11:03:00"
tags: ["Cool Tools"]
author: "Roy Osherove"
description: "The guys at SecuredDimentions have something new up their sleeve. If you don't know them, it's because they are relatively new on the market. What they've designed is what seems to be a very good way to prevent…"
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/"
---

# Code Partitioning - The next big thing in protecting .NET code?

By Roy Osherove January 15, 2006 In [Cool Tools](https://osherove.com/blog/category/cool-tools)

**Historical article** · Originally published January 15, 2006; technical details may be outdated.

The guys at [SecuredDimentions](http://www.secureddimensions.com/) have something new up their sleeve. If you don't know them, it's because they are relatively new on the market. What they've designed is what seems to be a very good way to prevent code-theft, i.e. someone decompiling your .NET applications, without the need to use code obfuscators. They are actually offering this as part of a suite of licensing service, all underlined with their technology to protect .NET code.

Technically, it's a bit hard to explain, but they are able to do something called "[code partitioning](http://www.secureddimensions.com/sd/secureVirtualMachine.asp)" on selected parts of the code base and "decrypt" them on demand, using their own virtual runtime which sits on top of the CLR. This also allows them to detect whenever "important" code was reached and do anything about it (like a popup dialog for example).

The solution is still not as perfect as it could be. Usability wise, it's OK, but could be much better. Performance wise, it seems to do OK compared to unprotected code, but you still wouldn't want to protect \*all\* your code at the same time.

This is one of the most important technologies that are going to thrive in the coming years, when people will start realizing the importance of keeping their code safe, as they release more and more applications into the wild.

I've seen many "solutions" to the code protection scheme, but this one seems like it actually works. I believe in it to the degree that I agreed to endorse their product publicly.

So, if you actually go to their site, and end up buying one of their products, **mention my name** and you'll get **10% off** the price(I also get a pittance).

They are arranging a small conference this month (Jan 25th) at the Daniel Hotel in Hertzlia along with the Emerset company about code security. I'm not sure announcing such as conference so quickly is the best idea, but nevertheless, it's free to attend (half day until 13:00 I think). A link to the conference announcement should be on their site soon.

## More in Cool Tools

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

- Jan 17, 2006

    ### [FixIt Reader - Possibly the Adobe Acrobat killer we've been waiting for](https://osherove.com/blog/2006/1/17/fixit-reader-possibly-the-adobe-acrobat-killer-weve-been-wai.html)

- Jan 15, 2006

    ### [A solution for easier ASP.NET Unit and GUI testing?](https://osherove.com/blog/2006/1/15/a-solution-for-easier-aspnet-unit-and-gui-testing.html)

- Dec 17, 2005

    ### [NUnit 2.2.4: .NET 2.0 Support, Extensibility Support and new Asserts and Attributes](https://osherove.com/blog/2005/12/17/nunit-224-net-20-support-extensibility-support-and-new-asser.html)

- Nov 30, 2005

    ### [FinalBuilder 4.0 is out - Lightweight, Scalable Build Managment Tool](https://osherove.com/blog/2005/11/30/finalbuilder-40-is-out-lightweight-scalable-build-managment.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/
