Closed Thread
Results 1 to 3 of 3

Thread: Permissions on Tables, Stored Procedures, etc.

  1. #1
    Barn Newbie theChris is an unknown quantity at this point theChris's Avatar
    Join Date
    Mar 2008
    Posts
    14
    Rep Power
    4

    Permissions on Tables, Stored Procedures, etc.

    I briefly read somewhere that it is better to grant only execute permissions on stored procedures for the account used for web site visitors. It said something about not allowing this account any other access to the tables. Can anyone elaborate on this for me? I'm not sure I understand what could be wrong with allowing this account to run a SELECT statement, for example, against a table.

    Thanks,

    theChris

  2. #2
    Lightning Master AOG123 is a jewel in the rough AOG123 is a jewel in the rough AOG123 is a jewel in the rough AOG123 is a jewel in the rough AOG123's Avatar
    Join Date
    Mar 2008
    Location
    Fortress Of Solitude
    Posts
    394
    Rep Power
    7

    You rarely want users to have full permissions to access the tables. Executing stored procedures to perform validations will protect the integrity of your database

    It will also create extra lines of defense by denying permission to underlying objects "like your tables", as rules can be set so that users can access data and objects in the way that you intend your application to be used.

    And importantly from a security point of view, you can limit the creation of Ad hoc queries and even more importantly disable data modifications. This prevents users from maliciously or inadvertently destroying data.

    Stored procedures are written once, and can then accessed by many applications. This can reduce network traffic by combining multiple operations into one procedure call, rather than calling multiple queries that can effect the performance of you db.

    Hope this helps,...

    AOG
    If i helped you, make me famous by clicking the

  3. #3
    Barn Newbie theChris is an unknown quantity at this point theChris's Avatar
    Join Date
    Mar 2008
    Posts
    14
    Rep Power
    4

    Okay, that makes sense. Thanks

Closed Thread

Similar Threads

  1. Dynamic Stored Procedure
    By jmurrayhead in forum Microsoft SQL Server
    Replies: 16
    Last Post: March 26th, 2008, 12:19 PM
  2. How to Properly Configure Web Permissions on an Access Database
    By jmurrayhead in forum ASP Development
    Replies: 0
    Last Post: March 23rd, 2008, 11:44 AM

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts

SEO by vBSEO