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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 17, 20262026-05-17T18:12:59+00:00 2026-05-17T18:12:59+00:00

I have a c# winform application that uses SQL 2005 Express. The application creates

  • 0

I have a c# winform application that uses SQL 2005 Express. The application creates math and reading quizzes and is marketed to parents of school-aged children. The parents purchase and download SQL files containing quizzes from my website and install them in the application (which is installed on their child’s computer).

I have two SQL security concerns:

(1) Some children may not want the quizzes to appear on their computer, so they may try to (a) delete the SQL database or (b) disable the application by changing values in the database.

It seems to me that anyone with SQL Server Management Studio Express can easily change the contents of the database.

Therefore, what can be done to prevent this (other than recommending to the parent that they do not let their children use an administrator account)?

(2) My only revenue will be the sale of the quizzes, so I want to protect this data from being copied and shared. How can I do this given (a) that the files need to be downloaded from my server to the child’s computer and then installed and (b) and then once installed, they are just residing on the child’s computer.

It seems to me that anyone with SQL Database Publishing Wizard can easily copy the contents of the database.

Is it possible to only allow my application to access the SQL database? Is it possible to restrict everyone else from accessing it (even people using Windows administrator accounts)?

Currently the install script for my application creates a new instance of the SQL 2005 Express server just for my application and it uses Windows Authentication.

I have read several SQL security posts here on Stackoverflow and elsewhere but I am not yet able to figure this out.

  • 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-17T18:12:59+00:00Added an answer on May 17, 2026 at 6:12 pm

    From a wonky hacker point of view, the parents are screwed. This is because their children have physical access to the computer. Theoretically they can attack it every which way.

    Now, let’s go with what is more likely.

    You identified that not giving the kids administrator access makes a big difference. But if you’re saying that is out of reach of most families, so is SQL Management Studio. You can make a bet that kids aren’t going to go get this and install it.

    However, in the end, you would probably be better off with some good old fashioned obfuscation. Instead of using something like SQL Management Studio, where there are freely available tools out there to modify and prevent these quizzes from showing up or whatever other attacks are available, you create your own file formats and hope most kids would give up when they see binary gobbledy-gook.

    If they are going to give up on that, many might give up on SQL Express. That said, kids are pretty resourceful and some might be willing to follow step by step instructions they searched for on Google to defeat your software.

    It sounds like you are deploying these quizzes onto SQL Express instances that are on machines not under your control. They aren’t your machines anymore.

    I don’t want to say “you can’t do what you are asking” but you are asking how to prevent someone from using administrator tools to defeat your software. I think my answer is “you can’t”. You have to reexamine your design or just go with the idea that most kids won’t go so far.

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

Sidebar

Related Questions

I have a winform application that uses some referenced web services to get data.
I'm developing a Windows Mobile WinForm application that uses Sql Server CE 3.1 with
We have a WinForms application that uses SQL server to store its data. To
I have a desktop (winforms) application that uses a Firebird database as a data
We have a WinForms application written in C# that uses the AxAcroPDFLib.AxAcroPDF component to
I have my winform application gathering data using databinding. Everything looks fine except that
I have a WinForm application that has a list view in it. What I
I have written a winform application that connects to a database on our corporate
I have a winforms application that normally is at about 2-4% CPU. We are
I have C# winforms application that needs to start an external exe from time

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.