|
-
Oct 4th, 2010, 01:09 AM
#1
Thread Starter
Junior Member
[RESOLVED] Alternative to Hardcode Username & Password in built
Hi All,
I am trying to figure out what is the best way to go by puting username and password for domain users in a project.
What my software does is it runs cmd with runas administrator command. (Process.StartInfo.Domain / Username / Password)
Now the problem is password for domain changes every week so i have to recreate the project with new password. I am trying to figure out an alternative.
Three things come to mind:-
1- Save password in Text file somehow with md5 hash (no clue how to but just an idea)
2- User SQL database and store username and password. (Its kinda off a overkill i think)
3- In my program have an option to compile the project (built) and export the exe file with hardcoded username and password.
i know this is almost like recompiling from vb 2010 studio. But without having to install vb 2010. I have seen this in some remote administration softwares and spywares.(no i am not making virus)
I would like to use the 3rd option since its the best for my requirement.
Has anyone implemented something like this from any of the above options. I would love some pointers.
Thanks.
Mega
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|