Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
Home
Discussion GroupsFormsForms ProgrammingQueriesModules / DAO / VBAReports / PrintingMacrosDatabase DesignSecurityConversionImporting / LinkingSQL Server / ADPMultiuser / NetworkingReplicationSetup / ConfigurationDeveloper ToolkitsActiveX ControlsNew UsersGeneral 1General 2
Access DirectoryToolsTutorialsUser Groups
Related Topics
SQL ServerOther DB ProductsMS OfficeMore Topics ...

MS Access Forum / Modules / DAO / VBA / March 2005

Tip: Looking for answers? Try searching our database.

accessing external database: security issue

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
rocco - 21 Mar 2005 04:11 GMT
Hello,
first of all, i hope to be able to explain what's on my mind...
I have a db (Access2000) for which I have builded a specific workgroup file
(wrkgrp#1), with different groups of users and different permission to each
groups. Admin user and Users group haven't any kind of permissions. It works
fine.
This database runs on a computer that uses as *default* workgroup file (i.e.
the one that take into action whenever you open Access) another workgroup
file (wrkgrp#2), different from the one I created (wrkgrp#1) and different
from the system.mdw too. To open the database users use shourtcuts which link
to the workgroup file I have created (wrkgrp#1).
Now...
Sometimes I need to build small patches to manage some updating/deleting
action on this database. These patches are builded in Access2000 (i.e. .mdb
files). I would like to send them through email; when users open the patches
the code will take care of anything. When I build these patches I'm on the
system.mdw.
Mostly of the code is just plain SQL. My problem is that when user try to
open the patches they will be prompted to logon with userID an password for
the wrkgrp#2. And they do. In this way they will NOT be able to open the
patches and they will NOT be able to make any changes to the database. Right?
Things will be easier if they wiil restore system.mdw as the *default*
workgroup file. If so, they can open the patches but CANNOT make any changes
to the database. Correct?
Besides if in the patches I code first the ADD USERS...  SQL statement to
add users from my wrkgrp#1 to the system.mdw, this will NOT work, since at
this time user is logged as Admin.
Question?
How can I manage this situation? (I colud build the patches linking to the
wrkgrp#1 (which I have). But there is some other way to go? What if I would
like to stay on system.mdw for the patches?
I mean.... there is a way to grant access to a secured database through SQL
(I know I can use ADO...but too much code to write for the task)? There is a
way to authenticate and/or authorize users? i was thinking to some kind of
string like the one that is commonly used in the target field of a shourtcut
but that could be used in SQL statement.
I hope to have said something meaningful.
Thanks for the attention and ...sorry for the headache.
Rocco
rocco - 21 Mar 2005 14:57 GMT
I posted this here but maybe it is the wrong place. Access security should be
the right one. So I reposted there. Please ignore the one listed here. Thanks
and sorry
Rocco

> Hello,
> first of all, i hope to be able to explain what's on my mind...
[quoted text clipped - 35 lines]
> Thanks for the attention and ...sorry for the headache.
> Rocco
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.