Re: ODBC Table Protection

From: Andrew J. Kelly (sqlmvpnooospam_at_shadhawk.com)
Date: 06/30/03


Date: Mon, 30 Jun 2003 17:30:38 -0400


It doesn't matter what they use to access the database. They have to login
in to the server some how and then that login is linked to a user in the db.
You control access via the permissions on the Logins and users. If you
don't want them to access a particular table then deny that user access to
the table. Or better yet place the user(s) in a custom role and set the
permissions at the role level.

-- 
Andrew J. Kelly
SQL Server MVP
"Tina" <tlevensky@nordicenergy.com> wrote in message
news:038a01c33f45$e450cde0$a301280a@phx.gbl...
> I'm very new to SQL server and I've been doing a ton of
> reading but have not come up with a good solution for
> this issue.  I have an application that uses SQL db and
> within the application, I can limit access to tables,
> forms, etc.  However, we need to do reporting off of the
> SQL data but I don't want everyone to access all tables.
> I'm thinking of using an ODBC driver with Access as that
> is what the programmers are familiar with, but how do I
> protect data via ODBC?  Any suggestions would be much
> appreciated!!!


Relevant Pages

  • Re: SQL2005: Cannot connect error 11001
    ... The famous Windows Firewall (turned on my Server from which I'm trying to ... Exception Details: System.Data.SqlClient.SqlException: Login failed for user ... Try starting the SQL Server ... if you changed the port ...
    (microsoft.public.sqlserver.connect)
  • Re: error logging on SQL 2008
    ... I was, though, hoping for some more recognizable Reason for that error (state 11, " Token-based server access validation failed with an infrastructure error. ... Suggests that state 11 means "Valid login but server access failure", which doesn't really seem to rhyme with your description. ... How can you login to your SQL Server and use that tool if you can't log into your SQL Server? ... at System.Data.SqlClient.SqlInternalConnectionTds.AttemptOneLogin(ServerInfo serverInfo, String newPassword, Boolean ignoreSniOpenTimeout, Int64 timerExpire, SqlConnection owningObject) ...
    (microsoft.public.sqlserver.server)
  • Re: Clearer version of my earlier question re sp_grantlogin and sp_grantdbaccess
    ... > file while you do changes, so the script file in the end contains the ... >> Server, doesn't have the right to grant DB access to Domain Groups. ... > Tibor Karaszi, SQL Server MVP ... >> site where they let me login as Domain Admin. ...
    (microsoft.public.sqlserver.msde)
  • Re: SQL 2005 Express setup
    ... Connect to your SQL Server Instance, ... Double click on the Login that you want to add to the "sysadmin" server role or right click on it and choose properties from the popup menu, ... Login is a member of the "sysadmin" fixed server role now. ...
    (microsoft.public.sqlserver.setup)
  • Re: SQL 2005 Express setup
    ... Connect to your SQL Server Instance, ... Double click on the Login that you want to add to the "sysadmin" server ... Mark the "sysadmin" checkbox to make this Login a member of this Server ...
    (microsoft.public.sqlserver.setup)