[x]
Posted via EE Mobile

Search, ask, and monitor your questions on the go with EE Mobile. Visit Experts Exchange from your mobile device and never be out of touch again.

Question
[x]
Attachment Details
[x]
The Solution Rating System

With so many solutions, how can you tell which solutions are most likely to help you and which ones are not? To provide you with a tool to use, we rate our solutions based on various elements that most accurately determine if a solution is a quality solution. To explain what factors affect the solution rating, here are the elements we take into consideration when formulating our solution rating.

  • The Grade of the Solution
  • The Zone Rank of the Expert Providing the Solution
  • The Number of Author and Expert Comments
  • The Number of Experts Contributing
  • The Feedback of the Community

Your Input Matters
Because of the way the system is set up, the most important variable in this equation is you. As a member of Experts Exchange, you are able to cast your vote on the quality of the solutions in regard to how complete, accurate, helpful and easy to understand each solution is. When you provide your feedback, each rating is adjusted accordingly. So, if you see a solution that has a poor rating that you think is a good solution, let us know by rating it. As you do, the rating will be adjusted and will become more accurate for other members of our site.

If you have any suggestions that you would like to make for our rating system, please ask a question in the Suggestions Zone of Community Support.

Thank you!

6.6

Access 2000 DAO Security

Asked by Gudare in Microsoft Access Database

Tags: dbseccreate

Short version: Does Jet Engine 4.0 automatically reset the User's dbSecCreate property on the Tables Container, in contrast to Jet 3.5? If so, I need documentation of this, do you know where to find any?

(I currently have a blurb from the Sybex Access 2000 Developer's Handbook Volume:2 stating it can't be done, but it doesn't say a) Why? and b) What changed?, which would be preferable)

Long Version to recreate:
Secure your database, then create 'TestUser'. Leave the TestUser in the Users group only.

Strip all permissions to all tables from TestUser and Users group, just to be sure (not entirely necessary for test but you'll see where I'm going shortly).

Head to a module and turn on DAO 3.6.

Drop the following code in:
Sub Main()

     Dim db as DAO.Database
     Dim cnt as DAO.Container

     Set db = CurrentDB()
     Set cnt = db.Containers("Tables")

     cnt.UserName = "Users"
     Debug.Print "Users Before Change: " & cnt.Permissions
     cnt.Permissions = cnt.Permissions AND Not dbSecCreate
     Debug.Print "Users After Change: " & cnt.Permissions
     db.Containers.Refresh
     Debug.Print "Users After Refresh: " & cnt.Permissions

     cnt.UserName = "TestUser"
     Debug.Print "TestUser Before Change: " & cnt.Permissions
     cnt.Permissions = cnt.Permissions AND Not dbSecCreate
     Debug.Print "TestUser After Change: " & cnt.Permissions
     db.Containers.Refresh
     Debug.Print "TestUser After Refresh: " & cnt.Permissions

     Set cnt = Nothing
     Set db = Nothing

End Sub

If you review the Debug Window, it appears to be turned off, successfully, as you'd expect.

Now, head to your database window and attempt to create a new table or query.

You will be Successful.

With the old Jet 3.5 (Access 97) Engine, you were locked out of the ability to create these. Forms/Reports/Modules/Macros were not locked in 97, but that was dealt with via usage of .mde.

Can I remove the ability to open exclusive and not save the query/table? Yes. My issue is protecting the data in 'With Owner Access' queries that can be bypassed by creating a temporary query (unsaved) allowing modification of that data *by the user*, which I wish to disallow.

Immediate assistance on this issue would be extremely helpful, I'm staring at a project release date that this needs to be dealt with for.

Thanks in advance.

-Craig
[+][-]05/22/02 11:22 AM, ID: 7027821Accepted Solution

View this solution now by starting your 30-day free trial. Setting up your free trial is quick, easy, and secure. We will return you to this solution, unlocked, when you're done.

About this solution

Zone: Microsoft Access Database
Tags: dbseccreate
Sign Up Now!
Solution Provided By: Netminder
Participating Experts: 3
Solution Grade: A
 
[+][-]11/21/01 11:24 AM, ID: 6648416Expert Comment

At Experts Exchange, members can ask their questions to thousands of technology professionals, also known as Experts. Experts compete and collaborate to answer those questions by leaving comments like this one.

Start your 30-day free trial to view this Expert Comment or ask the Experts your question.

 
[+][-]11/21/01 11:59 AM, ID: 6648493Author Comment

Often, when Experts are collaborating with members who have asked questions, they will request additional information about the problem. Askers respond with an author comment like this one.

Start your 30-day free trial to view this Author Comment or ask the Experts your question.

 
[+][-]11/21/01 12:03 PM, ID: 6648499Expert Comment

At Experts Exchange, members can ask their questions to thousands of technology professionals, also known as Experts. Experts compete and collaborate to answer those questions by leaving comments like this one.

Start your 30-day free trial to view this Expert Comment or ask the Experts your question.

 
[+][-]11/21/01 12:04 PM, ID: 6648503Expert Comment

At Experts Exchange, members can ask their questions to thousands of technology professionals, also known as Experts. Experts compete and collaborate to answer those questions by leaving comments like this one.

Start your 30-day free trial to view this Expert Comment or ask the Experts your question.

 
[+][-]11/21/01 12:07 PM, ID: 6648514Expert Comment

At Experts Exchange, members can ask their questions to thousands of technology professionals, also known as Experts. Experts compete and collaborate to answer those questions by leaving comments like this one.

Start your 30-day free trial to view this Expert Comment or ask the Experts your question.

 
[+][-]11/21/01 12:29 PM, ID: 6648574Author Comment

Often, when Experts are collaborating with members who have asked questions, they will request additional information about the problem. Askers respond with an author comment like this one.

Start your 30-day free trial to view this Author Comment or ask the Experts your question.

 
[+][-]11/21/01 12:36 PM, ID: 6648591Expert Comment

At Experts Exchange, members can ask their questions to thousands of technology professionals, also known as Experts. Experts compete and collaborate to answer those questions by leaving comments like this one.

Start your 30-day free trial to view this Expert Comment or ask the Experts your question.

 
[+][-]11/21/01 12:44 PM, ID: 6648616Author Comment

Often, when Experts are collaborating with members who have asked questions, they will request additional information about the problem. Askers respond with an author comment like this one.

Start your 30-day free trial to view this Author Comment or ask the Experts your question.

 
[+][-]11/21/01 12:49 PM, ID: 6648629Expert Comment

At Experts Exchange, members can ask their questions to thousands of technology professionals, also known as Experts. Experts compete and collaborate to answer those questions by leaving comments like this one.

Start your 30-day free trial to view this Expert Comment or ask the Experts your question.

 
[+][-]01/07/02 04:57 PM, ID: 6716555Author Comment

Often, when Experts are collaborating with members who have asked questions, they will request additional information about the problem. Askers respond with an author comment like this one.

Start your 30-day free trial to view this Author Comment or ask the Experts your question.

 
[+][-]05/11/02 05:50 AM, ID: 7003096Expert Comment

At Experts Exchange, members can ask their questions to thousands of technology professionals, also known as Experts. Experts compete and collaborate to answer those questions by leaving comments like this one.

Start your 30-day free trial to view this Expert Comment or ask the Experts your question.

 
 
Loading Advertisement...
20091111-EE-VQP-92