Click here to Skip to main content
15,886,578 members
Home / Discussions / Visual Basic
   

Visual Basic

 
AnswerRe: Pass a string to a control on a form from a remoting connection Pin
Alan N16-Apr-14 4:48
Alan N16-Apr-14 4:48 
GeneralRe: Pass a string to a control on a form from a remoting connection Pin
ParadoxLiving16-Apr-14 16:07
ParadoxLiving16-Apr-14 16:07 
QuestionStart another process as admin Pin
Dominick Marciano15-Apr-14 3:52
professionalDominick Marciano15-Apr-14 3:52 
AnswerRe: Start another process as admin Pin
Bernhard Hiller15-Apr-14 22:25
Bernhard Hiller15-Apr-14 22:25 
GeneralRe: Start another process as admin Pin
Dominick Marciano16-Apr-14 8:22
professionalDominick Marciano16-Apr-14 8:22 
GeneralRe: Start another process as admin Pin
Dave Kreskowiak16-Apr-14 9:41
mveDave Kreskowiak16-Apr-14 9:41 
AnswerRe: Start another process as admin Pin
helfetho17-Apr-14 0:56
helfetho17-Apr-14 0:56 
GeneralRe: Start another process as admin Pin
Dominick Marciano17-Apr-14 4:35
professionalDominick Marciano17-Apr-14 4:35 
We are aware of the possible security risk but my company considered it extremely low. My company wants an application that is a single file, does not require an installation, is able to gather some basic computer information, as well as install two other programs. One of those two programs need admin privileges to install.

I have tried using the Process.StartInfo class with username and password but I still get an exception about the installation of one of the programs needing elevated privileges.

The chances of anyone being able to disassemble the assembly to get the admin info is very remote and even if they did get it they couldn't really do any harm with it. The computers aren't on a domain; we create the account on the computers so that way the users can't just install any software on their computers or just do any updates they want. Plus there isn't any server at their site that they would get access to should they somehow get the credentials, or any kind of shared resources (except the DropBox admin account which uses different credentials). In addition, once the program does what it is supposed to do, the file deletes all traces of the program.

I know this isn't the best way to go about it, but for what my company is looking for (a single file that is fully automated, thereby not needing any IT intervention to input the credentials) this is the only way I could think of doing it. As an extra layer of precaution I did implement a very simple encryption algorithm so if somehow they did disassemble the file they wouldn't just see a plaintext password.
A black hole is where God tried to divide by zero.

There are 10 kinds of people in the world; those who understand binary and those who don't.

GeneralRe: Start another process as admin Pin
helfetho17-Apr-14 5:48
helfetho17-Apr-14 5:48 
QuestionNo value given for one or more required parameters. Pin
jkirkerx14-Apr-14 12:16
professionaljkirkerx14-Apr-14 12:16 
Answer[SOLVED] Pin
jkirkerx14-Apr-14 12:34
professionaljkirkerx14-Apr-14 12:34 
GeneralRe: [SOLVED] Pin
Tim Carmichael15-Apr-14 2:04
Tim Carmichael15-Apr-14 2:04 
GeneralRe: [SOLVED] Pin
jkirkerx15-Apr-14 6:32
professionaljkirkerx15-Apr-14 6:32 
QuestionRe: how to import all csv files in a drive to database ? Pin
sensizbenlik14-Apr-14 10:10
sensizbenlik14-Apr-14 10:10 
GeneralRe: how to import all csv files in a drive to database ? Pin
PIEBALDconsult14-Apr-14 10:40
mvePIEBALDconsult14-Apr-14 10:40 
AnswerRe: how to import all csv files in a drive to database ? Pin
Wes Aday14-Apr-14 11:14
professionalWes Aday14-Apr-14 11:14 
GeneralRe: how to import all csv files in a drive to database ? Pin
sensizbenlik14-Apr-14 14:25
sensizbenlik14-Apr-14 14:25 
GeneralRe: how to import all csv files in a drive to database ? Pin
Wes Aday14-Apr-14 14:53
professionalWes Aday14-Apr-14 14:53 
GeneralRe: how to import all csv files in a drive to database ? Pin
sensizbenlik14-Apr-14 15:05
sensizbenlik14-Apr-14 15:05 
GeneralRe: how to import all csv files in a drive to database ? Pin
Wes Aday14-Apr-14 15:35
professionalWes Aday14-Apr-14 15:35 
QuestionTCP client example Pin
LegrandK14-Apr-14 8:56
LegrandK14-Apr-14 8:56 
AnswerRe: TCP client example Pin
Richard Andrew x6414-Apr-14 15:00
professionalRichard Andrew x6414-Apr-14 15:00 
QuestionWSDL and Web service Pin
Member 270883213-Apr-14 21:01
Member 270883213-Apr-14 21:01 
QuestionOrder Help! Pin
Member 1072866713-Apr-14 12:52
Member 1072866713-Apr-14 12:52 
AnswerRe: Order Help! Pin
Wes Aday13-Apr-14 14:18
professionalWes Aday13-Apr-14 14:18 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.