Register and join over 40,000 other developers!
Recent Topics
-
The Game You Are Waiting For?
WendellHarper - Dec 06 2020 01:21 PM
-
Quora and Reddit Backlinks
WendellHarper - Dec 06 2020 01:14 PM
-
Delete account
pindo - Jul 23 2020 01:33 AM
-
Print specific values from dictionary with a specific key name
Siten0308 - Jun 20 2019 01:43 PM
-
Learn algorithms and programming concepts
johnnylo - Apr 23 2019 07:49 AM
Recent Blog Entries
Recent Status Updates
Popular Tags
- networking
- Managed C++
- stream
- console
- database
- authentication
- Visual Basic 4 / 5 / 6
- session
- Connection
- asp.net
- import
- syntax
- hardware
- html5
- array
- mysql
- java
- php
- c++
- string
- C#
- html
- loop
- timer
- jquery
- ajax
- javascript
- programming
- android
- css
- assembly
- c
- form
- vb.net
- xml
- linked list
- login
- encryption
- pseudocode
- calculator
- sql
- python
- setup
- help
- game
- combobox
- binary
- hello world
- grid
- innerHTML

How To Protect Window Application
Started by techsolnltd, Jun 16 2012 04:20 AM
security C# windows reverse engineering decompile
3 replies to this topic
#1
Posted 16 June 2012 - 04:20 AM
We all know that with the help of decompilation and disassembly, windows application can be reverse engineered i.e. source code can be reformed from the executable file only.
We can use obfuscation to make it difficult to understand but there is still a possiblity that the source code can be revealed out.
Is ther any way that we can protect the window application 100% ?
We can use obfuscation to make it difficult to understand but there is still a possiblity that the source code can be revealed out.
Is ther any way that we can protect the window application 100% ?
#2
Posted 16 June 2012 - 08:52 AM
Well, if you write your application even in a language which directly converts the application code to machine code (like assembly or C/C++), it is possible to understand the logic of any application. Think yourself as a processor and you are executing the machine code -- so you eventually know any application about what & how it is doing.
Now, as long as our concern is about not to let see to others the exact code we wrote with .NET managed way, there are tools (Dotfuscator, Spices etc) that will mangled our code (variable name, method name, expression etc) so that it will not be possible (at some extent) to extract our code. Even in that case, it is possible to see the number of types in a namespace, number of methods/properties in a class and such using Reflection.
Now, as long as our concern is about not to let see to others the exact code we wrote with .NET managed way, there are tools (Dotfuscator, Spices etc) that will mangled our code (variable name, method name, expression etc) so that it will not be possible (at some extent) to extract our code. Even in that case, it is possible to see the number of types in a namespace, number of methods/properties in a class and such using Reflection.
#3
Posted 16 June 2012 - 04:07 PM
If the user has the executable then no matter what you do the instructions can be reverse engineered by someone who is persistent enough.
The solution I could offer you is to keep the executable on a remote computer and allow the users access to it through a mediator, unfortunately (for the developer
) this is not always possible.
This forum for instance, can you see its PHP source code? Of course not, you only have access to the result of the web application, not to the application itself.
Other examples of this practice would be WolframAlpha and Apple's Siri.
The solution I could offer you is to keep the executable on a remote computer and allow the users access to it through a mediator, unfortunately (for the developer

This forum for instance, can you see its PHP source code? Of course not, you only have access to the result of the web application, not to the application itself.
Other examples of this practice would be WolframAlpha and Apple's Siri.
Are you a newbie programmer trying to learn C#? Check out my small tutorial: Visual C# Programming Basics
#4
Posted 16 June 2012 - 04:08 PM
Short answer: no. If you know how to read machine code, you can decipher any program. Also, every layer of indirection adds to the likelihood of errors, and the chance that you are negatively impacting program performance.
Programming is a branch of mathematics.
My CodeCall Blog | My Personal Blog
My MineCraft server site: http://banishedwings.enjin.com/
Also tagged with one or more of these keywords: security, C#, windows, reverse engineering, decompile
Language Forums →
C# →
How to make code run differently depending on the platform it is running on?Started by xarzu, 05 Apr 2019 ![]() |
|
![]() |
||
Language Forums →
C# →
How do I set a breakpoint in an attached process in visual studioStarted by xarzu, 04 Apr 2019 ![]() |
|
![]() |
||
Language Forums →
C# →
Do you use obfuscation?Started by Fernando, 22 Jan 2019 ![]() |
|
![]() |
||
Tutorial Forums →
C/C++ Tutorials →
Basic C++ Game Hacking TutorialStarted by DaDopeman, 12 Aug 2018 ![]() |
|
![]() |
||
General Forums →
Game Development →
Include a specific error, task, problem, or question in your titleStarted by Killuah, 04 Jul 2018 ![]() |
|
![]() |
Recommended from our users: Dynamic Network Monitoring from WhatsUp Gold from IPSwitch. Free Download