Re: Pathname to access and usernames in shortcut

From: Lynn Trapp (ltrappNoSpam_at_ltcomputerdesigns.com)
Date: 07/08/04


Date: Thu, 8 Jul 2004 16:57:55 -0500

Answers inline below.

-- 
Lynn Trapp
MS Access MVP
www.ltcomputerdesigns.com
Access Security: www.ltcomputerdesigns.com/Security.htm
"Help" <anonym@whoknowswhere.osh> wrote in message
news:40eda228$0$7794$db0fefd9@news.zen.co.uk...
> Hi,
>
> We are about to deploy a database on our network (Windows/2000 servers
> with Active Directory and Win2K, WinXp and Win9x clients).
>
> The database is split front-end and back-end but both will be on a
> network drive (for maintenance reasons initially, I may move the
> front-end to the client machines once its stable).
Maintenance of a front-end on individual user machines is much less of a
headache than the problems you can encounter if you have a shared front-end
on a network drive. You're best off to go ahead and bite the bullet and
install the front-end on the user pc's from the git-go.
>
> We have added the security and have a .mdw file and can start it from a
> shortcut.
>
> The security is intended more to stop people accidentally
> corrupting/changing things than to stop people hacking into the
> database. If they want to do that they can, but they are trusted. We are
> using usernames but no passwords.
Are you preventing the users from changing their own passwords? If not, then
your schema below will likely not work, if someone changes their password.
>
>
> I have two questions at the moment:
>
> 1) We want users to be logged in automatically with their Windows login.
> I know that we can't synchronise the userid/password combinations and
> that the security is different between access and active directory.
> What we are thinking of is having a batch file or command file which
> gets the current username from the system and then calls access (via the
>   same command as we would use for a shortcut) but with the username
> included.
>
> Has anyone tried this and can point me to any examples. Also, ca you see
> any potential problems with this idea ?
I've never tried it. You should test it and see if it works. That's the best
way I know to find out if something works. I'm not sure why that's better
than just letting the users press enter on the Access logon screen, assuming
you have prevented them from changing their passwords.
>
>
> 2) The access databases and shortcut (or command file) will be on a
> network drive. This means that the pathnames will need to be common. The
> path to the database and .mdw file are not a problem as everyone will
> have the drive already networked.
> However, it occurred to me that people may have installed access in
> different places on their machines. So, if the shortcut has <path to
> access> as "C:\Program Files\Microsoft Office\Office\MSACCESS.EXE" as
> would be the default, that means that someone using the shortcut who has
>   office instaled on their D: drive wouldn't be able to use it.
>
> So, my question is, is there a way of referring to "the place where
> access is installed" in the shortcut (or the command file).
Again, I would say don't put the front-end on the server -- you will most
likely regret it later. I don't know if there is a way to locate the path of
a file via a batch file. The best thing to do is have your IS Department do
ALL installs of ALL programs on user PC's and then you will always know
where they are located.


Relevant Pages

  • Re: Desktop shortcuts dont work
    ... I don't see anything that strikes me from a security perspective. ... Since the permissions on the redirected Desktop folder seem OK, have you run that tool to check the context menu handlers? ... The other diagnostic tool you could try is filemon - start monitoring, try to access the shortcut, and see what it logs when it fails. ... The shortcut has grayed out Full Control given to Administrator and to System. ...
    (microsoft.public.windows.server.sbs)
  • Re: Security Wizard Locked ALL Dbs
    ... Username/Password for any access database I try to open ... I just want all of this security off ... Make a shortcut to your mdb file: ... Place the cursor at the far left of the Target ...
    (microsoft.public.access.security)
  • Re: ADP vs. MDB?
    ... security model regardless of what the front-end application is. ... To obtain the Developer edition of SQL Server (you need this to ... I like the fact that .adp seems to be ...
    (microsoft.public.access.adp.sqlserver)
  • Re: secured database with Access 2002 or greater on network
    ... Not sure what the /wrkgrp goes with the database or the security ... Path of database located on F: ... you'll need to modify the shortcut so that the path to Access reflects ... in the same folder as the mdb. ...
    (microsoft.public.access.security)
  • Re: Multi user enviroment - part II
    ... Let's say for the sake of discussion that I have a multi-user database ... Give the new security file an ID, note the User, Organization, and ID ... MyAppFolder with the workgroup information file used when establishing ... "You can create a shortcut and enter this syntax as the target of the ...
    (comp.databases.ms-access)