Share via

How to Protect SQL view?

Anonymous
2010-12-21T16:29:43+00:00

Hello,

I have a query built in SQL view. I have people look in my SQL view and mess with my SQL code.

Is there a way to protect the SQL view (like password) so that you need the right password to look/ modify the SQL view? Thanks

Microsoft 365 and Office | Access | For home | Windows

Locked Question. This question was migrated from the Microsoft Support Community. You can vote on whether it's helpful, but you can't add comments or replies or follow the question.

0 comments No comments

3 answers

Sort by: Most helpful
  1. Anonymous
    2010-12-21T17:10:22+00:00

    Distribute your db Front-end as an MDE and use and AutoExec macro to run some code to hide the Object Browser.  Then your user will only have access to what you want them to have access to (ie: forms and reports).


    Daniel Pineault, 2010 Microsoft MVP

    http://www.cardaconsultants.com

    MS Access Tips and Code Samples: http://www.devhut.net

    Was this answer helpful?

    1 person found this answer helpful.
    0 comments No comments
  2. Anonymous
    2010-12-21T17:12:27+00:00

    Distribute your db Front-end as an MDE and use and AutoExec macro to run some code to hide the Object Browser.  Then your user will only have access to what you want them to have access to (ie: forms and reports).

     

    Still have to disable the F11 key as well, or else they can get to the database window and open and modify the queries.


    Bob Larson, Former Access MVP (2008-2010)

    Was this answer helpful?

    0 comments No comments
  3. Anonymous
    2010-12-21T16:50:06+00:00

    No, not really.  But the best way is to not let users get to the database window to begin with.  Lock them out using several features including removing the Shift Bypass Key and disabling the F11 key by unchecking the USE ACCESS SPECIAL KEYS in the startup options.

    Oh, and you should work with forms and not in queries.  With forms you can protect things much better.  But if they have a query open, they can go into the design view fairly easily.


    Bob Larson, Former Access MVP (2008-2010)

    Was this answer helpful?

    0 comments No comments