?
Solved

Access security.  .mdw on a network share.

Posted on 2005-03-30
4
Medium Priority
?
340 Views
Last Modified: 2013-12-05
I have a question about access security.  What's the best way to impliment user level security on an access database accessed from a shared folder?

I tried creating a shortcut and placing it on the share.  Problem is the path to the msaccess.exe is different for the various clients.  So when clicking the shortcut

"C:\Program Files\Microsoft Office\OFFICE11\MSACCESS.EXE" "\\nt1\shared\Database - Access Data\Investors Converted.mdb" /WRKGRP "\\nt1\shared\Database - Access Data\Security.mdw"

It will not always work if if the path is different that above.

So, it tried it the other way by selecting "I want to make this my default workgroup information file" when going through the security wizard.  Problem is that it works on the one pc creating the security but all the other clients are denied permissions.  Also, this security is applied to all other access databases on this client, which is not needed.

I think I'm just not understanding the fundimentals of access security.  Any idea's?
0
Comment
Question by:andrewjwd
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 2
  • 2
4 Comments
 
LVL 66

Expert Comment

by:Jim Horn
ID: 13665610
Sad to say, but the path has to be hard-coded and not a relative path.  The only other option you have would be to create each shortcut file specific to the user and their path, and give it to them.
0
 

Author Comment

by:andrewjwd
ID: 13666448
That's the route I was going.  Just seems like there should be a better solution.  There's not way to make an access database associate with a .mdw?
0
 
LVL 66

Accepted Solution

by:
Jim Horn earned 375 total points
ID: 13666480
Create a shortcut off of your Access app.  Then right-click/properties on the Shortcut.  In the Target textbox, you'll need to enter something like this:

"C:\Program Files\Microsoft Office\Office10\MSACCESS.EXE" "Drive:\folder\folder\YourAccessFile.mdb" /wrkgrp "Drive:\folder\folder\YourSecurityFile.mdw"

Three parts:
(1)  Location of MSAccess file.  The path I have is standard for XP, yours may be different.
(2)  Path-file of the Access .mdb
(3)  Path-file of the Access security .mdw file.  

Then hit Ok.  When user double-clicks on the shortcut, it will open the Access file and associate the security .mdw file with it.

Hope this helps.
-Jim
0
 

Author Comment

by:andrewjwd
ID: 13668806
Inefficient if you have a lot of clients.  But it'll have to do.  Thanks!
0

Featured Post

Microsoft Certification Exam 74-409

Veeam® is happy to provide the Microsoft community with a study guide prepared by MVP and MCT, Orin Thomas. This guide will take you through each of the exam objectives, helping you to prepare for and pass the examination.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Traditionally, the method to display pictures in Access forms and reports is to first download them from URLs to a folder, record the path in a table and then let the form or report pull the pictures from that folder. But why not let Windows retr…
If you need a simple but flexible process for maintaining an audit trail of who created, edited, or deleted data from a table, or multiple tables, and you can do all of your work from within a form, this simple Audit Log will work for you.
What’s inside an Access Desktop Database. Will look at the basic interface, Navigation Pane (Database Container), Tables, Queries, Forms, Report, Macro’s, and VBA code.
In Microsoft Access, when working with VBA, learn some techniques for writing readable and easily maintained code.
Suggested Courses

764 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question