Re: Connecting to linked SQL table in Access



Declan (Declan@xxxxxxxxxxxxxxxxxxxxxxxxx) writes:
ez1 only has read permissions, yet I'm able to update data in the linked
table, and the connect string for the table becomes "ODBC;DRIVER=SQL
Server;SERVER=BackupServer;APP=Microsoft Office
2003;WSID=BACKUPSERVER;DATABASE=bomdSQL;Trusted_Connection=Yes" In
fact, I don't have to even supply a valid logon id and password for me
to be able to link to the table with full permissions. How can I
prevent someone from being able to link to a SQL Server table with full
permissions unless a valid username and passwork is supplied? How can I
make it so the connect string doesn't automatically get set to
"Trust_Connection"?

I have no idea why the connection string changes, but I guess that is a
quirk of Access, and best answered by people who know that product.

However, if users have full access to the table by means of their Windows
login, it's sort of point less if the app restricts the permission.
That can easily be circumvented. So you should make sure that users
do have not any permissions through their Windows login.


--
Erland Sommarskog, SQL Server MVP, esquel@xxxxxxxxxxxxx

Books Online for SQL Server 2005 at
http://www.microsoft.com/technet/prodtechnol/sql/2005/downloads/books.mspx
Books Online for SQL Server 2000 at
http://www.microsoft.com/sql/prodinfo/previousversions/books.mspx
.



Relevant Pages

  • Re: Linking tables access - sql server 2005
    ... Another advantage of this method is that you don't need an ODBC setting on the local computer, ... Create a linked table to SQL Server without using a DSN ... Name of the table that you are linking to on the SQL Server database ... Function AttachDSNLessTable(stLocalTableName As String, stRemoteTableName As String, stServer As String, stDatabase As String, Optional stUsername As ...
    (microsoft.public.access.adp.sqlserver)
  • Re: Cannot Generate SSPI Context - help
    ... I have used the following DSN-less string: ... Microsoft OLE DB Provider for SQL Server error '80004005' ... When a connection is "trusted," it means ... > How would one connect to a remote SQL Server using Windows authen? ...
    (microsoft.public.inetserver.asp.db)
  • Re: INSERT Query problem with Quotes & Apostrophes
    ... I've got front-ends that go against both Jet and SQL Server databases. ... InputText As String, _ ... >> Delimiter, Delimiter & Delimiter) ... dDateTime, ...
    (microsoft.public.access.modulesdaovba)
  • Re: ADO.NET 2.0 saving single space to SQL?
    ... It is code someone else wrote quite some time ago and all of the string ... Hitchhiker's Guide to Visual Studio and SQL Server ... and Hitchhiker's Guide to SQL Server 2005 Compact Edition (EBook) ...
    (microsoft.public.dotnet.framework.adonet)
  • Re: Some users are unable to access a site in sharepoint
    ... permission levels or groups on the sharepoint site? ... bstrUrl, String& pbstrServerRelativeUrl, String& pbstrTitle, String& ... I know it is some type of permissions issue because if I adde one of the ... users account to the administrators group on the sharepoint web servers ...
    (microsoft.public.sharepoint.windowsservices)