Solved

HTA application issue - ecryption

Posted on 2009-05-13
4
413 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

Master Your Team's Linux and Cloud Stack

Come see why top tech companies like Mailchimp and Media Temple use Linux Academy to build their employee training programs.

Question has a verified solution.

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

Calculating holidays and working days is a function that is often needed yet it is not one found within the Framework. This article presents one approach to building a working-day calculator for use in .NET.
Real-time is more about the business, not the technology. In day-to-day life, to make real-time decisions like buying or investing, business needs the latest information(e.g. Gold Rate/Stock Rate). Unlike traditional days, you need not wait for a fe…
With Secure Portal Encryption, the recipient is sent a link to their email address directing them to the email laundry delivery page. From there, the recipient will be required to enter a user name and password to enter the page. Once the recipient …

860 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