Solved

HTA application issue - ecryption

Posted on 2009-05-13
4
407 Views
Last Modified: 2012-05-06
I am building hta application with VBScript. In my application I will connect to Active Directory and thus I need AD connection string and username and password retrieved from ini file.

Here is the problem - connection string, username and password will be encrypted using .NET Component I've created. They will be decrypted in code using thr same component. The problem is that some of the machines this srypt will be run on do not have .NET Framework installed and so my component will generate an error. Is there any other way to encrypt and then decrypt sensitive data without either compromising security or installing .NET Framework?

What can I use to create the component so that it would not depend on any other dependency?
0
Comment
Question by:YZlat
  • 2
  • 2
4 Comments
 
LVL 14

Expert Comment

by:rejoinder
ID: 24379266
Sounds like what you want is IPSEC
http://technet.microsoft.com/en-us/library/bb742429.aspx
That way, the client and server use technology already installed to manage secure communications.
0
 
LVL 35

Author Comment

by:YZlat
ID: 24385173
rejoinder, thank you for the fast reply, but could you please give me some code sample? This is all new to me so it'd take me a few days to study the article and I need a solution fast.
Thanks!
0
 
LVL 14

Accepted Solution

by:
rejoinder earned 500 total points
ID: 24386323
Ah, there would be no code.  The setup is taken care of by group policy.  This would take time to understand and impliment so seeing as this is time sensative, it might not be the solution for you.

How about something like this...
http://www.4guysfromrolla.com/webtech/010100-1.shtml
0
 
LVL 35

Author Closing Comment

by:YZlat
ID: 31581202
Thank you for your help. It turns out encryption won't be necessary
0

Featured Post

3 Use Cases for Connected Systems

Our Dev teams are like yours. They’re continually cranking out code for new features/bugs fixes, testing, deploying, testing some more, responding to production monitoring events and more. It’s complex. So, we thought you’d like to see what’s working for us.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Over the years I have built up my own little library of code snippets that I refer to when programming or writing a script.  Many of these have come from the web or adaptations from snippets I find on the Web.  Periodically I add to them when I come…
When you see single cell contains number and text, and you have to get any date out of it seems like cracking our heads.
Microsoft Active Directory, the widely used IT infrastructure, is known for its high risk of credential theft. The best way to test your Active Directory’s vulnerabilities to pass-the-ticket, pass-the-hash, privilege escalation, and malware attacks …
Although Jacob Bernoulli (1654-1705) has been credited as the creator of "Binomial Distribution Table", Gottfried Leibniz (1646-1716) did his dissertation on the subject in 1666; Leibniz you may recall is the co-inventor of "Calculus" and beat Isaac…

803 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question