Access security. .mdw on a network share.

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?
andrewjwdAsked:
Who is Participating?
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

Jim HornMicrosoft SQL Server Developer, Architect, and AuthorCommented:
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
andrewjwdAuthor Commented:
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
Jim HornMicrosoft SQL Server Developer, Architect, and AuthorCommented:
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

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
andrewjwdAuthor Commented:
Inefficient if you have a lot of clients.  But it'll have to do.  Thanks!
0
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
Microsoft Access

From novice to tech pro — start learning today.

Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.