R
robboll
In MS Access 2003 What are some methods of restricting users to only
see their data in a shared database? Or if in SQL Server 2000 (or
2005) is this functionality available?
What I am doing now: I have a login form that has a dropdown for the
users. In the code behind the form is a case statement with hard-
coded passwords. If the password fails, it tells the user that the
authentication failed -- otherwise it opens up a main menu. The main
menu uses the user name from the login form to filter by form -- so
that the user only sees his data. Obviously all design options are
turned off and the form made into an MDE.
Okay -- shooting down my own method, I could by-pass the form and link
to the data with a new database. Even if I use a workgroup the user
links to the database with his workgroup password. He is able to
bypass the log-in form and can see everyone's data.
What I am looking for is row-level security and this Access method
would work if I could restrict the ability to link to the database --
password or no password. Any suggestions for this one.
Thanks,
RBolling
see their data in a shared database? Or if in SQL Server 2000 (or
2005) is this functionality available?
What I am doing now: I have a login form that has a dropdown for the
users. In the code behind the form is a case statement with hard-
coded passwords. If the password fails, it tells the user that the
authentication failed -- otherwise it opens up a main menu. The main
menu uses the user name from the login form to filter by form -- so
that the user only sees his data. Obviously all design options are
turned off and the form made into an MDE.
Okay -- shooting down my own method, I could by-pass the form and link
to the data with a new database. Even if I use a workgroup the user
links to the database with his workgroup password. He is able to
bypass the log-in form and can see everyone's data.
What I am looking for is row-level security and this Access method
would work if I could restrict the ability to link to the database --
password or no password. Any suggestions for this one.
Thanks,
RBolling