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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 2, 20262026-06-02T03:50:32+00:00 2026-06-02T03:50:32+00:00

I am deploying an ASP.NET application and SQL Server (2008) database on a live

  • 0

I am deploying an ASP.NET application and SQL Server (2008) database on a live (production) server. The physical server is running both SQL Server 2008 and IIS 7 – it is provided by a hosting company and is not part of our internal network.

I have a couple of questions regarding database security and the connection string for the ASP.NET application.

Previously I would create a database user and specify the SELECT/INSERT etc. permissions for each table – but my issue is that there are 50+ tables in this database, so doing this would take a long time.

The application requires SELECT/INSERT/DELETE/UPDATE on each table.

  • Is there a better way than specifying the permissions for each table individually?
  • Is there an equivalent of integrated security for a live web server – what are the drawbacks?
  • Or is there a way of elevating the access rights for a particular user to full access for a particular database

Also how would the connection string change?

I just looking for some expert advice, just someone to point me in the right direction and a link to some documentation on how to achieve a better way of doing it.

Many thanks.

  • 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-06-02T03:50:33+00:00Added an answer on June 2, 2026 at 3:50 am

    You have essentially three unrelated questions in your bullet list, not one.

    • The first one is a better fit at ServerFault.com, as it deals with SQL Server, not necessarily a programming question.
      • However, Google paid off, and here’s a method for doing it: http://www.tech-recipes.com/rx/2298/sql_server_2005_easily_grant_select_all_tables_views/
      • Alternatively, you can just assign the user to the correct groups as described in @Oded’s answer here: TSQL granting read and write permissions to all tables
    • For the second one, Integrated Security, yes, there is a way to use integrated Security with ASP.NET. See this article: http://msdn.microsoft.com/en-us/library/bsz5788z.aspx
      • The biggest drawback is that it’s more to configure. it’s a non-standard (but supported) configuration, so maintenance programmers may not have seen the setup before.
      • Also, if you’re doing this, there could be security concerns if you’re using an account that has permissions elsewhere. Be sure to follow the principle of least privilege. It might be best to create a Domain account specifically for each website, so if one gets compromised, it limits the damage that can be done. You know your security concerns better than I do, so this may or may not be relevant advice, but it’s something to consider.
      • Finally, (and this is probably too obvious to point out) it would be foolish to use a real person’s UserId. If that person leaves the company and their account is removed, the website will obviously break.
    • Now that I’ve found an answer for the first question, the third one becomes moot.
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

We are deploying our ASP.Net MVC application to a windows 2008 R2 server, running
I'm deploying an ASP.NET application to Windows Server 2003 under IIS IIS is serving
I'm having trouble deploying an ASP.Net application using Sql Server CE 4.0. I get
I have an ASP.NET 2.0 application that I am deploying to an IIS 6.0
I'm using ASP.NET MVC to develop a web application, deploying to IIS 7. I've
I am deploying ASP.NET and Web Service solutions to IIS for a development server.
I am deploying a Asp.Net MVC 2.0 application on IIS 6.0. When I request
I'm deploying an ASP.NET application to a locked down Production environment. Pushing assemblies (satellite
We currently have an ASP.NET Web Application running on a single server. That server
I am deploying an ASP.NET MVC to Windows Server 2008. I have installed ASP.NET

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.