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

  • Home
  • SEARCH
  • 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 8628173
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 12, 20262026-06-12T08:28:14+00:00 2026-06-12T08:28:14+00:00

Possible Duplicate: Preferred Method of Storing Passwords In Database My problem is similar to

  • 0

Possible Duplicate:
Preferred Method of Storing Passwords In Database

My problem is similar to this one discussed here: Best way to store password in database

I need to store passwords of external FTP logins in the database which will be used by the application. The solution of the linked topic is not applicable because it’s hashing the password.

I’m using C# and connecting to a SQL Server 2008. Does someone has an example solution? I think I just have to encrypt the password, store it in ecrypted form and if the application wants to use the password -> decrypt.

  • 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. Editorial Team
    Editorial Team
    2026-06-12T08:28:15+00:00Added an answer on June 12, 2026 at 8:28 am

    The best way of storing passwords is using a strong hash function, however, as in your case here you sometimes need to pass an unencrypted string to a 3rd-party library or service.

    In this case I would use the strongest cipher (so you can reverse it) algorithm you could.
    Always use a well-known, trusted and well-tested 3rd-party library for your encryption needs, it’s far to easy to this wrong unless you’re an expert in the field of encryption.

    Since version 2005, SQL Server has had built-in hashing functions (direct in T-SQL) so may have built-in cipher functions as well, see T-SQL cryptographic functions for details and examples.

    For FTP use it’s worth seeing if the FTP site supports secure FTP (FTPS) or FTP over SSH, note these are both different from SFTP which is not related to FTP except that it does the same job.
    See FTP on Wikipedia.

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

Sidebar

Related Questions

Possible Duplicate: Can main function call itself in C++? I found this problem very
Possible Duplicate: Preferred way to simulate interfaces in C++ I was curious to find
Possible Duplicate: When should I call super? Is there is difference/preferred way when placing
Possible Duplicate: Why is char[] preferred over string for passwords? I read somewhere that
Possible Duplicate: Should a function have only one return statement? This is what I
Possible Duplicate: What is the preferred way to write boolean expressions in Java Today,
Possible Duplicate: Why is char[] preferred over string for passwords? When I was preparing
Possible Duplicate: What is the best way to structure a multi-page form to create
Possible Duplicate: How can I understand nested ?: operators in PHP? Why does this:
Possible Duplicate: Objective C for Windows iPhone development on Windows Is there any way

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.