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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 23, 20262026-05-23T04:40:25+00:00 2026-05-23T04:40:25+00:00

We have an application that uses Windows authentication to authenticate users with the database,

  • 0

We have an application that uses Windows authentication to authenticate users with the database, and the SQL Server user accounts need to have certain read/write access to database tables.

The trouble is that the users can then install SQL Server Management Studio and potentially use the database in ways it’s not supposed to be used, which isn’t what I want.

Everything that I have read says that using integrated authentication is more secure but at the moment, any user can use Management Studio or Access/Excel to just connect to the database.

I have read question SQL Server Authentication or Integrated Security?, which suggests some workarounds, but I don’t really have the option of changing the app as drastically as re-factoring all of the stored procedures etc. so I was hoping there might be another option?

Thank you,

NIco

  • 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-23T04:40:26+00:00Added an answer on May 23, 2026 at 4:40 am

    Everything that I have read says that
    using integrated authentication is
    more secure

    –> It’s more secure in a way because it’s more difficult to get the password.

    If you use SQL Server authentication, the connection string contains user and password. If you know where the connection string is (often in a config file), you can open it and see user and password.
    On the other hand, if you use Windows authentication, the connection string just says “Integrated Security=True” and you connect to the server with your Windows account, with the actual password buried somewhere deep in Windows’ guts and more difficult to retrieve.

    Of course, the big downside of Windows authentication is that if your users need write permissions on a certain table for your application, this means that they can write to the same table with ANY other application as well.

    There are some workarounds, but none of them is THE silver bullet:

    If your app only needs certain tables of the DB, you can just give permissions on these. So at least, the users can’t do stuff in all the other tables

    If the users are not allowed to access any tables at all from outside your application, there are unfortunately only two things you can do:

    • Change your app to SQL authentication and remove all permissions for Windows users
      (you can also use a proxy service like Will Hughes suggested, but the effect is the same when the app accesses the DB directly…the point is that your users’ Windows accounts don’t have any permissions anymore!)
    • Create views and stored procedures (if they don’t already exist anyway) for the stuff your app can do with the database. Give the users permissions to use these, and remove the permissions to the real tables.
      –> the users can access the views and SPs directly with other tools (even if they don’t have any permissions on the underlying tables…permissions on the views and SPs are enough), but they can’t do anything that they can’t do in your app as well.
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I have a .net 3.5 application running on windows mobile professional that uses sql
I have a Windows application that uses a .NET PropertyGrid control. Is it possible
I have a C++ application that uses the Win32 API for Windows, and I'm
I a have a multithread application (MIDAS) that makes uses of windows messages to
I have a Windows Workflow application that uses classes I've written for COM automation.
I have a windows form application that uses a Shared class to house all
I have a managed Windows application that loads a managed C++ component that uses
I have an application that uses window.open() to generate dynamic popups. Unfortunately, I've had
I have an application that uses NHibernate as its ORM and sometimes it experiences
I have client application that uses WCF service to insert some data to backend

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.