|
security
newsgroups
|
|||||||||||||||||||||||
|
|||||||||||||||||||||||
Securing divided database using workgroup (*.mdw) fileHi, I need to secure database divided to back-end (data) and front-end (user
interface), using the same workgroup file (which I have to create yet). I know, how to secure one database contained in one file, but don't know how to secure divided database. How to secure both back-end and front-end with one workgroup file? Is it possible or not? Thanks in advance for any suggestions Jarda Beran wrote:
> Hi, I need to secure database divided to back-end (data) and Every file you have opened to this point has been while using a single mdw > front-end (user interface), using the same workgroup file (which I > have to create yet). I know, how to secure one database contained in > one file, but don't know how to secure divided database. > How to secure both back-end and front-end with one workgroup file? Is > it possible or not? > Thanks in advance for any suggestions file (the default System.mdw). That should illustrate that any number of files can be opened while using any particular mdw file. If the mdw file being used requires you to log in (because it has a password on the Admin user) then you will be required to log in any time you use that mdw regardless of which file you might open. A secure file is nothing more than one which expects *certain* login credentials and typically NOT the user "Admin". Any file you create while logged into a particular mdw file will be owned by the user that you have logged in as. If you then remove all permissions to "Admin" and the group "Users" in that MDB you now have a secured file (to the extent that Access security can be called "secure"). Using that method you can create as many secured files as you like that can be accessed with that mdw file. Rememebr that mdbs and mdws are not "linked" in any way. There is a correlation only. A secured MDB expects certain user accounts and/or group memberships to allow access to the file and the objects within. An mdw file contains user accounts. Any mdw that happens to contain user accounts that "satisfy" the mdb will let you into that file. It just so happens that with an unsecured file ALL mdws satisfy that criteria and with a secured file only certain mdw files do (usually exactly one). -- Rick Brandt, Microsoft Access MVP Email (as appropriate) to... RBrandt at Hunter dot com
Show quote
Hide quote
"Rick Brandt" wrote: thank you for your advice. I tried on example database, and worked fine for > Jarda Beran wrote: > > Hi, I need to secure database divided to back-end (data) and > > front-end (user interface), using the same workgroup file (which I > > have to create yet). I know, how to secure one database contained in > > one file, but don't know how to secure divided database. > > How to secure both back-end and front-end with one workgroup file? Is > > it possible or not? > > Thanks in advance for any suggestions > > Every file you have opened to this point has been while using a single mdw > file (the default System.mdw). That should illustrate that any number of > files can be opened while using any particular mdw file. > > If the mdw file being used requires you to log in (because it has a password > on the Admin user) then you will be required to log in any time you use that > mdw regardless of which file you might open. > > A secure file is nothing more than one which expects *certain* login > credentials and typically NOT the user "Admin". > > Any file you create while logged into a particular mdw file will be owned by > the user that you have logged in as. If you then remove all permissions to > "Admin" and the group "Users" in that MDB you now have a secured file (to > the extent that Access security can be called "secure"). Using that method > you can create as many secured files as you like that can be accessed with > that mdw file. > > Rememebr that mdbs and mdws are not "linked" in any way. There is a > correlation only. A secured MDB expects certain user accounts and/or group > memberships to allow access to the file and the objects within. An mdw file > contains user accounts. Any mdw that happens to contain user accounts that > "satisfy" the mdb will let you into that file. It just so happens that with > an unsecured file ALL mdws satisfy that criteria and with a secured file > only certain mdw files do (usually exactly one). > > -- > Rick Brandt, Microsoft Access MVP > Email (as appropriate) to... > RBrandt at Hunter dot com > > > > Rick, me. It's just important to first assign full control on all objects to new group for administrators on both back-end and front-end, and then remove all permissions (including DB opening) for system created administrators and users groups. Then if anybody tries to log-in using any other *.mdw file will not have permission to open database. Is it right?
Show quote
Hide quote
"Jarda Beran" <JardaBe***@discussions.microsoft.com> wrote in message PMFJI. I think that's right as far as it goes but your custom admin account news:D339D478-3847-4A25-94E9-CA28268F480C@microsoft.com... > > > Rick, > thank you for your advice. I tried on example database, and worked fine > for > me. It's just important to first assign full control on all objects to new > group for administrators on both back-end and front-end, and then remove > all > permissions (including DB opening) for system created administrators and > users groups. Then if anybody tries to log-in using any other *.mdw file > will > not have permission to open database. > Is it right? should also be the database *owner*. You achieve this by creating a new, blank db file whilst logged onto your custom admin account and importing all objects into it. Have a look at the FAQ, link on my web site. Regards, Keith. www.keithwilby.com
Show quote
Hide quote
"Keith Wilby" wrote: I've found a lot of interesting information on your website, thank you.> "Jarda Beran" <JardaBe***@discussions.microsoft.com> wrote in message > news:D339D478-3847-4A25-94E9-CA28268F480C@microsoft.com... > > > > > > Rick, > > thank you for your advice. I tried on example database, and worked fine > > for > > me. It's just important to first assign full control on all objects to new > > group for administrators on both back-end and front-end, and then remove > > all > > permissions (including DB opening) for system created administrators and > > users groups. Then if anybody tries to log-in using any other *.mdw file > > will > > not have permission to open database. > > Is it right? > > PMFJI. I think that's right as far as it goes but your custom admin account > should also be the database *owner*. You achieve this by creating a new, > blank db file whilst logged onto your custom admin account and importing all > objects into it. Have a look at the FAQ, link on my web site. > > Regards, > Keith. > www.keithwilby.com > > Keith, I have one more question - what about linked tables? Do I have to set up permissions to the data tables for all users in the source (back-end) database, or just in the front-end? And what if I need to relink the tables? "Jarda Beran" <JardaBe***@discussions.microsoft.com> wrote in message What I do is have no user permissions to tables at all and use RWOP (run news:E69E32A9-6C68-4D81-A858-281E7CDBD562@microsoft.com... > > Keith, > I've found a lot of interesting information on your website, thank you. > I have one more question - what about linked tables? Do I have to set up > permissions to the data tables for all users in the source (back-end) > database, or just in the front-end? And what if I need to relink the > tables? with owner's permissions) queries on them. That way, as long as the user has permissions to the RWOP query, they will inherit those same permissions on the table(s). Search the help for "WITH OWNERACCESS OPTION" for more info. Regards, Keith.
Show quote
Hide quote
"Keith Wilby" wrote: I've heard about RWOP, but I'm not sure how to use it, when I have several > "Jarda Beran" <JardaBe***@discussions.microsoft.com> wrote in message > news:E69E32A9-6C68-4D81-A858-281E7CDBD562@microsoft.com... > > > > Keith, > > I've found a lot of interesting information on your website, thank you. > > I have one more question - what about linked tables? Do I have to set up > > permissions to the data tables for all users in the source (back-end) > > database, or just in the front-end? And what if I need to relink the > > tables? > > What I do is have no user permissions to tables at all and use RWOP (run > with owner's permissions) queries on them. That way, as long as the user > has permissions to the RWOP query, they will inherit those same permissions > on the table(s). Search the help for "WITH OWNERACCESS OPTION" for more > info. > > Regards, > Keith. > > Keith, tables, related to each other, and each of them is data source for one nested form. So I decided to set permissions both in back-end and front-end databases. Anyway - thank you for suggestion. Maybe, next time, I'll try RWOP. Best Regards Jaroslav
How to protect my database
Project Unviewable in Access 2007 won't open older format database Link table in another secured (.mdw) database how do I keep from plotting zero values in graphs Relationships not linked when linking tables Accessed DB from two computer One additional question about securing database Remove security system MDW File Name |
|||||||||||||||||||||||