Register for your free account! | Forgot your password?

Go Back   elitepvpers > Coders Den > .NET Languages
You last visited: Today at 19:41

  • Please register to post and access all features, it's quick, easy and FREE!

Advertisement



Protecting code / login

Discussion on Protecting code / login within the .NET Languages forum part of the Coders Den category.

Reply
 
Old   #1
 
elite*gold: 0
Join Date: Aug 2011
Posts: 159
Received Thanks: 57
Protecting code / login

Hey,

so I have 2 question about security.
Im using visual studio 2010 (vb.net) and so far I have published only .exe files ('cause that way only one file needed to run the program)

Now I'm wondering how to increase programs security...

1) How can I block decomplining? or I mean I tried today decompliler I saw my project's source pretty accuracy. Is there way to hide "main functions", strings, saved settings?

2) Safe login system? Again with decompiler I was able to see all my sql server's data (server, id, name, pass, everything). So if I publish it this way everyone are able to edit it.. How can I fix this?

I quess the exe file may be the problem? Is there any other way to publish single file projects from visual studio? or what should I do?
All suggestions are welcome
BeginnerDO is offline  
Old 06/21/2014, 15:50   #2
 
tolio's Avatar
 
elite*gold: 2932
The Black Market: 169/1/0
Join Date: Oct 2009
Posts: 6,966
Received Thanks: 1,097
Quote:
Originally Posted by BeginnerDO View Post
1) How can I block decomplining? or I mean I tried today decompliler I saw my project's source pretty accuracy. Is there way to hide "main functions", strings, saved settings?
you cant
Quote:
Originally Posted by BeginnerDO View Post
2) Safe login system? Again with decompiler I was able to see all my sql server's data (server, id, name, pass, everything). So if I publish it this way everyone are able to edit it.. How can I fix this?
never ever use a system that requires login details in the code, not sql nor ftp or whatever, use php on a server/webspace as additional layer that creates the database connection

to protect the source there are obfuscators, but all of them are already reversed, so everything they do is to potentially slow down your programm.
tolio is offline  
Thanks
1 User
Old 06/21/2014, 16:43   #3
 
elite*gold: 0
Join Date: Aug 2011
Posts: 159
Received Thanks: 57
I dont know much about file formats so this might be a stubid question but is clickonce application (or any other way?) as easy to decompile as .exe?

and now I'm thinking how its possible to make trial - full version? by decompiling its possible to see full code so anyone can just copy, little edit and paste (make a own editet version of app) it to get "locked" functions available.
BeginnerDO is offline  
Old 06/21/2014, 16:59   #4
 
tolio's Avatar
 
elite*gold: 2932
The Black Market: 169/1/0
Join Date: Oct 2009
Posts: 6,966
Received Thanks: 1,097
click once, exe, dll whatever, as long its .Net its very easy to decompile

btw, changing to an other language or platform does not solve this problem, EVERYTHING is crackable; as you see, even the products of big companys are cracked and they can invest enough money in protection and protection research

next question, why do they still earn that much money?
they give support to paying customers and that is a thing even a beginner developer can do, give out licences, use a licence server and give support only to the ppl who can verify they payed.
do not invest to much time in trying to protect your project because it is always crackable, invest this time in developing new features and updates, even when there is a cracked version, the ppl will pay for a good program
tolio is offline  
Old 06/23/2014, 15:21   #5
 
elite*gold: 15
Join Date: Aug 2012
Posts: 3,041
Received Thanks: 6,397
You can modify a .net compiled code's PE. Hence stop most of the "noob crackers who use de4dot". It's the only way to actually stop some people. Although you should note that if someone wants to see your code, they will see it no matter what you do. As long as it's .Net you can DUMP it at runtime or unpack the assembly, again, at runtime.
berkay2578 is offline  
Reply


Similar Threads Similar Threads
Protecting EXE!
02/03/2013 - CO2 Private Server - 5 Replies
Hello Folks, I am running a COPVPServer and i really pissed of the botters in my server. I would like to know more about EnigmaProtector because i protected my conquer.exe lately and it can be replace by another so in that case they can use there hacks again.. I would like to know how do you link your Conquer.Exe to your Server(exe). Just like ClassicCo if you replace there exe you cant log on.. Help much appreciated ..
Udobot source code? Or VB login code for DO Bot?
06/26/2011 - DarkOrbit - 4 Replies
Hey guys so I made a rly good do tool. Its like all in one tool.. But i have some problems: o need the login part and dont know how. Im noob at setbers etc so it could be nice if someone could give me a source code for the login part into a darkorbit acc. Thx
[HELP] Protecting .eix and .epk files againist unpacking
11/11/2010 - Metin2 Private Server - 13 Replies
I know... It's bad section. I'm VERY sorry. But... In Discussions & Questions are so noob questions. This information is very important for me. I want to protect my files from /pack/ folder. They are very important and I don't want to someone steal it. But I don't know how. I know , that German Servers have that files protected ( Other encryption key in Your packer). Could you tell me how to do it ? Please do not delete this topic. If you want to answer , could You use english ? If you can't...
[HELP] Protecting .eix and .epk files againist unpacking
11/10/2010 - Metin2 Private Server - 1 Replies
I want to protect my files from /pack/ folder. They are very important and I don't want to someone steal it. But I don't know how. I know , that German Servers have that files protected ( Other encryption key in Your packer). Could you tell me how to do it ? Please do not delete this topic. If you want to answer , could You use english ? If you can't use english post in German, Maybe I will manage to translate it :)



All times are GMT +1. The time now is 19:42.


Powered by vBulletin®
Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
SEO by vBSEO ©2011, Crawlability, Inc.
This site is protected by reCAPTCHA and the Google Privacy Policy and Terms of Service apply.

Support | Contact Us | FAQ | Advertising | Privacy Policy | Terms of Service | Abuse
Copyright ©2025 elitepvpers All Rights Reserved.