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 3806016
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 19, 20262026-05-19T14:46:09+00:00 2026-05-19T14:46:09+00:00

I am building an application that interacts with a web service. In order to

  • 0

I am building an application that interacts with a web service. In order to use that web service I have to login using my actual username and password – there is no other way to use the service.

I do not want to hard code in my details, like so:

String username = "MyUsername";
String password = "MyPassword";

I have thought about encrypting the details and storing them in a file, but, even so, anyone who has some programming experience can easily recover the information by looking at my source code:

File f = load("mydetails.txt");
String[] = recoverDetails(f); //or something like that

What is the safest way for me to store this information?

  • 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-05-19T14:46:10+00:00Added an answer on May 19, 2026 at 2:46 pm

    If you really want them to be safe, you’re going to have to lock them into a cryptographically secure “vault” file. Somebody — you or somebody trusted, however that’s appropriate here — would provide a key to unlock the vault (basically another password), and then your software would be able to access the information stored in it.

    If there is no human with a secret involved in starting the application, then there’s really not going to be any way to totally hide the information. This is just a simple fact of reality, one that many people (like the DVD consortium) struggle to deny at their own peril.

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

Sidebar

Related Questions

I am building an ASP.NET web application that will use SQL Server for data
I'm building a perl application that interacts with a PostgreSQL database via the DBD::Pg
If I'm building an application that will have over 30 models, and I want
I have an idea for a web application that would be great if it
I'm building a MVC web application (using the Spring MVC framework), and I'm a
I'm building a Silverlight application that interfaces with SharePoint Web Services. In a windows
I am building a WinForms application that interacts with a running application. This application
We are building a small web application in Rails that will allow clients to
We are building application that stores objects to isolated storage using .NET runtime serialization.
I'm building an application that uses an elaborate API to fetch data from Youtube,

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.