Wrox Programmer Forums
|
Access Discussion of Microsoft Access database design and programming. See also the forums for Access ASP and Access VBA.
Welcome to the p2p.wrox.com Forums.

You are currently viewing the Access section of the Wrox Programmer to Programmer discussions. This is a community of software programmers and website developers including Wrox book authors and readers. New member registration was closed in 2019. New posts were shut off and the site was archived into this static format as of October 1, 2020. If you require technical support for a Wrox book please contact http://hub.wiley.com
 
Old December 17th, 2003, 11:02 AM
Registered User
 
Join Date: Dec 2003
Posts: 3
Thanks: 0
Thanked 0 Times in 0 Posts
Default How to avoid logon window?

Hallo!

I have created Access 2000 project. Connection must use SQL Server (2000) authentication.
Is it possible to avoid logon window (asks password) each time I run the project?
It's important because if users know SQL Server password and username they can create odbc DSN to access SQL Server and view data that is not meant for them.

Thanks,
Raul
 
Old December 17th, 2003, 12:35 PM
Friend of Wrox
 
Join Date: Nov 2003
Posts: 625
Thanks: 0
Thanked 0 Times in 0 Posts
Send a message via MSN to jemacc
Default

you can build a table that has all user names and login password.

then capture user domain login, compare it to your table and when it finds a match grab the password and pass it to the application. I do not have a procedure for passing the password but I will work on it. This is just an idea. I sure VB has specific way of doing this.

 
Old December 17th, 2003, 12:47 PM
Friend of Wrox
 
Join Date: Jul 2003
Posts: 174
Thanks: 0
Thanked 0 Times in 0 Posts
Default

I have never worked with projects, but I have worked with SQL backends. If you set up the DSN for NT Authentication, it will take the network login and password and send it to the database and the users won't have to log into SQL.

Regards,

Beth M
 
Old December 17th, 2003, 12:58 PM
Friend of Wrox
 
Join Date: Nov 2003
Posts: 625
Thanks: 0
Thanked 0 Times in 0 Posts
Send a message via MSN to jemacc
Default

you can use windows authentication and where ever domain name or password exist it give user permission based on what you have setup on the backend.

Remember that SQL must be setup to use both windows and sql authentication.


 
Old December 17th, 2003, 11:36 PM
sal sal is offline
Friend of Wrox
 
Join Date: Oct 2003
Posts: 702
Thanks: 0
Thanked 0 Times in 0 Posts
Default

Why can't you use Windows Authentication?
It is better programming practice. More secure and easier to implement. I do not like using SQL Server authentication and I only use it if it is not a Windows box.
If you use SQL Server authentication " DO NOT " use a system dsn. This stay open to anyone who uses the machine.



Sal





Similar Threads
Thread Thread Starter Forum Replies Last Post
Centering Popup window & Blur Parent window jkusmanto Javascript How-To 0 May 25th, 2007 03:19 AM
closed parent window when opened child window jaiwin Javascript How-To 0 October 8th, 2006 12:54 PM
can i get back UserName after logon window dialog s3ng ASP.NET 1.x and 2.0 Application Design 2 July 1st, 2005 05:18 AM
how to avoid logon justin_min Crystal Reports 0 November 30th, 2004 02:05 PM
Close Parent window on opening child window pkdev Javascript How-To 8 April 11th, 2004 12:06 PM





Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
Copyright (c) 2020 John Wiley & Sons, Inc.