secure db in Access 97 
Author Message
 secure db in Access 97

How to forbid  tables and queries creation in Access 97? Files.mde and
security wizard don't provide the right solution ( you can create tables and
query,anyway).
I know that an utility exists, but  for Access 2000 and besides I tried this
code but with no result ( I'm sure I'm using it in the wrong way).

Function faq_NoNew (strUser as String)

       Dim db As Database
       Dim con As Container

       Set db = DBEngine(0)(0)
       Set con = db.Containers("Tables")
       con.UserName = strUser
       con.Permissions = con.Permissions And Not dbSecCreate
   End Function

In particular, I don't know what exactly write instead of "strUser as
String" and "strUser";
have I to compile this code with an AutoExec Macro?
If you can help me, please do it.
Regards



Thu, 13 May 2004 22:17:18 GMT  
 secure db in Access 97

Quote:

>How to forbid  tables and queries creation in Access 97? Files.mde and
>security wizard don't provide the right solution ( you can create tables and
>query,anyway).

If security is set up correctly, the user will NOT be able to create
anything.

----------------
Richard "ManxMan" Killey

www.comeandread.com/access

visit my site for tips



Fri, 14 May 2004 09:35:32 GMT  
 secure db in Access 97

Quote:
> If security is set up correctly, the user will NOT be able to create
> anything.

Can you tell me how, please?


Fri, 14 May 2004 13:21:25 GMT  
 
 [ 4 post ] 

 Relevant Pages 

1. Using a Data Control in VB5 accessing a user-level secure Access 97 DB

2. Open a secured MS Access 97 db in VBScript

3. accessing records in one secure DB from another secure DB - programatically

4. Convert Access 97 db to Access 2000 db in VB6

5. Converting Access 2.0 DB to Access 97 DB in VB code

6. Access to a Secured Access 97 Database

7. Access 97 secure backend password

8. Secure Access 97 database file from students?

9. ADO with secured Access 97 database?

10. Secure Access 97 database file from students?

11. ADO with secured Access 97 database?

12. Secure Access 97 database file from students?

 

 
Powered by phpBB® Forum Software