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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 1, 20262026-06-01T13:23:19+00:00 2026-06-01T13:23:19+00:00

I want to add an XML file, containing sensitive data, to my application. I

  • 0

I want to add an XML file, containing sensitive data, to my application.

I don’t want anyone to be able to get this file and use its content.

How can I achieve this?

I thought using encryption might be a good idea, but then how can I pass the encryption password without writing it in the code ? (I don’t want somebody to be able to find it by using a decompiler)

Is Isolated Storage considered a safe place? Can somebody else, other than my application, reach it?

  • 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-01T13:23:21+00:00Added an answer on June 1, 2026 at 1:23 pm

    Short answer – there is no 100% secure method to store your XML file on the phone, as it can be extracted from the Isolated Storage regardless of whether you allow it or now. Your best bet is encrypting the file and obfuscating the source-code.

    Have the encryption key specified by the user, instead of having it
    hard-coded.

    Dave Amenta suggested using ProtectedData, which might be one of the ways you might want to approach this problem.

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

Sidebar

Related Questions

I Want to add the data to the xml file from my asp.net GUI.So
I want to add one xml file (which has some static data related to
I have this xml file, and now i will want to add new entries
I have a Windows forms C# application. I want to add an xml file
I have this JSF table. I want to add row numbers. <?xml version=1.0 encoding=UTF-8?>
I want to add some xml file as resource to my class library project
I have an XML file I'm trying to modify and want to add a
I want to add a comment right at the start of an xml-file. As
I've got a huge struts.xml file and I want to add some logic in
I have an XML file that contains URLs. I want to add cases because

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.