?
Solved

HTA application issue - ecryption

Posted on 2009-05-13
4
Medium Priority
?
451 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 1500 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

Upgrade your Question Security!

Your question, your audience. Choose who sees your identity—and your question—with question security.

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.
This article aims to explain the working of CircularLogArchiver. This tool was designed to solve the buildup of log file in cases where systems do not support circular logging or where circular logging is not enabled
Enter Foreign and Special Characters Enter characters you can't find on a keyboard using its ASCII code ... and learn how to make a handy reference for yourself using Excel ~ Use these codes in any Windows application! ... whether it is a Micr…
Planning to migrate your EDB file(s) to a new or an existing Outlook PST file? This video will guide you how to convert EDB file(s) to PST. Besides this, it also describes, how one can easily search any item(s) from multiple folders or mailboxes…
Suggested Courses

621 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