• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 2057
  • Last Modified:

UDL Files and Password Encryption

Hi,

I have created a ".UDL" file and have set both a username and password.

When I open the .UDL file in 'Notepad' the password is in a human readable form.

Is there a way to encrypt the password so it is unreadable? or Is there some similar technology I can use to store DB connection information in a file that can encrypt the password..?

Thanks Ian  
0
ISC
Asked:
ISC
  • 2
  • 2
  • 2
1 Solution
 
TimCotteeCommented:
Hi ISC,

That is the nature of UDL files, they cannot store the password as encrypted. In order to do so you would have to manage it yourself, of course you have to remember that any decryptable password stored anywhere in a file could be decrypted (obviously if your application can decrypt it then so can anyone else given time and resources). There is really no surefire way to do this, all you can do is to make it as hard as possible to find the elements required to decrypt the password.

Tim Cottee
0
 
gecko_au2003Commented:
They even stored the windows xp serial key in the registry decrypted as DigitalProductId and thats been hacked :) as you most likely know, I mean thats prolly how magic jelly bean key finder works :)
0
 
gecko_au2003Commented:
ooppss I mean encrypted NOT Decrypted, cos obviously it has to get decrypted to be readable or to make sense !
0
VIDEO: THE CONCERTO CLOUD FOR HEALTHCARE

Modern healthcare requires a modern cloud. View this brief video to understand how the Concerto Cloud for Healthcare can help your organization.

 
ISCAuthor Commented:
Tim,

Thanks for the comments...

I have decided to go down the route of creating a 'UDL' containing the password and implement the security at the file level i.e., only certain people can open the file....

Regards Ian
0
 
TimCotteeCommented:
Ian,

That is a reasonable approach, again it is not entirely secure but as nothing ever is, making it as difficult to get at as possible is the best you can hope for.

Tim
0
 
ISCAuthor Commented:
Tim,

The solution is not perfect but in the time constraints I have to complete development and that it meets our audit standards this will have to do....

Thanks for your help...Ian
0

Featured Post

Technology Partners: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

  • 2
  • 2
  • 2
Tackle projects and never again get stuck behind a technical roadblock.
Join Now