Re: use of application roles

From: Dan Guzman (danguzman_at_nospam-earthlink.net)
Date: 06/27/03

  • Next message: Gary Xu: "Re: Trouble with SQL Server"
    Date: Thu, 26 Jun 2003 21:46:56 -0500
    
    

    "Sandy" <sandra.carr1@jsc.nasa.gov> wrote in message
    news:615901c33c1f$b6fc32e0$3101280a@phx.gbl...
    >
    > Question 1: If I use SQL Server 2000's 'application role'
    > to let my users enter data via a custom application, am I
    > creating a security hole because of the hardcoded username
    > & password?
    >
    > Background: The application allows users to logon via
    > passthrough Windows authentication. The users enter data
    > into the application and have no reason to directly access
    > the database. The application puts the data into the
    > correct tables and keeps an audit trail.

    AFAIK, the only security vulnderability in this scenario is if you store
    the application role password in clear text. You can encrypt the app
    role password if you are concerned with this,

    > Question 2: Do the users need any rights to the database
    > if the 'application role' is used?

    Users need to be valid users in the application role database so that
    sp_setapprole can be executed. However, no permissions need be granted
    to users; permissions need only be granted to the app role.

    -- 
    Hope this helps.
    Dan Guzman
    SQL Server MVP
    -----------------------
    SQL FAQ links (courtesy  Neil Pike):
    http://www.ntfaq.com/Articles/Index.cfm?DepartmentID=800
    http://www.sqlserverfaq.com
    http://www.mssqlserver.com/faq
    -----------------------
    > Question 2:  Do the users need any rights to the database
    > if the 'application role' is used?
    

  • Next message: Gary Xu: "Re: Trouble with SQL Server"

    Relevant Pages

    • Re: How do I GUI switch into root
      ... John> some kind of security hole. ... _Having to_ switch to root just to edit web pages is probably a bigger ... exploiting the group/user ownership and file permissions in unix. ... certain users access the floppy drive, a CDRW drive, etc. ...
      (alt.os.linux.suse)
    • use of application roles
      ... to let my users enter data via a custom application, ... creating a security hole because of the hardcoded username ... Do the users need any rights to the database ...
      (microsoft.public.sqlserver.security)
    • RE: big problem!!!!!
      ... Potential security hole? ... Move the database to a directory your app has access to. ... highly conducive to web service serving of data ... > we use this ODBC connectionstring: ...
      (microsoft.public.dotnet.framework.adonet)
    • Re: Marshal Obj is String or Binary?
      ... When Python displays the string representation to you, ... > He can still store the repr of the string into the database, ... security hole. ...
      (comp.lang.python)
    • Database Access Security Issue
      ... I have a simple situation where my web service wants to connect to a database, but I need to set the security settings so it can. ... This works fine, but I don't think my customers are going to go for it, since it seems like another security hole. ...
      (microsoft.public.dotnet.framework.aspnet.webservices)