I would like to set all forms in my db with different permission for each group and each form, is it possible to do it using code?
Any help will be appreciated.
A better (and easier) solution is to use the Access security feature. (Tools, Security)
You can create groups having the permissions you want to give, then create user accounts and assign the users to the groups based on the permissions you want them to have.
You should also create a workgroup file to control access to the db.
The details are too lengthy to go into here, but there is a FAQ in this section that links to Microsofts site on the Security Topic. If you are interested in protecting your application this is well worth reading.
Hope this helps.
Larry De Laruelle
larry1de@yahoo.com
Joe,
It is certainly possible. Since it is generally only done once per group/form, I wouldn't recommend it.
First, it would take more time to set up the code than to just set the permissions (Manually).
Second, you would be left with a "Copy" of the permissions - and a road map for the 'world' as to how to change them more-or-less at their convenience.
Thrid, you will have created an additional "Maintenance" issue, since you could change the permissions either in the security manager or in your "code" (and/or any table(s) you might create in/for the process.
Like the tic-tac ad says,
" ... yes, but I wouldn't recommend it ... "
MichaelRed
redmsp@erols.com
There is never time to do it right but there is always time to do it over
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.