-
Dec 6th, 2024, 05:16 PM
#1
Thread Starter
Junior Member
Publishing to FTP Server, saving login details for application update?
Hi guys,
just wondering if there is an easy way to save ftp login details for when publishing a application so they are embedded / saved within the application?
I am having an issue where when the app tries to check for updates upon startup and it cannot login due to no username/password provided.
I'm talking about the check for updates in the publish wizard, if that makes sense.
Thanks!
-
Dec 7th, 2024, 07:11 AM
#2
Re: Publishing to FTP Server, saving login details for application update?
Moved from VB.NET to Application Deployment.
-
Dec 9th, 2024, 11:24 AM
#3
Re: Publishing to FTP Server, saving login details for application update?
Easy way? Probably not. Any saved credentials would need to be encrypted if you want them to be secure.
-
Dec 9th, 2024, 12:09 PM
#4
Re: Publishing to FTP Server, saving login details for application update?
![Quote](/images/misc/quote_icon.png) Originally Posted by j-servers
just wondering if there is an easy way to save ftp login details for when publishing a application so they are embedded / saved within the application?
You can't.
Suppose you encrypted your credentials really hard and then your app sends a request to ftp.myupdate.domain.com for new updates. The client can tweak C:\Windows\System32\drivers\etc\hosts file and point ftp.myupdate.domain.com to 127.0.0.1 localhost and install a simple logging ftp server which just saves user/password to a file on first request.
If you try to use IP address directly for communications the user can sniff network traffic from their LAN card.
If you somehow prevent network sniffing they can just open a debugger and dump your application memory to a file.
The moment your EXE hits client machine all bets are off -- it can be dissected and any information extracted very easy.
So you might as well think about allowing anonymous access to your ftp server or just move a notch to http/https for these updates.
cheers,
</wqw>
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|