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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 20, 20262026-05-20T02:39:28+00:00 2026-05-20T02:39:28+00:00

I have a Windows .net application using SQL Server 2005 Express as database, which

  • 0

I have a Windows .net application using SQL Server 2005 Express as database, which is used on a server with multiple clients. The users insert, view and update data via the application.

For this, I have to put the .mdf files in a folder on the server. Is there any other way?

Now in this case, anybody can take those .mdf files and open them in their SQL Server & view the database objects such as tables,views and procedures.

Therefore, I want to protect my .mdf files with high-level or maximum security and ensure that :

  1. no one can even copy those files from the server.

  2. if the files are copied then they themselves should not open,

  3. if opened then they should ask for passwords

So, please guide me how to implement this security?

Also, I want to know when someone copies the database files, then whether the user, logins, roles are also copied or not?

  • 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-20T02:39:28+00:00Added an answer on May 20, 2026 at 2:39 am

    We have looked into this as well. In reality with SQL Express, someone can simply stop the service and copy the database files without issue. These can then be ported over to another instance.

    Windows security and other products whether you use group policy or some other after market tools that can lock down the file system are your best bets for file system security.

    I beleive SQL does offer exactly what you are looking for and that is TDE encryption. Sadly this is only available in Enterprise edition and how many folks does that actually help out.

    You could also encrypt specific columns directly in your database. If you have a certain set of tables that you are worried about this is probably the best option offered with Express at the current time.

    Check out this article by Dave Pinal: http://blog.sqlauthority.com/2009/04/28/sql-server-introduction-to-sql-server-encryption-and-symmetric-key-encryption-tutorial-with-script/

    I have tried it and it does work well to protect your sensitive data.

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

Sidebar

Related Questions

All I have built a windows form application using VS 2005 Standard edition which
Im using c# .net windows form application. I have many databases created using sql
I have a Windows Forms (.NET) application that can have multiple documents open simultaneously.
I have built a windows service application in VB.net 2008, and used the Setup
I have a .net 3.5 application running on windows mobile professional that uses sql
I have an application which is .NET 2.0, running on Windows XP Professional. This
When using SQL Server Express 2005's User Instance feature with a connection string like
I have made a custom UserControl i Vb.net (windows application). How can I add
I have a Windows application that uses a .NET PropertyGrid control. Is it possible
I have a .NET 2.0 Windows Forms application. Where is the best place the

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.