PC Review


Reply
Thread Tools Rate Thread

Copying security to new mdb

 
 
=?Utf-8?B?QmVhZ2xlV2lsbGll?=
Guest
Posts: n/a
 
      25th Aug 2005
I would like to create a database for which I am the owner, then copy or
import the user security from an existing mdw. Can it be done without
manually entering all of the users and permissions?
 
Reply With Quote
 
 
 
 
Jeff Conrad
Guest
Posts: n/a
 
      25th Aug 2005
Well you don't actually copy the permissions from the MDW file,
you copy them from the MDB file. Only Users and Groups info
is stored in the MDW.

You can script out the permissions using MVP Sandra Daigle's
code here:

http://www.daiglenet.com/msaccess.htm

Look for DBUtilities 1.0 and DBUtilities 1.1 about half way
down the page.

I rolled elements of that code into an add-in that will automate
the whole procedure. The add-in is on the same page at the
top. Look for the first two files and download the version you
need. Read the instructions carefully and make sure you make
backups before beginning.

Neither of these utilities will copy out users and groups from
the MDW file. You'll probably need to do that manually.

Good luck,
--
Jeff Conrad
Access Junkie - MVP
http://home.bendbroadband.com/conrad...essjunkie.html
http://www.access.qbuilt.com/html/articles.html

"BeagleWillie" wrote in message:
news:2C7D996A-B19B-4CAF-A3EA-(E-Mail Removed)...

> I would like to create a database for which I am the owner, then copy or
> import the user security from an existing mdw. Can it be done without
> manually entering all of the users and permissions?



 
Reply With Quote
 
=?Utf-8?B?QmVhZ2xlV2lsbGll?=
Guest
Posts: n/a
 
      26th Aug 2005
Thanks Jeff. I really wanted to get the users and groups as well. If you
open a new db after having logged in via workgroup, the users and groups are
included in the new db, but you can't change the owner of the db. My real
goal is to have the new db with the same users, groups, and permissions, but
with a new owner.

Thanks.

Greg

"Jeff Conrad" wrote:

> Well you don't actually copy the permissions from the MDW file,
> you copy them from the MDB file. Only Users and Groups info
> is stored in the MDW.
>
> You can script out the permissions using MVP Sandra Daigle's
> code here:
>
> http://www.daiglenet.com/msaccess.htm
>
> Look for DBUtilities 1.0 and DBUtilities 1.1 about half way
> down the page.
>
> I rolled elements of that code into an add-in that will automate
> the whole procedure. The add-in is on the same page at the
> top. Look for the first two files and download the version you
> need. Read the instructions carefully and make sure you make
> backups before beginning.
>
> Neither of these utilities will copy out users and groups from
> the MDW file. You'll probably need to do that manually.
>
> Good luck,
> --
> Jeff Conrad
> Access Junkie - MVP
> http://home.bendbroadband.com/conrad...essjunkie.html
> http://www.access.qbuilt.com/html/articles.html
>
> "BeagleWillie" wrote in message:
> news:2C7D996A-B19B-4CAF-A3EA-(E-Mail Removed)...
>
> > I would like to create a database for which I am the owner, then copy or
> > import the user security from an existing mdw. Can it be done without
> > manually entering all of the users and permissions?

>
>
>

 
Reply With Quote
 
Joan Wild
Guest
Posts: n/a
 
      26th Aug 2005
BeagleWillie wrote:
> Thanks Jeff. I really wanted to get the users and groups as well.
> If you open a new db after having logged in via workgroup, the users
> and groups are included in the new db, but you can't change the owner
> of the db. My real goal is to have the new db with the same users,
> groups, and permissions, but with a new owner.


Just create a new db while logged in as the new owner. Then import all the
objects and copy the permissions over.

--
Joan Wild
Microsoft Access MVP



 
Reply With Quote
 
Jeff Conrad
Guest
Posts: n/a
 
      26th Aug 2005
"BeagleWillie" wrote in message:
news:0D572D1C-DF24-48DE-8E1E-(E-Mail Removed)...

> Thanks Jeff. I really wanted to get the users and groups as well. If you
> open a new db after having logged in via workgroup, the users and groups are
> included in the new db, but you can't change the owner of the db. My real
> goal is to have the new db with the same users, groups, and permissions, but
> with a new owner.


Well the users and groups are not "included" in the new DB per se.
The MDW file holds all of the users and groups information. You
can *utilize* those users and groups with the database that is
currently open (assuming of course they have sufficient permissions).

Just follow Joan's advice and create a new database with the Owner,
import all the objects to own them, and then transfer the permissions.
Make sure you have lots of backups as well before beginning.

--
Jeff Conrad
Access Junkie - MVP
http://home.bendbroadband.com/conrad...essjunkie.html
http://www.access.qbuilt.com/html/articles.html


 
Reply With Quote
 
TC
Guest
Posts: n/a
 
      27th Aug 2005
You can script-out the user and group /names/, but you can not get the
PID values that were used to create them originally, so you can not
recreate the users & groups through code, using any normal method.

HTH,
TC

 
Reply With Quote
 
=?Utf-8?B?QmVhZ2xlV2lsbGll?=
Guest
Posts: n/a
 
      29th Aug 2005
OK thanks all. I suspected it couldn't be done, but wanted to ask. There is
a commercial app called JAM that may do it.

Greg

"TC" wrote:

> You can script-out the user and group /names/, but you can not get the
> PID values that were used to create them originally, so you can not
> recreate the users & groups through code, using any normal method.
>
> HTH,
> TC
>
>

 
Reply With Quote
 
 
 
Reply

Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Copying a database, how do I change security? David Portwood Microsoft Access 4 9th Dec 2007 09:10 AM
copying security file HELP =?Utf-8?B?amFtZXM=?= Windows XP Configuration 0 19th Sep 2006 08:53 PM
Copying access file with user level security =?Utf-8?B?RXlhbCBTZW1v?= Microsoft Access Database Table Design 1 11th Jan 2006 02:41 PM
Copying Security Permissions - XP Pro SP2 (NTFS) MarkC Windows XP Security 5 14th Jun 2005 05:44 AM
copying security permissions Dan Microsoft Windows 2000 Security 1 12th May 2004 09:14 PM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 08:33 AM.