|
security
newsgroups
|
|||||||||||||||||||||||
|
|||||||||||||||||||||||
Securing ONE databaseAll I want to do is allow users to enter the database at switchboard, click
in to a data entry form/subform and add, edit, or delete INPUTTED DATA ONLY! I do not want users to have access to update, insert, or delete data at table datasheet view. But when I disallow those functions, inputted data on form cannot be changed either. Can anyone provide moron-proof step-by-step instructions before my entire head turns grey? Much obliged. Typically, you'd take away all access to the table. Then create a query
that pulls the data you want to use. Take away all access to that query. Set the query property to "run with owner's permission". Build your form and base it on that query. For more information, do a search and read the previous posts on "RWOP". Of course, to do all of this you will have to have your database properly secured. If you try to open the database on another computer, make sure that you get an error stating that the needed workgroup file is missing. A lot of people secure a file on their computer, but then find that any one on another computer can open it. This happens when you don't follow all the steps in the security white pages. -- Show quoteHide quoteRick B "natalie" <nata***@discussions.microsoft.com> wrote in message news:FFA56EDE-D80B-4080-B353-F8E7E55589A9@microsoft.com... > All I want to do is allow users to enter the database at switchboard, > click > in to a data entry form/subform and add, edit, or delete INPUTTED DATA > ONLY! > I do not want users to have access to update, insert, or delete data at > table > datasheet view. But when I disallow those functions, inputted data on > form > cannot be changed either. Can anyone provide moron-proof step-by-step > instructions before my entire head turns grey? Much obliged. Rick,
Rick B wrote: > Typically, you'd take away all access to the table. Then create a That is not correct. You can't take away all access to the RWOP query! The > query that pulls the data you want to use. Take away all access to > that query. Set the query property to "run with owner's permission". Build > your form and base it on that query. users need at least read data permissions (and update, insert, delete permissions if needed) on the query. The RWOP means that although the user doesn't have permissions on the underlying table(s), let them run this query as though the owner is running it (i.e. the owner does have the permissions on the tables). The users still need permissions on the query object, though. -- Joan Wild Microsoft Access MVP Oops. Sorry about that. Joan is the Security wiz, so I'm glad she was
watching!! -- Show quoteHide quoteRick B "Joan Wild" <jwild@nospamtyenet.com> wrote in message news:u4jVflsbGHA.1320@TK2MSFTNGP04.phx.gbl... > Rick, > > Rick B wrote: >> Typically, you'd take away all access to the table. Then create a >> query that pulls the data you want to use. Take away all access to >> that query. Set the query property to "run with owner's permission". >> Build your form and base it on that query. > > That is not correct. You can't take away all access to the RWOP query! > The users need at least read data permissions (and update, insert, delete > permissions if needed) on the query. The RWOP means that although the > user doesn't have permissions on the underlying table(s), let them run > this query as though the owner is running it (i.e. the owner does have the > permissions on the tables). The users still need permissions on the query > object, though. > > > -- > Joan Wild > Microsoft Access MVP > If I take away access to the table and replace the data entry part with a
query, then how will my table get updated? The data entry form consists of 3 subforms and all of my other queries and reports are based on a table. And I am having the problem you discussed next: the file is secured when I open it on my computer but not when another worker opens it on theirs. I'm not sure why, though, because the file is on a network. What did you mean by following the steps in the security white pages? What are these white pages and steps and where can I find them? Thanks for all your help! It is becoming somewhat more clear. Show quoteHide quote "Rick B" wrote: > Typically, you'd take away all access to the table. Then create a query > that pulls the data you want to use. Take away all access to that query. > Set the query property to "run with owner's permission". Build your form > and base it on that query. > > For more information, do a search and read the previous posts on "RWOP". > > Of course, to do all of this you will have to have your database properly > secured. If you try to open the database on another computer, make sure > that you get an error stating that the needed workgroup file is missing. A > lot of people secure a file on their computer, but then find that any one on > another computer can open it. This happens when you don't follow all the > steps in the security white pages. > > > -- > Rick B > > > > "natalie" <nata***@discussions.microsoft.com> wrote in message > news:FFA56EDE-D80B-4080-B353-F8E7E55589A9@microsoft.com... > > All I want to do is allow users to enter the database at switchboard, > > click > > in to a data entry form/subform and add, edit, or delete INPUTTED DATA > > ONLY! > > I do not want users to have access to update, insert, or delete data at > > table > > datasheet view. But when I disallow those functions, inputted data on > > form > > cannot be changed either. Can anyone provide moron-proof step-by-step > > instructions before my entire head turns grey? Much obliged. > > > natalie wrote:
> If I take away access to the table and replace the data entry part That'll happen automatically. Your query is based on the table, edits you > with a query, then how will my table get updated? make in the query will be stored in the table. The data entry > form consists of 3 subforms and all of my other queries and reports It's a good sign that others can't open the mdb file without using the > are based on a table. And I am having the problem you discussed > next: the file is secured when I open it on my computer but not when > another worker opens it on theirs. I'm not sure why, though, because > the file is on a network. What did you mean by following the steps > in the security white pages? What are these white pages and steps and > where can I find them? > Thanks for all your help! It is becoming somewhat more clear. correct workgroup. Resources: Security FAQ http://support.microsoft.com/?id=207793 Security Whitepaper http://support.microsoft.com/?id=148555 Although the whitepaper is old, it contains information to help you understand security. I've also outlined the detailed steps at www.jmwild.com/AccessSecurity.htm -- Joan Wild Microsoft Access MVP
Netowrk use can't open database
dsn-less connection Access 2003 logon question Help - Security Issue - File already in Use Making mdb read-only after appending tables Please help with 3033 Permissions on Form per Page Newbie question! Workgroup Administrator Question Secrity applications that run on USB flash drive |
|||||||||||||||||||||||