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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 28, 20262026-05-28T08:11:50+00:00 2026-05-28T08:11:50+00:00

We ship a .NET application with an associated configuration file. Our consultants create the

  • 0

We ship a .NET application with an associated configuration file. Our consultants create the configuration file during installation. We’d like to make it hard for the client to tamper with the configuration file.

What avenues do we have?

At the moment, I’m thinking about signing the configuration file with our private key and verifying it against the public key when the application starts. I’d then hide the public key in the EXE somewhere.

How might I go about doing this? Are there better ways to do this?

Note: I’m aware that this will not prevent a determined attacker. We’re looking at closing off some of the easiest routes and moving the effort required into deliberate, rather than negligent, infringement.

  • 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-28T08:11:50+00:00Added an answer on May 28, 2026 at 8:11 am

    This doesn’t make any sense. You are shipping a configuration file. It’s used for configuring the application. But you don’t want it to be changed? So then it can’t be used to configure the application. So, then why even bother with a configuration file? Why not just embed it as a resource in the application itself?

    What am I missing?

    Edit, to respond to your new information:

    Use XMLDSIG. Sign the app.config. Verify the signature.

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

Sidebar

Related Questions

I have a strange requirement to ship an application without bundling .Net framework (to
I'd like to ignore multiple wildcard routes. With asp.net mvc preview 4, they ship
I'd like to ship the app with a file already in the RestKit's cache.
We'd like to ship some helper scripts (shell scripts) as part of an application
I'd like to encourage our users of our RCP application to send the problem
I wish to ship SQL server database file with my application. I am very
I'm building a product that will ship after .Net 4.0 is released. Is MEF
Does SQL Server 2008 ship with the .NET 3.5 CLR, so that stored procedures
Can I ship my application with compiled templates? I there such a thing at
I need to ship some Java code that has an associated set of data.

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.