PC Review


Reply
Thread Tools Rate Thread

Re: Can I password a query or table in an Access db?

 
 
'69 Camaro
Guest
Posts: n/a
 
      13th Sep 2004
> Is it possible to password protect a specific table or query in an Access
> database?


Yes. Place that specific table or query in an Access database that has
either user-level or shared-level security applied. The user must use a
password to open that database.

This probably isn't the answer you were hoping for, but if the user can
access the database window in the current database, then the table or query
will immediately open without any interference on the developer's part, as
long as the user has appropriate security permissions assigned, even if the
table is linked to a password-protected database. If the user doesn't have
appropriate security permissions for the object, then the user will receive
an error message stating this. There's no way for the developer to
interject a password to hinder the user.

HTH.

Gunny

See http://www.QBuilt.com for all your database needs.
See http://www.Access.QBuilt.com for Microsoft Access tips.

(Please remove ZERO_SPAM from my reply E-mail address, so that a message
will be forwarded to me.)


"SusieC" <(E-Mail Removed)> wrote in message
news:770AD1DB-A2C2-4FB4-B08A-(E-Mail Removed)...
> Is it possible to password protect a specific table or query in an Access
> database?



 
Reply With Quote
 
 
 
 
'69 Camaro
Guest
Posts: n/a
 
      15th Sep 2004
Hi, Susie.

You're welcome!

> this sentence intrigued me: If the user doesn't have
> appropriate security permissions for the object...


You've got the idea. If user-level security is applied to an object, then
users who don't have permissions will be unable to open that object, even if
they can see the object's name in the database window and double-click on
it, so there's no need for a separate password.

Gunny

See http://www.QBuilt.com for all your database needs.
See http://www.Access.QBuilt.com for Microsoft Access tips.

(Please remove ZERO_SPAM from my reply E-mail address, so that a message
will be forwarded to me.)


"Susie C" <Susie (E-Mail Removed)> wrote in message
news88CDFD1-4284-43A6-A748-(E-Mail Removed)...
> Thank you.....this sentence intrigued me: If the user doesn't have
> > appropriate security permissions for the object...

> I will see about this solution.
> Thank you!
> "'69 Camaro" wrote:
>
> > > Is it possible to password protect a specific table or query in an

Access
> > > database?

> >
> > Yes. Place that specific table or query in an Access database that has
> > either user-level or shared-level security applied. The user must use a
> > password to open that database.
> >
> > This probably isn't the answer you were hoping for, but if the user can
> > access the database window in the current database, then the table or

query
> > will immediately open without any interference on the developer's part,

as
> > long as the user has appropriate security permissions assigned, even if

the
> > table is linked to a password-protected database. If the user doesn't

have
> > appropriate security permissions for the object, then the user will

receive
> > an error message stating this. There's no way for the developer to
> > interject a password to hinder the user.
> >
> > HTH.
> >
> > Gunny
> >
> > See http://www.QBuilt.com for all your database needs.
> > See http://www.Access.QBuilt.com for Microsoft Access tips.
> >
> > (Please remove ZERO_SPAM from my reply E-mail address, so that a message
> > will be forwarded to me.)
> >
> >
> > "SusieC" <(E-Mail Removed)> wrote in message
> > news:770AD1DB-A2C2-4FB4-B08A-(E-Mail Removed)...
> > > Is it possible to password protect a specific table or query in an

Access
> > > database?

> >
> >
> >



 
Reply With Quote
 
=?Utf-8?B?QW5kZXJzb24=?=
Guest
Posts: n/a
 
      31st Jan 2005
Thanks for asking that question Susie C!

Hi "69 Camaro".
This question pertains to the same problem that I'm having, but I have one
more question for you. The table that we are using to update information will
be on a shared drive; we have the user files setup and the password. The
problem is, when I am updating information in the table and then one of my
co-workers come onto the same database and goes into the same tables that I’m
in to update it…it doesn’t tell them that I’m in the file already…it just
lets them come right in table and start typing away. We switched from Excel
to Access to prevent duplicates like this...do you have any suggestions for
me?

T. Anderson

"'69 Camaro" wrote:

> Hi, Susie.
>
> You're welcome!
>
> > this sentence intrigued me: If the user doesn't have
> > appropriate security permissions for the object...

>
> You've got the idea. If user-level security is applied to an object, then
> users who don't have permissions will be unable to open that object, even if
> they can see the object's name in the database window and double-click on
> it, so there's no need for a separate password.
>
> Gunny
>
> See http://www.QBuilt.com for all your database needs.
> See http://www.Access.QBuilt.com for Microsoft Access tips.
>
> (Please remove ZERO_SPAM from my reply E-mail address, so that a message
> will be forwarded to me.)
>
>
> "Susie C" <Susie (E-Mail Removed)> wrote in message
> news88CDFD1-4284-43A6-A748-(E-Mail Removed)...
> > Thank you.....this sentence intrigued me: If the user doesn't have
> > > appropriate security permissions for the object...

> > I will see about this solution.
> > Thank you!
> > "'69 Camaro" wrote:
> >
> > > > Is it possible to password protect a specific table or query in an

> Access
> > > > database?
> > >
> > > Yes. Place that specific table or query in an Access database that has
> > > either user-level or shared-level security applied. The user must use a
> > > password to open that database.
> > >
> > > This probably isn't the answer you were hoping for, but if the user can
> > > access the database window in the current database, then the table or

> query
> > > will immediately open without any interference on the developer's part,

> as
> > > long as the user has appropriate security permissions assigned, even if

> the
> > > table is linked to a password-protected database. If the user doesn't

> have
> > > appropriate security permissions for the object, then the user will

> receive
> > > an error message stating this. There's no way for the developer to
> > > interject a password to hinder the user.
> > >
> > > HTH.
> > >
> > > Gunny
> > >
> > > See http://www.QBuilt.com for all your database needs.
> > > See http://www.Access.QBuilt.com for Microsoft Access tips.
> > >
> > > (Please remove ZERO_SPAM from my reply E-mail address, so that a message
> > > will be forwarded to me.)
> > >
> > >
> > > "SusieC" <(E-Mail Removed)> wrote in message
> > > news:770AD1DB-A2C2-4FB4-B08A-(E-Mail Removed)...
> > > > Is it possible to password protect a specific table or query in an

> Access
> > > > database?
> > >
> > >
> > >

>
>
>

 
Reply With Quote
 
=?Utf-8?B?QW5kZXJzb24=?=
Guest
Posts: n/a
 
      31st Jan 2005
P.S.
I bumped into an option that is called "Default Record Locking" under the
options tab. Will this be helpful to me? To lock the query and have people
update the query instead of the table? Do you happen to know the Pros and
Cons of using this option?

Thanks again!
T.

"Anderson" wrote:

> Thanks for asking that question Susie C!
>
> Hi "69 Camaro".
> This question pertains to the same problem that I'm having, but I have one
> more question for you. The table that we are using to update information will
> be on a shared drive; we have the user files setup and the password. The
> problem is, when I am updating information in the table and then one of my
> co-workers come onto the same database and goes into the same tables that I’m
> in to update it…it doesn’t tell them that I’m in the file already…it just
> lets them come right in table and start typing away. We switched from Excel
> to Access to prevent duplicates like this...do you have any suggestions for
> me?
>
> T. Anderson
>
> "'69 Camaro" wrote:
>
> > Hi, Susie.
> >
> > You're welcome!
> >
> > > this sentence intrigued me: If the user doesn't have
> > > appropriate security permissions for the object...

> >
> > You've got the idea. If user-level security is applied to an object, then
> > users who don't have permissions will be unable to open that object, even if
> > they can see the object's name in the database window and double-click on
> > it, so there's no need for a separate password.
> >
> > Gunny
> >
> > See http://www.QBuilt.com for all your database needs.
> > See http://www.Access.QBuilt.com for Microsoft Access tips.
> >
> > (Please remove ZERO_SPAM from my reply E-mail address, so that a message
> > will be forwarded to me.)
> >
> >
> > "Susie C" <Susie (E-Mail Removed)> wrote in message
> > news88CDFD1-4284-43A6-A748-(E-Mail Removed)...
> > > Thank you.....this sentence intrigued me: If the user doesn't have
> > > > appropriate security permissions for the object...
> > > I will see about this solution.
> > > Thank you!
> > > "'69 Camaro" wrote:
> > >
> > > > > Is it possible to password protect a specific table or query in an

> > Access
> > > > > database?
> > > >
> > > > Yes. Place that specific table or query in an Access database that has
> > > > either user-level or shared-level security applied. The user must use a
> > > > password to open that database.
> > > >
> > > > This probably isn't the answer you were hoping for, but if the user can
> > > > access the database window in the current database, then the table or

> > query
> > > > will immediately open without any interference on the developer's part,

> > as
> > > > long as the user has appropriate security permissions assigned, even if

> > the
> > > > table is linked to a password-protected database. If the user doesn't

> > have
> > > > appropriate security permissions for the object, then the user will

> > receive
> > > > an error message stating this. There's no way for the developer to
> > > > interject a password to hinder the user.
> > > >
> > > > HTH.
> > > >
> > > > Gunny
> > > >
> > > > See http://www.QBuilt.com for all your database needs.
> > > > See http://www.Access.QBuilt.com for Microsoft Access tips.
> > > >
> > > > (Please remove ZERO_SPAM from my reply E-mail address, so that a message
> > > > will be forwarded to me.)
> > > >
> > > >
> > > > "SusieC" <(E-Mail Removed)> wrote in message
> > > > news:770AD1DB-A2C2-4FB4-B08A-(E-Mail Removed)...
> > > > > Is it possible to password protect a specific table or query in an

> > Access
> > > > > database?
> > > >
> > > >
> > > >

> >
> >
> >

 
Reply With Quote
 
'69 Camaro
Guest
Posts: n/a
 
      31st Jan 2005
Hi.

> > The
> > problem is, when I am updating information in the table and then one of

my
> > co-workers come onto the same database and goes into the same tables

that I'm
> > in to update it.it doesn't tell them that I'm in the file already.it

just
> > lets them come right in table and start typing away.


Access is designed to be used in a multiuser environment. Jet won't let
more than one user edit the same record at the same time, so you don't need
to worry about loss of data integrity. The other user may edit other
records while you edit your own record in the same table.

> > do you have any suggestions for
> > me?


If you want all other users to stay out of the database while you are using
it, then open it in exclusive mode. Other users will be warned that the
database is locked by 'UserName' on 'ComputerName' and won't be able to open
the database again until you close it. If you want to just keep the other
users out of any table while you edit it, then allow everyone to open the
database in shared mode, but set the default record locking option to "All
records." This will be rather constricting, though, because this applies to
all tables in the database, not just one. All other users will be locked
out of any table while one person edits it.

> I bumped into an option that is called "Default Record Locking" under the
> options tab. Will this be helpful to me?


Perhaps. The default record locking option will allow you to set the record
locking scheme to optimistic locking (No locks), pessimistic locking (Edited
record), and table-level locking (All records). As mentioned above, the
table-level locking will lock other users out of the entire table while you
edit it. The optimistic locking is the least restrictive and doesn't lock
the record until the record is actually saved. Pessimistic locking locks
the record immediately when a user starts to edit the record and doesn't
release the lock until the record is saved. The more users using the table,
the more often records are locked, which seriously limits the database
performance and aggravates users.

"Open database using record-level locking" option is available in Access 2K
and newer versions. It can be set to record-level locking instead of
page-level locking, as long as DAO is not being used and the first computer
that connects to the database has this option set on record-level. All
others that connect to the database afterwards will use the same setting
while the database is open, regardless of what their own settings are.

> To lock the query and have people
> update the query instead of the table?


One cannot lock a query. The query is based upon the records in the table
or tables. When the SELECT query is updated, the records in the tables are
updated.

> Do you happen to know the Pros and
> Cons of using this option?


Pros and cons are listed above, but they apply to the tables where the
records are stored, not queries, because queries don't store records.

HTH.

Gunny

See http://www.QBuilt.com for all your database needs.
See http://www.Access.QBuilt.com for Microsoft Access tips.

(Please remove ZERO_SPAM from my reply E-mail address, so that a message
will be forwarded to me.)


"Anderson" <(E-Mail Removed)> wrote in message
news:E54FA5E7-91EA-4833-BB53-(E-Mail Removed)...
> P.S.
> I bumped into an option that is called "Default Record Locking" under the
> options tab. Will this be helpful to me? To lock the query and have people
> update the query instead of the table? Do you happen to know the Pros and
> Cons of using this option?
>
> Thanks again!
> T.
>
> "Anderson" wrote:
>
> > Thanks for asking that question Susie C!
> >
> > Hi "69 Camaro".
> > This question pertains to the same problem that I'm having, but I have

one
> > more question for you. The table that we are using to update information

will
> > be on a shared drive; we have the user files setup and the password. The
> > problem is, when I am updating information in the table and then one of

my
> > co-workers come onto the same database and goes into the same tables

that I'm
> > in to update it.it doesn't tell them that I'm in the file already.it

just
> > lets them come right in table and start typing away. We switched from

Excel
> > to Access to prevent duplicates like this...do you have any suggestions

for
> > me?
> >
> > T. Anderson
> >
> > "'69 Camaro" wrote:
> >
> > > Hi, Susie.
> > >
> > > You're welcome!
> > >
> > > > this sentence intrigued me: If the user doesn't have
> > > > appropriate security permissions for the object...
> > >
> > > You've got the idea. If user-level security is applied to an object,

then
> > > users who don't have permissions will be unable to open that object,

even if
> > > they can see the object's name in the database window and double-click

on
> > > it, so there's no need for a separate password.
> > >
> > > Gunny
> > >
> > > See http://www.QBuilt.com for all your database needs.
> > > See http://www.Access.QBuilt.com for Microsoft Access tips.
> > >
> > > (Please remove ZERO_SPAM from my reply E-mail address, so that a

message
> > > will be forwarded to me.)
> > >
> > >
> > > "Susie C" <Susie (E-Mail Removed)> wrote in message
> > > news88CDFD1-4284-43A6-A748-(E-Mail Removed)...
> > > > Thank you.....this sentence intrigued me: If the user doesn't have
> > > > > appropriate security permissions for the object...
> > > > I will see about this solution.
> > > > Thank you!
> > > > "'69 Camaro" wrote:
> > > >
> > > > > > Is it possible to password protect a specific table or query in

an
> > > Access
> > > > > > database?
> > > > >
> > > > > Yes. Place that specific table or query in an Access database

that has
> > > > > either user-level or shared-level security applied. The user must

use a
> > > > > password to open that database.
> > > > >
> > > > > This probably isn't the answer you were hoping for, but if the

user can
> > > > > access the database window in the current database, then the table

or
> > > query
> > > > > will immediately open without any interference on the developer's

part,
> > > as
> > > > > long as the user has appropriate security permissions assigned,

even if
> > > the
> > > > > table is linked to a password-protected database. If the user

doesn't
> > > have
> > > > > appropriate security permissions for the object, then the user

will
> > > receive
> > > > > an error message stating this. There's no way for the developer

to
> > > > > interject a password to hinder the user.
> > > > >
> > > > > HTH.
> > > > >
> > > > > Gunny
> > > > >
> > > > > See http://www.QBuilt.com for all your database needs.
> > > > > See http://www.Access.QBuilt.com for Microsoft Access tips.
> > > > >
> > > > > (Please remove ZERO_SPAM from my reply E-mail address, so that a

message
> > > > > will be forwarded to me.)
> > > > >
> > > > >
> > > > > "SusieC" <(E-Mail Removed)> wrote in message
> > > > > news:770AD1DB-A2C2-4FB4-B08A-(E-Mail Removed)...
> > > > > > Is it possible to password protect a specific table or query in

an
> > > Access
> > > > > > database?
> > > > >
> > > > >
> > > > >
> > >
> > >
> > >



 
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
refresh Query table using own password for each username kuh Microsoft Excel Programming 2 7th Feb 2006 06:29 AM
Password in Make Table Query Alex Richardson Microsoft Access Queries 2 22nd Jul 2004 06:14 PM
Make Table query on ODBC table changes NULLs to empty strings in Access 2002 Les Mercer Microsoft Access Queries 0 29th Jun 2004 11:01 AM
Make table query into password protected mdb Walter Hofmann Microsoft Access Queries 1 24th Jun 2004 10:01 PM
How do I stop Access from asking confirmation to delete a table in a Make-Table Query? Mike Webb Microsoft Access Queries 4 8th Mar 2004 09:54 PM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 07:50 AM.