Home
Blog
Obfuscation
Reversing
Reflector
Archive
Contact
Subscribe
Jason Haley
Ramblings of a .Net developer
.ver 3:0:0:0
Obfuscation - are you doing it?
by
Jason Haley
8. September 2005 20:04
Anyone out there obfuscating your .Net source code? What are you using and how was it (the experience)? or why aren't you doing it?
Comments (4)
|
Post RSS
|
Categories:
Tags:
Related posts
Obfuscation Resources
Blogs .Net Obfuscator Rss Feed Obfuscator Rss Feed Websites Code Obfuscation Documentation Artic...
Obfuscation: Renaming and Simple Code Removal
Do you think obfuscation is something that can be done whenever the code is complete? If you do, you...
Obfuscation and the software life cycle?
Anyone have any tips and trick they would like to share with how you have integrated obfuscation int...
Comments
Aaron Weiker
(
website link
)
September 8. 2005 21:38
It's called C++.
I've never shipped software to the end user directly, therefore I've never had a need to do any obfuscation.
Scott C Reynolds
(
website link
)
September 9. 2005 10:02
I'm not currently doing it but would also like to know the answers to these questions.
I've never released anything to the world that wouldn't be "open", but I plan to. So how much of an IP protector is it?
Joel Ross
(
website link
)
September 9. 2005 11:16
I've used obfuscation before - on two separate occasions. We used the one built into Visual Studio.NET 2003, and it worked for what we wanted it to do. We only wanted to hide a few pieces of data, and it did that just fine for us. Last I checked, Reflector couldn't display the data, so we were happy!
For background, I own a company called Tourney Logic (
http://www.tourneylogic.com
" rel="nofollow">
http://www.tourneylogic.com
">
http://www.tourneylogic.com
" rel="nofollow">
http://www.tourneylogic.com
), and we have two products, both requiring registration, so we obfuscated the registration code.
The process to do it isn't exactly simple, especially with a product where you need to expose an API - you have to actively go in and exclude the interfaces you don't want obfuscated. And, this is maintained in a separate XML file, so you have to remember to edit that file any time you add a new interface. The one nice thing is that if all of your interfaces are in one namespace, you can exlcude whole namespaces.
The other gotcha has to do with web applications. You have to remember to not obfuscate the name of the code-behind classes and methods - the names of those classes are coded into the .aspx file, so if the name is obfuscated, things break. And again, those exclusions are stored in a different XML file, so adding new pages means you need to revisit your obfuscation.
Overall, though, it's not too bad once you get it set up. We have it as part of our automated build process, so while tedious, it's do-able and can be automated.
Jason Haley
(
website link
)
September 10. 2005 17:36
Joel: you bring up a good point, I had never thought about obfuscating asp.net controls/code. I can see why you would want to in the products you have, but for some reason, never thought about that before ... good idea!
Comments are closed
TextBox
Search
Include comments in search
Tag cloud
Category list
Azure (6)
BlogContent (1)
Community (11)
Independent Consultant (6)
Innovation (1)
Interesting Finds (710)
Obfuscation (1)
Open Source (1)
Reflector (4)
Silverlight (1)
Utility (1)
Log in