Avatar of center1010

asked on 

How to Let user excute but Prevent copy exe

I have server on the cloud that uses as work station,
I have users which I allow to work on the station with .NET winform APP
That I wrote.
I want to let them use the EXE but prevent them from copy it (and send it by system ftp or http or Gmail)

I try give the users –traverse folder/execute file deny read –not good
Tried lots of permission combination –not good

The server is : windows server 2008 R2 datacenter

Maybe some group policy
Even if there is some recommended professional  tool to  buy
.NET ProgrammingWindows OSMicrosoft Legacy OSWindows Server 2008Active Directory

Avatar of undefined
Last Comment
Avatar of Kimputer

Executing a file can only be done when reading is allowed (it's only logical?). Therefore, all the permission combinations you tried will fail one way or the other.

If you want to prevent you work to be stolen, change the .Net winform app to a webbased version (the only thing they can steal are screenshots). Behind the webserver, they can't get to the code to distribute somewhere else, only the input screens. The real code is protected.

You did most of the code already, now you only need to figure out how to display it in ASP pages.
Avatar of AndyAinscow
Flag of Switzerland image

You can not prevent it being copied.
The best you can do is prevent it being executed by an 'unauthorised' person.  How depends on your budget, how much you can change in code and 'is it worth my effort to do it'
Avatar of Kimputer

Blurred text
View this solution by signing up for a free trial.
Members can start a 7-Day free trial and enjoy unlimited access to the platform.
See Pricing Options
Start Free Trial
Avatar of McKnife
Flag of Germany image

We solved that once by using encryption that worked with dongles (Aladdin HASP) like this:
The exe would only work on computers where the dongle is inserted. So it can be copied to another machine, but there, execution fails without the dongle.
Avatar of center1010


the users have some additional services on this station so the solution could be intranet ASP pages but it creates 2 additional problems:
1. the program have multiple thread and must restart the threads by the users,  how can i restart all the threads from the ASP page.
2. I prefer to not change the visual off the winform because of political problems, is there is solution , maybe to create  another winform (the same visual) which activate the main one?
Avatar of McKnife
Flag of Germany image

Although this surely is some sort of solution, think about mine, too. If the exe is valuable, people might reverse engineer that behavior.
When we had that problem, the task was to protect a program that was said to be worth 200,000USD and we chose Aladdin HASP.
.NET Programming
.NET Programming

The .NET Framework is not specific to any one programming language; rather, it includes a library of functions that allows developers to rapidly build applications. Several supported languages include C#, VB.NET, C++ or ASP.NET.

Top Experts
Get a personalized solution from industry experts
Ask the experts
Read over 600 more reviews


IBM logoIntel logoMicrosoft logoUbisoft logoSAP logo
Qualcomm logoCitrix Systems logoWorkday logoErnst & Young logo
High performer badgeUsers love us badge
LinkedIn logoFacebook logoX logoInstagram logoTikTok logoYouTube logo