Closed. This question is off-topic. It is not currently accepting answers.
Want to improve this question? Update the question so it's on-topic for Stack Overflow.
Closed 9 years ago.
Improve this question
I'm working on a program that could actually delete all your system files.
so how can I sandbox it so it can only find its own files
or better can I put it in a kind of virtual machine environment, so it still can harm your system, but only the virtual.
it is a console application and the idea is that you have to develop it to be, a UI based machine and interact with other players / "machines"
although such contact may well also lead to major damage to your system.
i don't want the user to install a whole virtual machine and then execute the program, but this is the closest idea i got so far.
I think installing virtual machine is the only solution. If you are making the program able to delete all files in your system, it will be able to delete all files on your system. You are archiving exactly what you programmed, aren't you? So you just have to put it in Virtual machine or emulate environment for example by creating a folder on your drive and changing code of your application to have access only to this folder (walkaround...).
You could use Sandboxie:
Sandboxie runs your programs in an isolated space which prevents them from making permanent changes to other programs and data in your computer.
Related
Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
This question does not appear to be about a specific programming problem, a software algorithm, or software tools primarily used by programmers. If you believe the question would be on-topic on another Stack Exchange site, you can leave a comment to explain where the question may be able to be answered.
Closed 3 years ago.
Improve this question
I'm working on a desktop application that purpose is saving a backup of a Virtual Machine stored in an ESX without vCenter in local storage. I'm currently using the vSphere SDK for C# and I'm working on a WinForm. I have a box for selecting the machine and a button to make a backup of selected running Virtual Machine on my laptop. I can't find any method in the vSphere SDK to help me for backing up a running VM.
Any advice will be appreciated.
I had the same problem and i found this solution but through PowerCLI.
I made a power shell script that allowed me to export the VM as a .OVA file in a local storage.
You cannot perform the Export command when the VM is powered ON. The only way to perform a backup of a powered on VM ,is having a licence with the vCenter.
Hope it will help you.
Closed. This question needs to be more focused. It is not currently accepting answers.
Want to improve this question? Update the question so it focuses on one problem only by editing this post.
Closed 6 years ago.
Improve this question
Just finished my first proper program, I have now published it so it can be run through an .EXE rather than a visual studio. The issue I am coming up against is that my antivirus views the application as a threat and constantly scans it and prevents it access to run. Would I need to build a security certificate to prevent this? Any help would be appreciated.
Cheers,
Owen
You need to tell the antivirus program to exclude it from considering as dangerous. Check out the menus of the antivirus checker.
This happens very often when you are scanning the disk to find things. But the sensitivity depends on the virus scanner.
Signing your app with trusted certificate also eliminates suspicion in most of antivirus progs. But this will not work for some antivirus like Norton Internet Security etc.
Depending on the anti virus, you can exclude/White list them.
Closed. This question needs to be more focused. It is not currently accepting answers.
Want to improve this question? Update the question so it focuses on one problem only by editing this post.
Closed 6 years ago.
Improve this question
When you send an application to someone, using another computer, besides the application itself, do I have to send the Resources File too? And if I am using a DataBase do I have to send the Database.mdf file too? And what else would you have to send to make sure your application works on another computers?
Sorry if this question is a repeated one, but most of the others just ask for a single item, either the Resources or something else. But I would like to know about everything you have to send.
Thanks a lot !
it depends on your approach. i think you have a software with database and... that you want to sell and make it owrk on other users device. you can make you app make a new database on first start. you can include database files if its local and add to user app directory and... it all depends on you packaging method and tool.
or maybe you want let someone continue the project. so you can give other developer a back up .bak format or export database files from sql server management studio and other developer can attach them to the other machine project
Closed. This question needs details or clarity. It is not currently accepting answers.
Want to improve this question? Add details and clarify the problem by editing this post.
Closed 8 years ago.
Improve this question
I have a developed a Windows Utility on VS & Asp.Net which is moreover a System Performance Enhancer. It installs normally as other Windows Desktop Software do.
Can we compile an EXE or MSI of that utility which Auto-Installs on a User's System. Let's suppose, the file gets downloaded on a computer. It sits safe in the downloads folder till the time the user restarts the system. OR, maybe some better option.
Please help me.
Auto install, etc.. ? If this was possible, viruses would rule the pc world. There is UAC in windows + antivir in browser. No workaround for this without user agreement ;)
Closed. This question needs details or clarity. It is not currently accepting answers.
Want to improve this question? Add details and clarify the problem by editing this post.
Closed 8 years ago.
Improve this question
I'm designing a program that uses a third party electrical solver.
I want to perform monte carlo simulations on large electrical grids and most of the times the program (mine) takes hours.
Because of this I thought that if I create a client in other computer I could call from my computer (and vice versa) I would have a nice distributed simulator.
Since I lack the knowlwdge, I would like to know what is the best way (if even possible) to "invoque" a program installed in another computer in the local network to do a specific task: simulate a file that I send and return the results back. The idea is to call the solver in lets say 10 computers at a time and gather the results asynchronically.
The language I use is C#.
I hope that my question is clear enough.
The easiest is to have a shared drive on the network, to which all computers have access. Then your app saves the input file (or one input file per machine, depends how you want to do it) on the shared drive, and your app starts another app remotely on each client. It monitors each one it starts for the exit status. After all of them have exited, it takes the output files and combines them and processes the data. Job done. The simplest "remote process" invocation is probably through psexec which you can download from technet, we have used it very successfully and very simple to use. The top two answers of How to execute process on remote machine, in C# have other good ideas: I think you will find them more overhead (longer to implement) but will give you more power in the long run.