PC Review


Reply
Thread Tools Rate Thread

Securing a database in code

 
 
Adam
Guest
Posts: n/a
 
      21st Aug 2003
I would like to secure a database with my own VBA code, rather than going
through the security wizard. Could anyone point me in the right direction
please?

Many thanks

--
Adam

(remove 'nospam.' from email address to reply)


 
Reply With Quote
 
 
 
 
SBD
Guest
Posts: n/a
 
      21st Aug 2003
You need to define what you mean by security more
compeletly. There are a number of things you can do.
Generally, what I do is capture the users network logon ID
and compare that to a table with access rights. that table
would have fields for user name, login ID, and access
level. I then use a DLookup to check their access level
and setup access to forms and menus based on it.

Scott<>
>-----Original Message-----
>I would like to secure a database with my own VBA code,

rather than going
>through the security wizard. Could anyone point me in the

right direction
>please?
>
>Many thanks
>
>--
>Adam
>
>(remove 'nospam.' from email address to reply)
>
>
>.
>

 
Reply With Quote
 
Adam
Guest
Posts: n/a
 
      22nd Aug 2003
Sorry, yes I should have been more specific.

What I want to do is to secure the database in the same way that the
security wizard does: in other words, to encrypt the database and allow
access only to users who log on to it with user names and passwords as
specified in the workgroup information file. I am happy to set up the
workgroup information file manually, and I know how to fine tune the
permissions in code (ie allow or disallow access to specific tables, forms
etc to specific users). The part I am struggling with is the bit where the
database gets encrypted in the first place.

Adam


"SBD" <(E-Mail Removed)> wrote in message
news:018601c3680c$f534f290$(E-Mail Removed)...
> You need to define what you mean by security more
> compeletly. There are a number of things you can do.
> Generally, what I do is capture the users network logon ID
> and compare that to a table with access rights. that table
> would have fields for user name, login ID, and access
> level. I then use a DLookup to check their access level
> and setup access to forms and menus based on it.
>
> Scott<>
> >-----Original Message-----
> >I would like to secure a database with my own VBA code,

> rather than going
> >through the security wizard. Could anyone point me in the

> right direction
> >please?
> >
> >Many thanks
> >
> >--
> >Adam
> >
> >(remove 'nospam.' from email address to reply)
> >
> >
> >.
> >



 
Reply With Quote
 
 
 
Reply

Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Securing Database =?Utf-8?B?U2FuZHk=?= Microsoft Access Security 12 21st Jan 2006 06:29 AM
Securing a Database Steven Microsoft Access Security 2 7th Jan 2004 03:15 AM
Securing a Database JoeGriffin Microsoft Access 1 7th Nov 2003 12:32 PM
Re: Code for securing a database Tim Ferguson Microsoft Access VBA Modules 0 27th Aug 2003 07:47 PM
Securing a database in code Adam Microsoft Access Security 0 26th Aug 2003 10:36 AM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 08:24 PM.