Talk About Network

Google


Register and Login
Nick
Password
Register create new account Sign up is FREE and you can post replies, new topics, bookmark posts and more!
Recover lost password


Software > Access ODBC Client Server > odbc connection...
Latest [ Topics | Posts ] Archive Post A New Topic Post a Reply
<< Topic < Post Post 1 of 10 Topic 1468 of 1511
Post > Topic >>

odbc connections for users on vpn

by ableone <ableone@[EMAIL PROTECTED] > Jun 15, 2008 at 10:45 AM

I have a small app I'm testing (access 2003) which gets installed on the 
workstations of remote users. These remote users are connected to the 
server (win 2003) via vpn. Normally the remote users are not part of the 
same domain. The app queries sql server express data via pass through 
queries.

Up till now the app has build a system dsn for each remote user's 
workstation, and plugs in the sa acct/pswd. I am sure that's not very 
secure and would like to take a better approach.

I don't understand trusted authentication very well, but would like to 
use it if possible(?) The server does not user AD. In my limited testing 
I find that desite the fact that I'm able to connect to the server via 
vpn and use remote desktop etc, a system dsn that I create locally using 
trusted authentication fails with "login failed for user ''. The user is 
not associated with a trusted SQL Server connection". I suppose this is 
because my local user account is not in the same domain, it makes sense. 

Is there any way in this scenario that I can use trusted authentication?

If not, what's the most secure approach to take? I could create a sql 
server user account that has adequate rights to the db (and less that 
sa) and then continue to create/maintain a system dsn on each remote 
workstation. Or I could use a dsn-less connection, but I think that'd 
still mean storing the sql server user acct pswd in the passthrough 
queries. The app will be distributed as an mde, and there are other 
security measures taken, but none of that is very robust. I use the 
function PassThroughFixupDAO() from the Chipman book, which would allows 
me to dynamically rewrite the passthrough query, but the query would 
retain the user name and password if I redo the connection string. 
Compared to that a system dsn seems more secure, because the pswd is not 
stored in plain text.
 




 10 Posts in Topic:
odbc connections for users on vpn
ableone <ableone@[EMAI  2008-06-15 10:45:20 
Re: odbc connections for users on vpn
Stefan Hoffmann <stefa  2008-06-16 10:08:59 
Re: odbc connections for users on vpn
sleepy <sleepy@[EMAIL   2008-06-16 15:11:12 
Re: odbc connections for users on vpn
<david@[EMAIL PROTECTE  2008-06-17 08:58:13 
Re: odbc connections for users on vpn
ableone <able@[EMAIL P  2008-06-16 17:32:39 
Re: odbc connections for users on vpn
<david@[EMAIL PROTECTE  2008-06-19 09:42:52 
Re: odbc connections for users on vpn
ableone <able@[EMAIL P  2008-06-20 08:07:07 
Re: odbc connections for users on vpn
<david@[EMAIL PROTECTE  2008-06-23 22:55:28 
Re: odbc connections for users on vpn
ableone <able@[EMAIL P  2008-06-23 07:46:39 
Re: odbc connections for users on vpn
<david@[EMAIL PROTECTE  2008-06-24 10:25:31 

Post A Reply:
  Go here to Signup

AddThis Feed Button


About - Advertising - Contact - Frequently Asked Questions - Privacy Policy - Terms of Use - Signup

Contact
tan12V112 Sat Nov 22 4:09:50 CST 2008.