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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 29, 20262026-05-29T10:49:19+00:00 2026-05-29T10:49:19+00:00

I have a SQL Server that holds a lot of data. An application, running

  • 0

I have a SQL Server that holds a lot of data. An application, running on several other clients, all access this server to get various data for processing. The previous version of this program gave pretty much unlimited access to anyone with the program to all of the data in the database. Now I’m making a new version of this application and want to implement fancy things like logging in with user names and having different levels of users, and limiting what they can access/change accordingly.

My knowledge of MS SQL server is kind of limited, though growing, and I know I can do a number of different things in the database itself to limit who has access to what. Another option is to close off the database from outgoing connections, and to simply run an application on the local DB server that handles incoming connections via sockets, validates users, and checks that what they’re trying to access they actually can. To me this seems like a simpler idea; I only need to worry about one database user, and I can strictly control which tables (and columns if need be) are accessed by the different levels of users. Though like I said, SQL server is not my expertise, and I want to know if I’m over complicating what might be a very easy thing to accomplish inside the database, or perhaps opening myself up some other problem I might not be thinking of? There aren’t a ton of users. Right now less than 10, and not expected to grow, so there isn’t a concern about too many sockets or threads running on this separate app.

My biggest concern here is that the database contains some important personal information about people. This isn’t a big company by any means, but at the same time, if someone were to get a hold of this data it would be very bad (yes this data is encrypted). With the old application, if you had the right connection string you could get in and get whatever you want, and while that never happened, I don’t want to be one of those programmers that implemented stronger security after it was needed.

  • 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-29T10:49:20+00:00Added an answer on May 29, 2026 at 10:49 am

    Attempting to build that yourself is bound to fail. SqlServer already has tons of security features built-in.

    I think the optimum solution to your problem would be to use integrated security (ie. users log in with their actual Windows credentials). This would also make all your connection strings identical. You can then grant access to the tables/schemas only to those people who are supposed to have access to them.

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

Sidebar

Related Questions

I have a SQL Server 2005 database that I'm trying to access as a
I have a SQL Server that houses Several Databases. I have a Main Database
I have a table in my SQL Server DB that holds auditing information for
I have a Silverlight application that interfaces with an SQL database. It does this
I have an sql server 2008 db table that holds links to articles. My
I currently have a SQL Server (Express 2005) database to hold some transaction/metadata that
i have a sql server that i use and i am trying to code
I have an SQL server database that I am querying and I only want
We have a SQL 2000 server that has widely varied jobs that run at
I have a SQL Server DB that has a table of products, and another

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.