Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 51469
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 10, 20262026-05-10T16:45:19+00:00 2026-05-10T16:45:19+00:00

My application connects to an FTP server with a username and password. I can

  • 0

My application connects to an FTP server with a username and password. I can create an encryption routine to encrypt and decrypt the password, but anybody with access to the source code and the encrypted password can decrypt the password.

Is there an easy way to prevent every human being from knowing the entire password used by an application? (I think it’s okay if multiple people know part of the password.)

EDIT: I know FTP is not secure. Ideally, I’d like a technique that would work in any situation where a username and password are required (e.g. a database connection).

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. 2026-05-10T16:45:19+00:00Added an answer on May 10, 2026 at 4:45 pm

    No. All an app user has to do is sniff their own network traffic (easy to do with Wireshark or such).

    You really need a way to give each user a unique token of some sort.

    Edit – more info:

    Any system that relies on ‘secret’ login information that is the same for every copy of the application is flawed by design. In order to keep things secure, every install of your app must have a unique secret that it uses to authenticate with the server. How you accomplish that is dependent on how you license/distribute your app. Here is how I would do it. (Perform all communication over an SSL connection).

    1. App is launched for the first time – it sees that it has no authentication information saved.
    2. App prompts you for a registration code, email address and/or however you want to identify your users.
    3. App generates a public/private keypair and submits the public key with your ID info from step 2 to the server.
    4. Server remembers your key and uses it to identify your app from now on.

    Alternate step 3 is: app submits info from step 2 and server sends back a hash signature of the info + salt. Hash signature is now your app’s key.

    The important thing is that there is no ‘secret’ shared between all your users.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

My .NET WinForms application connects to ftp server and downloads a file. To do
We have a C# application that connects to a FTP server, downloads some files,
I set FTP Server by using Rumpus Server application. But Lion's built-in FTP Server
I am wondering if it is possible to trace which server an application connects
Currently I have an application that connects to a Terminal Server over TCP/IP using
I'm using FtpWebRequest to connect to an FTP server and I can use WebRequestMethods.Ftp.ListDirectoryDetails
I need to change how my C# application connects to a server to send
How secure is it to connect to an ftp server in an iPhone application?
I need to upload directories to a FTP server on my application, and plan
I'm trying to embed an Apache MINA FTP server in my Scala application, and

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.