Quantcast
Channel: VBForums - Visual Basic .NET
Viewing all articles
Browse latest Browse all 27056

Encryption - Maybe?

$
0
0
Hi All,

A little history first...
I'm writing a windows application for me and a few friends. It is very simple. It checks for the external IP address of a server and if it has changed from a previously saved IP address it sends a Text message to a cell phone. That way we can keep track of our home servers and apply any host forwarding changes as they happen. It is very rare of course, as our Static IP's have not changed in quite a long time but occasionally our ISP's decide to break the lease and it does change, so there was a need.

But.. here is the issue.

I save all the data in a text file. User ID, Password, Mail server, port number and so on. That way if the server goes down, the program has all the information it needs without human intervention, once the server has restarted.

My Question is this. One of my buddies shares a server with some other people and he would prefer that I not save his User ID and Password for his mail server in a text file. I do not want to hard code it into my program as that would mean I have to change it every time he decides to change his e-mail address.
Is there such as thing as encrypting data without having to use a password entered by a user? What I mean, is there a way to encrypt and save data then decrypt and read the same data, without any human intervention?
If there is such a way would someone point me in the right direction?

Thanks,

-NJ

Viewing all articles
Browse latest Browse all 27056


<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>