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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 27, 20262026-05-27T11:32:08+00:00 2026-05-27T11:32:08+00:00

I added an Application Role on a SQL Server database and granted to the

  • 0

I added an Application Role on a SQL Server database and granted to the role the access to one table of the database. From the client I can correctly login with the credentials of the Application Role.

I’m using Windows Authentication. The odd thing is that even without the sp_setapprole statement on the client side the client can without problem read the table. But I want to avoid this.

I’m using this connection string:

Data Source=.\SQLEXPRESS;Initial Catalog=WTC_Database;Pooling=false;Integrated Security=SSPI;

What can be the problem? How to configure the Application Role properly, to deny the other users not logged in the Application Role to access to the table?

  • 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-27T11:32:09+00:00Added an answer on May 27, 2026 at 11:32 am

    Since your connection string specifies to use Integrated Security, we know the client’s credentials are being used for authentication. The client may have a datareader role or possibly the table is public select.

    You need to revoke access to the table to everyone except who should have access. Roles should always grant access, not revoke access. Your system should grant little or no access to data without granting someone roles.

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

Sidebar

Related Questions

I added Comet servlet into Spring web application. This servlet does not differ from
I have added an application on IIS 7 and the physical path selected correctly.
Everything was going great until I added AddHandler application/x-httpd-php5s .php to the .htaccess file
I'm trying to send an email through the Facebook API. I've added the application
I have added options in application.rb: config.autoload_paths += %W(#{config.root}/lib) config.autoload_paths += Dir[#{config.root}/lib/**/] and lib\functions.rb:
I've created a new Pylons application and added a controller (main.py) with a template
Xcode automatically resizes and applies a glossy look to images added as the application
I added a splash screen to my phonegap application by adding the super.setIntegerProperty("splashscreen", R.drawable.splash);
In my application I have QGraphicsScene with pixmap added and all is viewed in
I have added some settings to my c# application using the configuration editor. There

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.