473,504 Members | 13,601 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Protecting Code

Hi all,

Because the programs I work on are intended to be limited to only
certain users, I have had several problems concerning people hex'ing out
authentication procedures and replacing strings such as the form title
with whatever they want.

I'm aware that there are many obfuscation and protection tools out
there, but I'm not really running on such a high budget for these tools.
Is there any way I can protect my code from hexing or reflection
without having to buy an extra program? I'm intrigued by Salamander,
which instead of obfuscators compiles to native machine code. Is it
possible to do this manually?

Thanks.
Nov 16 '05 #1
3 1436
You may be confusing the Remotesoft Salamander product, which is their
decompiler with their "Protector"
product. That's the one that transforms assemblies into machine code like
compiled C++.

When you say "manually", if you are referring to doing it with the managed
code tools of Visual Studio.Net, no.
--Peter
"Typpo" <ot********@optonline.net> wrote in message
news:uX**************@TK2MSFTNGP12.phx.gbl...
Hi all,

Because the programs I work on are intended to be limited to only certain
users, I have had several problems concerning people hex'ing out
authentication procedures and replacing strings such as the form title
with whatever they want.

I'm aware that there are many obfuscation and protection tools out there,
but I'm not really running on such a high budget for these tools. Is there
any way I can protect my code from hexing or reflection without having to
buy an extra program? I'm intrigued by Salamander, which instead of
obfuscators compiles to native machine code. Is it possible to do this
manually?

Thanks.

Nov 16 '05 #2
You might be able to encrypt your internal strings using the built-in
encryption functionality in .NET. Or store your plain-text strings in an
XML file and perform a hash on them when the app loads. If the hash don't
match, shut the app down. Maybe a combination of both? There are
obfuscators that can also encrypt your plain text throughout the
application. Still not 100%, but with a combination of obfuscation,
plaintext encryption and a hash on your files to protect from mods, it would
seem like it would probably be a lot more trouble than it's worth to change
a Form Title... In fact, by the time someone figures it out, you might be
releasing the next version of your software...
"Typpo" <ot********@optonline.net> wrote in message
news:uX**************@TK2MSFTNGP12.phx.gbl...
Hi all,

Because the programs I work on are intended to be limited to only certain
users, I have had several problems concerning people hex'ing out
authentication procedures and replacing strings such as the form title
with whatever they want.

I'm aware that there are many obfuscation and protection tools out there,
but I'm not really running on such a high budget for these tools. Is there
any way I can protect my code from hexing or reflection without having to
buy an extra program? I'm intrigued by Salamander, which instead of
obfuscators compiles to native machine code. Is it possible to do this
manually?

Thanks.

Nov 16 '05 #3
P.S. - There are some free obfusctors out there. Not sure how well they
work, but I believe VS.NET even comes with a limited version of a product
called DotFuscator. Might be worth looking into if you're on a tight
budget.

"Michael C#" <xy*@abcdef.com> wrote in message
news:gX*******************@fe12.lga...
You might be able to encrypt your internal strings using the built-in
encryption functionality in .NET. Or store your plain-text strings in an
XML file and perform a hash on them when the app loads. If the hash don't
match, shut the app down. Maybe a combination of both? There are
obfuscators that can also encrypt your plain text throughout the
application. Still not 100%, but with a combination of obfuscation,
plaintext encryption and a hash on your files to protect from mods, it
would seem like it would probably be a lot more trouble than it's worth to
change a Form Title... In fact, by the time someone figures it out, you
might be releasing the next version of your software...
"Typpo" <ot********@optonline.net> wrote in message
news:uX**************@TK2MSFTNGP12.phx.gbl...
Hi all,

Because the programs I work on are intended to be limited to only certain
users, I have had several problems concerning people hex'ing out
authentication procedures and replacing strings such as the form title
with whatever they want.

I'm aware that there are many obfuscation and protection tools out there,
but I'm not really running on such a high budget for these tools. Is
there any way I can protect my code from hexing or reflection without
having to buy an extra program? I'm intrigued by Salamander, which
instead of obfuscators compiles to native machine code. Is it possible
to do this manually?

Thanks.


Nov 16 '05 #4

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

24
5013
by: Yang Li Ke | last post by:
Hi guys! Anyone know a way so that users purchasing my scripts would not be able to share them with other people ? Yang
18
5701
by: Alan Sheehan | last post by:
Hi pythonistas, I am looking for methods of deploying applications with end users so that the python code is tamper proof. What are my options ? I understand I can supply .pyc or .pyo files...
6
1979
by: nell | last post by:
Hi all, I've developed a testing application in python, and should supply it in a way that no one (lets say they are regular users) will understand it and edit it. The application source is all...
12
2176
by: Roland Hall | last post by:
I read Aaron's article: http://www.aspfaq.com/show.asp?id=2276 re: protecting images from linked to by other sites. There is a link at the bottom of that page that references an interesting...
5
1892
by: John | last post by:
Dear all, I've got a security question that is so difficult that "maybe" there will be no answer for it. It's regarding protecting asp code. I did write some asp code, that I sell to...
7
1448
by: Shawn | last post by:
Hi. I have a folder that contains a lot of different documents. xls, .doc, .pdf etc. Different users have access to different documents. The problem is that if a user knows the name of a...
12
1898
by: Dr. Edmund M. Hayes | last post by:
I wrote a access program that works well enough that a handful of people would like to buy it from me. My problem is that if I sell it to someone there is no mechanism that I know of to protect...
22
2581
by: flit | last post by:
Hello All, I have a hard question, every time I look for this answer its get out from the technical domain and goes on in the moral/social domain. First, I live in third world with bad gov., bad...
0
1125
by: xamman | last post by:
hi there! according to msdn (link at bottom) i should be able to protect a whole class declaratively as above. However i keep getting 'request for principal permissions failed' exceptions. in...
16
4179
by: rogerjames1 | last post by:
How would I go about protecting a whole directory, e.g. http://www.example.com/members/ and all sub-directories with login protection? I wouldn't like to put a .php script in each directory and...
0
7213
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
7098
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
7471
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
0
5610
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...
1
5026
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new...
0
4698
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and...
0
3187
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The...
0
1526
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated ...
1
754
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.