Group:  Microsoft Access ยป microsoft.public.access.security
Thread: Adv/disadv of using Access built-in security tools vs build in db

DotNetBag
.NET Development Newsgroups

HTVi
TV Discussion Newsgroups

Our Hot Pick: Rising Antivirus 2006 - Certified by TUV & Checkmark! Get 10% discount by entering this coupon code: ONDISCOUNT10
Rising Antivirus 2006

Adv/disadv of using Access built-in security tools vs build in db
sisyphus 11.07.2006 21:19:01
This is a high level question.

I can think of three ways, in general, to implement Access user-level security
* Use the built in security tools to create workgroups and users
(have never done, but have read it can be tricky to implement)
* Obtain the Windows XP ID to control access to forms and database
changes
* Store user IDs and associated privilege codes in the database

In a book written by John Viecas, MVP (Building Access Applications), the
last method is used in at least one of his applications.

Is there a reason to use an outside user level security method versus the
built-in tools, or vice versa?

Thanks.


Re: Adv/disadv of using Access built-in security tools vs build in db
Scott McDaniel <scott[ at ]NoSpam_Infotrakker.com> 12.07.2006 02:14:54
On Tue, 11 Jul 2006 14:19:01 -0700, sisyphus <sisyphus[ at ]discussions.microsoft.com> wrote:

[Quoted Text]
>This is a high level question.
>
>I can think of three ways, in general, to implement Access user-level security
> * Use the built in security tools to create workgroups and users
> (have never done, but have read it can be tricky to implement)
> * Obtain the Windows XP ID to control access to forms and database
> changes
> * Store user IDs and associated privilege codes in the database
>
>In a book written by John Viecas, MVP (Building Access Applications), the
>last method is used in at least one of his applications.
>
>Is there a reason to use an outside user level security method versus the
>built-in tools, or vice versa?

Depends on what you're doing and why you're doing it.

If you're looking to protect the data in your Access database, then you'd want to implement Access User Level Security.
You'd also want to look into restricting Windows user permissions, and you'd of course do this on a secure file system
like NTFS.

Your second and third methods would somewhat mimic ULS in that you could control access to specific interfaces in your
program, but they offer absolutely no data security. Any user with a copy of Access, Excel, etc can link to the data
tables and have at your data. Granted most users don't really know how to do this, but the scariest user I know is the
guy who finished work early on Friday and can't leave until 5:00, so he fires up Excel and starts browsing thorugh the
menus and finds that "Link to External Data" command ... hoo-boy, that can be a fun call on Monday morning

Personally I've never understood re-inventing the wheel, since ULS does everything needed and it's builtin, but some
developers - even very experienced developers - have an intense dislike of ULS ... to each his (or her) own, I guess ...

Just my .02 worth, of course ... other thoughts will vary ...

Scott McDaniel
scott[ at ]takemeout_infotrakker.com
www.infotrakker.com
Re: Adv/disadv of using Access built-in security tools vs build in db
"Chris Mills" <phad_nospam[ at ]cleardotnet.nz> 12.07.2006 06:35:13
[Quoted Text]
> This is a high level question.
>
> I can think of three ways, in general, to implement Access user-level
security
> * Use the built in security tools to create workgroups and users
> (have never done, but have read it can be tricky to
implement)
> * Obtain the Windows XP ID to control access to forms and database
> changes
> * Store user IDs and associated privilege codes in the database
>
By all means use in-built tools, so far as reasonable, to implement something.
There are several problems
a) "MS wizards" are often spurned because they DO NOT a1) always work as you'd
expect if not outright limitations in them a2) wizards "by design" insulate
you from a full understanding of, in this case, ULS.
b) ULS is very complex to implement and I don't think anyone disagrees. There
is NO shortcut to understanding it. It is documented better than many other
aspects of Access.
c) in many respects, and whatever you do, ULS is insecure anyway. In regards
to security, and however complex ULS is to implement, it's arguably the least
of your security worries or at least cannot be relied on alone

Obtaining a Windows logon ID to logon to Access, is not inherently available
and in any case may be seen as a user-convenience but does NOTHING for or
against improved security.

Storing ID's (or anything besides what Access Security already stores) does
not sound to me like anything which would improve Access Security.

Access ULS is what it is (at the same time, both complex and yet easy to break
in some quarters). I read your requirements as conflicting, in that to
implement ULS there is no choice but to learn it.

If nothing else, it may well be GOOD that ULS is tricky to implement. If
everyone could do it, so it seems to me, then it would hardly be security.
(this is the principle of obfuscation, hardly ever practised in this
newsgroup, which is nevertheless fundamental to all security)

> Is there a reason to use an outside user level security method versus the
built-in tools, or vice versa?

No, in respect of ULS. Yes, in respect of further methods beyond ULS. It is
often said here that "home-grown" methods can do no better than ULS, and
perhaps that is true. Nevertheless, "homegrown methods", not necessarily
merely replacing ULS logic, are a recommended addition (source: QBuilt).

Access Security is a can of worms. ULS is only part of it. Naturally, it
depends equally on what level of security you are looking for.

I hope I've been fair. In regards to ULS, there is no shortcut but to
understand it to whatever level suits your purpose. The same can (perhaps) be
said of all security even SQLServer.

I wouldn't even think of using in-built security "wizards", and I believe I
have some high-level support for that view. (even though the SecFaq may
suggest some)
Chris


Re: Adv/disadv of using Access built-in security tools vs build in db
"Chris Mills" <phad_nospam[ at ]cleardotnet.nz> 12.07.2006 06:51:18
NTFS may not be much security help, since generally Access requires all
permissions to the entire folder?

Just a thought...


Re: Adv/disadv of using Access built-in security tools vs build in db
Scott McDaniel <scott[ at ]NoSpam_Infotrakker.com> 12.07.2006 10:49:38
On Wed, 12 Jul 2006 18:51:18 +1200, "Chris Mills" <phad_nospam[ at ]cleardotnet.nz> wrote:

[Quoted Text]
>NTFS may not be much security help, since generally Access requires all
>permissions to the entire folder?

You're correct in that it would have nothing to do with acutal Data security, but it would allow you to, for example,
deny delete permissions to the actual .mdb file. Users could still delete data once logged in, but at least they
couldn't delete the file through Windows Explorer or My Computer.

My point with NTFS would be that you could use it in addition to ULS to make the data and datafile as secure as could
be.

Scott McDaniel
scott[ at ]takemeout_infotrakker.com
www.infotrakker.com
Re: Adv/disadv of using Access built-in security tools vs build in db
"Keith Wilby" <here[ at ]there.com> 12.07.2006 11:40:45
"Scott McDaniel" <scott[ at ]NoSpam_Infotrakker.com> wrote in message
news:tlk9b2hfq11u2fgt7mkm05nfpf5mld4fca[ at ]4ax.com...
[Quoted Text]
> On Wed, 12 Jul 2006 18:51:18 +1200, "Chris Mills"
> <phad_nospam[ at ]cleardotnet.nz> wrote:
>
>>NTFS may not be much security help, since generally Access requires all
>>permissions to the entire folder?
>
> You're correct in that it would have nothing to do with acutal Data
> security, but it would allow you to, for example,
> deny delete permissions to the actual .mdb file. Users could still delete
> data once logged in, but at least they
> couldn't delete the file through Windows Explorer or My Computer.
>
> My point with NTFS would be that you could use it in addition to ULS to
> make the data and datafile as secure as could
> be.
>

You can also use NTFS permissions to deny access to individual users and/or
groups. You also have to remember to remove the delete permissions to the
file after each compact/repair operation since permissions for new files are
inherited from the host folder.

Keith.


Re: Adv/disadv of using Access built-in security tools vs build in db
"onedaywhen" <jamiecollins[ at ]xsmail.com> 12.07.2006 11:43:59

Chris Mills wrote:
[Quoted Text]
> By all means use in-built tools, so far as reasonable, to implement something.
> There are several problems
> a) "MS wizards" are often spurned because they DO NOT a1) always work as you'd
> expect if not outright limitations in them a2) wizards "by design" insulate
> you from a full understanding of, in this case, ULS.

I too am wary of wizards (read: the whole Access UI <g>).

Note, then, that 'ULS' is implemented in the Jet engine rather than at
the Access level. This means that one can (as I do) ignore the Access
wizards and use SQL DDL to directly create/drop users, groups and
permissions e.g.

CREATE GROUP Billing
;
CREATE USER Tim pwd
;
ADD USER Tim TO Billing
;
REVOKE ALL PRIVILEGES
ON Invoices
FROM Billing
;
GRANT SELECT, INSERT, UPDATE, DELETE
ON Invoices
TO Billing
;

For details, see:

Advanced Microsoft Jet SQL
http://msdn.microsoft.com/library/default.asp?url=/library/en-us/dnacc2k/html/acadvsql.asp

Personally, I even use the OLE DB provider to create the associated
workgroup file in the first place <g>.

Jamie.

--

Re: Adv/disadv of using Access built-in security tools vs build in db
"'69 Camaro" <ForwardZERO_SPAM.To.69Camaro[ at ]Spameater.orgZERO_SPAM> 12.07.2006 12:53:17
Hi, Chris.

[Quoted Text]
> Nevertheless, "homegrown methods", not necessarily
> merely replacing ULS logic, are a recommended addition (source: QBuilt).

I'm not sure where you got this idea. Please cite your source with a link
to the statement that homegrown security is recommended.

HTH.
Gunny

See http://www.QBuilt.com for all your database needs.
See http://www.Access.QBuilt.com for Microsoft Access tips and tutorials.
http://www.Access.QBuilt.com/html/expert_contributors2.html for contact
info.


"Chris Mills" <phad_nospam[ at ]cleardotnet.nz> wrote in message
news:OhZXH0XpGHA.4192[ at ]TK2MSFTNGP03.phx.gbl...
>> This is a high level question.
>>
>> I can think of three ways, in general, to implement Access user-level
> security
>> * Use the built in security tools to create workgroups and
>> users
>> (have never done, but have read it can be tricky to
> implement)
>> * Obtain the Windows XP ID to control access to forms and
>> database
>> changes
>> * Store user IDs and associated privilege codes in the database
>>
> By all means use in-built tools, so far as reasonable, to implement
> something.
> There are several problems
> a) "MS wizards" are often spurned because they DO NOT a1) always work as
> you'd
> expect if not outright limitations in them a2) wizards "by design"
> insulate
> you from a full understanding of, in this case, ULS.
> b) ULS is very complex to implement and I don't think anyone disagrees.
> There
> is NO shortcut to understanding it. It is documented better than many
> other
> aspects of Access.
> c) in many respects, and whatever you do, ULS is insecure anyway. In
> regards
> to security, and however complex ULS is to implement, it's arguably the
> least
> of your security worries or at least cannot be relied on alone
>
> Obtaining a Windows logon ID to logon to Access, is not inherently
> available
> and in any case may be seen as a user-convenience but does NOTHING for or
> against improved security.
>
> Storing ID's (or anything besides what Access Security already stores)
> does
> not sound to me like anything which would improve Access Security.
>
> Access ULS is what it is (at the same time, both complex and yet easy to
> break
> in some quarters). I read your requirements as conflicting, in that to
> implement ULS there is no choice but to learn it.
>
> If nothing else, it may well be GOOD that ULS is tricky to implement. If
> everyone could do it, so it seems to me, then it would hardly be security.
> (this is the principle of obfuscation, hardly ever practised in this
> newsgroup, which is nevertheless fundamental to all security)
>
>> Is there a reason to use an outside user level security method versus the
> built-in tools, or vice versa?
>
> No, in respect of ULS. Yes, in respect of further methods beyond ULS. It
> is
> often said here that "home-grown" methods can do no better than ULS, and
> perhaps that is true. Nevertheless, "homegrown methods", not necessarily
> merely replacing ULS logic, are a recommended addition (source: QBuilt).
>
> Access Security is a can of worms. ULS is only part of it. Naturally, it
> depends equally on what level of security you are looking for.
>
> I hope I've been fair. In regards to ULS, there is no shortcut but to
> understand it to whatever level suits your purpose. The same can (perhaps)
> be
> said of all security even SQLServer.
>
> I wouldn't even think of using in-built security "wizards", and I believe
> I
> have some high-level support for that view. (even though the SecFaq may
> suggest some)
> Chris
>
>


Re: Adv/disadv of using Access built-in security tools vs build in db
"'69 Camaro" <ForwardZERO_SPAM.To.69Camaro[ at ]Spameater.orgZERO_SPAM> 12.07.2006 13:00:58
Hi, Jamie.

[Quoted Text]
> This means that one can (as I do) ignore the Access
> wizards and use SQL DDL to directly create/drop users, groups and
> permissions

The downside to this is that if the workgroup information file needs to be
recreated with duplicates of the original users and groups, since no PID was
used to create the user or the group, all the users and groups will be
different from the original ones (even if the same names are used in the new
workgroup information file), and therefore not recognized by the database as
members or groups in the workgroup used to secure the database.

HTH.
Gunny

See http://www.QBuilt.com for all your database needs.
See http://www.Access.QBuilt.com for Microsoft Access tips and tutorials.
http://www.Access.QBuilt.com/html/expert_contributors2.html for contact
info.


"onedaywhen" <jamiecollins[ at ]xsmail.com> wrote in message
news:1152704639.557007.68380[ at ]m73g2000cwd.googlegroups.com...
>
> Chris Mills wrote:
>> By all means use in-built tools, so far as reasonable, to implement
>> something.
>> There are several problems
>> a) "MS wizards" are often spurned because they DO NOT a1) always work as
>> you'd
>> expect if not outright limitations in them a2) wizards "by design"
>> insulate
>> you from a full understanding of, in this case, ULS.
>
> I too am wary of wizards (read: the whole Access UI <g>).
>
> Note, then, that 'ULS' is implemented in the Jet engine rather than at
> the Access level. This means that one can (as I do) ignore the Access
> wizards and use SQL DDL to directly create/drop users, groups and
> permissions e.g.
>
> CREATE GROUP Billing
> ;
> CREATE USER Tim pwd
> ;
> ADD USER Tim TO Billing
> ;
> REVOKE ALL PRIVILEGES
> ON Invoices
> FROM Billing
> ;
> GRANT SELECT, INSERT, UPDATE, DELETE
> ON Invoices
> TO Billing
> ;
>
> For details, see:
>
> Advanced Microsoft Jet SQL
> http://msdn.microsoft.com/library/default.asp?url=/library/en-us/dnacc2k/html/acadvsql.asp
>
> Personally, I even use the OLE DB provider to create the associated
> workgroup file in the first place <g>.
>
> Jamie.
>
> --
>


Re: Adv/disadv of using Access built-in security tools vs build in db
"onedaywhen" <jamiecollins[ at ]xsmail.com> 12.07.2006 13:12:53

'69 Camaro wrote:
[Quoted Text]
> > Advanced Microsoft Jet SQL
> > http://msdn.microsoft.com/library/default.asp?url=/library/en-us/dnacc2k/html/acadvsql.asp
> > This means that one can (as I do) ignore the Access
> > wizards and use SQL DDL to directly create/drop users, groups and
> > permissions
>
> The downside to this is that if the workgroup information file needs to be
> recreated with duplicates of the original users and groups, since no PID was
> used to create the user or the group, all the users and groups will be
> different from the original ones (even if the same names are used in the new
> workgroup information file), and therefore not recognized by the database as
> members or groups in the workgroup used to secure the database.

One *can* supply the PID values, though. From the above article:

"Although you can create the group accounts with just a name, you
should also include the optional argument known as a personal
identifier, or PID. The PID is an extra string value that you can pass
to the CREATE GROUP and CREATE USER statements. Jet will then combine
the PID with the user or group name into a unique key value known as a
security identifier, or SID. The SID is the value that Jet uses
internally to identify and work with the corresponding user or group
account. Specifying a PID when creating a user or group account ensures
that the account is unique. Specifying a PID also allows you to
re-create an identical account if the workgroup file becomes damaged,
or if you need to move the account into another workgroup file."

Does that cover your point or was their something subtle I missed (PIDs
aren't my field of expertise <g>).

Thanks,
Jamie.

--

Re: Adv/disadv of using Access built-in security tools vs build in db
"'69 Camaro" <ForwardZERO_SPAM.To.69Camaro[ at ]Spameater.orgZERO_SPAM> 12.07.2006 14:07:26
Hi, Jamie.

[Quoted Text]
> Does that cover your point

I was referring to your example SQL statements, but yes, the article covers
the point. Sorry I didn't clarify that.

HTH.
Gunny

See http://www.QBuilt.com for all your database needs.
See http://www.Access.QBuilt.com for Microsoft Access tips and tutorials.
http://www.Access.QBuilt.com/html/expert_contributors2.html for contact
info.


"onedaywhen" <jamiecollins[ at ]xsmail.com> wrote in message
news:1152709973.822295.83890[ at ]75g2000cwc.googlegroups.com...
>
> '69 Camaro wrote:
>> > Advanced Microsoft Jet SQL
>> > http://msdn.microsoft.com/library/default.asp?url=/library/en-us/dnacc2k/html/acadvsql.asp
>> > This means that one can (as I do) ignore the Access
>> > wizards and use SQL DDL to directly create/drop users, groups and
>> > permissions
>>
>> The downside to this is that if the workgroup information file needs to
>> be
>> recreated with duplicates of the original users and groups, since no PID
>> was
>> used to create the user or the group, all the users and groups will be
>> different from the original ones (even if the same names are used in the
>> new
>> workgroup information file), and therefore not recognized by the database
>> as
>> members or groups in the workgroup used to secure the database.
>
> One *can* supply the PID values, though. From the above article:
>
> "Although you can create the group accounts with just a name, you
> should also include the optional argument known as a personal
> identifier, or PID. The PID is an extra string value that you can pass
> to the CREATE GROUP and CREATE USER statements. Jet will then combine
> the PID with the user or group name into a unique key value known as a
> security identifier, or SID. The SID is the value that Jet uses
> internally to identify and work with the corresponding user or group
> account. Specifying a PID when creating a user or group account ensures
> that the account is unique. Specifying a PID also allows you to
> re-create an identical account if the workgroup file becomes damaged,
> or if you need to move the account into another workgroup file."
>
> Does that cover your point or was their something subtle I missed (PIDs
> aren't my field of expertise <g>).
>
> Thanks,
> Jamie.
>
> --
>


Re: Adv/disadv of using Access built-in security tools vs build in db
"onedaywhen" <jamiecollins[ at ]xsmail.com> 12.07.2006 14:34:43

'69 Camaro wrote:
[Quoted Text]
> I was referring to your example SQL statements, but yes, the article covers
> the point.

I lifted my examples straight from the article and chose the ones that
looked pretty i.e. without those ugly PIDs <g>.

Cheers,
Jamie.

--

Re: Adv/disadv of using Access built-in security tools vs build in db
"'69 Camaro" <ForwardZERO_SPAM.To.69Camaro[ at ]Spameater.orgZERO_SPAM> 12.07.2006 14:51:01
Shoulda chosen the ugly ones. ;-)

The pretty ones won't help you when disaster strikes and you need to
recreate your workgroup information file without paying an Access expert to
do it for you -- if you can find one.

HTH.
Gunny

See http://www.QBuilt.com for all your database needs.
See http://www.Access.QBuilt.com for Microsoft Access tips and tutorials.
http://www.Access.QBuilt.com/html/expert_contributors2.html for contact
info.


"onedaywhen" <jamiecollins[ at ]xsmail.com> wrote in message
news:1152714883.433597.167580[ at ]35g2000cwc.googlegroups.com...
[Quoted Text]
>
> '69 Camaro wrote:
>> I was referring to your example SQL statements, but yes, the article
>> covers
>> the point.
>
> I lifted my examples straight from the article and chose the ones that
> looked pretty i.e. without those ugly PIDs <g>.
>
> Cheers,
> Jamie.
>
> --
>


Re: Adv/disadv of using Access built-in security tools vs build in db
"onedaywhen" <jamiecollins[ at ]xsmail.com> 12.07.2006 15:21:12

'69 Camaro wrote:
[Quoted Text]
> Shoulda chosen the ugly ones. ;-)
>
> The pretty ones won't help you when disaster strikes

I demand PIDs that are both pretty and difficult to guess <g>!

Jamie.

--

Re: Adv/disadv of using Access built-in security tools vs build in db
"Chris Mills" <phad_nospam[ at ]cleardotnet.nz> 12.07.2006 20:42:39
Those were my words. I regard "homegrown" to mean any method which is not
in-built Access security, such as "obfuscation". So I dont consider the term
to be disparaging. You may consider that to be too broad.

Cheers
Chris

"'69 Camaro" <ForwardZERO_SPAM.To.69Camaro[ at ]Spameater.orgZERO_SPAM> wrote in
message news:%23mzcSGbpGHA.1592[ at ]TK2MSFTNGP04.phx.gbl...
[Quoted Text]
> Hi, Chris.
>
> > Nevertheless, "homegrown methods", not necessarily
> > merely replacing ULS logic, are a recommended addition (source: QBuilt).
>
> I'm not sure where you got this idea. Please cite your source with a link
> to the statement that homegrown security is recommended.
>
> HTH.
> Gunny
>
> See http://www.QBuilt.com for all your database needs.
> See http://www.Access.QBuilt.com for Microsoft Access tips and tutorials.
> http://www.Access.QBuilt.com/html/expert_contributors2.html for contact
> info.
>


Re: Adv/disadv of using Access built-in security tools vs build in
sisyphus 13.07.2006 16:04:01
Hi '69 Camaro,

It wasn't recommended. It was an inference I made from scanning warnings
about the built-in ULS and, more directly, from the fact that John Viescas'
book Building Access Applications uses a home grown ULS method in at least
one of its applications. Just thought there might be a reason why that I
should know about.

By the bye, my security needs for this project are low. It will be
replacing a spreadsheet with no security, but that exists in a protected
directory.

"'69 Camaro" wrote:

[Quoted Text]
> Hi, Chris.
>
> > Nevertheless, "homegrown methods", not necessarily
> > merely replacing ULS logic, are a recommended addition (source: QBuilt).
>
> I'm not sure where you got this idea. Please cite your source with a link
> to the statement that homegrown security is recommended.
>
> HTH.
> Gunny
>
> See http://www.QBuilt.com for all your database needs.
> See http://www.Access.QBuilt.com for Microsoft Access tips and tutorials.
> http://www.Access.QBuilt.com/html/expert_contributors2.html for contact
> info.
>
>
> "Chris Mills" <phad_nospam[ at ]cleardotnet.nz> wrote in message
> news:OhZXH0XpGHA.4192[ at ]TK2MSFTNGP03.phx.gbl...
> >> This is a high level question.
> >>
> >> I can think of three ways, in general, to implement Access user-level
> > security
> >> * Use the built in security tools to create workgroups and
> >> users
> >> (have never done, but have read it can be tricky to
> > implement)
> >> * Obtain the Windows XP ID to control access to forms and
> >> database
> >> changes
> >> * Store user IDs and associated privilege codes in the database
> >>
> > By all means use in-built tools, so far as reasonable, to implement
> > something.
> > There are several problems
> > a) "MS wizards" are often spurned because they DO NOT a1) always work as
> > you'd
> > expect if not outright limitations in them a2) wizards "by design"
> > insulate
> > you from a full understanding of, in this case, ULS.
> > b) ULS is very complex to implement and I don't think anyone disagrees.
> > There
> > is NO shortcut to understanding it. It is documented better than many
> > other
> > aspects of Access.
> > c) in many respects, and whatever you do, ULS is insecure anyway. In
> > regards
> > to security, and however complex ULS is to implement, it's arguably the
> > least
> > of your security worries or at least cannot be relied on alone
> >
> > Obtaining a Windows logon ID to logon to Access, is not inherently
> > available
> > and in any case may be seen as a user-convenience but does NOTHING for or
> > against improved security.
> >
> > Storing ID's (or anything besides what Access Security already stores)
> > does
> > not sound to me like anything which would improve Access Security.
> >
> > Access ULS is what it is (at the same time, both complex and yet easy to
> > break
> > in some quarters). I read your requirements as conflicting, in that to
> > implement ULS there is no choice but to learn it.
> >
> > If nothing else, it may well be GOOD that ULS is tricky to implement. If
> > everyone could do it, so it seems to me, then it would hardly be security.
> > (this is the principle of obfuscation, hardly ever practised in this
> > newsgroup, which is nevertheless fundamental to all security)
> >
> >> Is there a reason to use an outside user level security method versus the
> > built-in tools, or vice versa?
> >
> > No, in respect of ULS. Yes, in respect of further methods beyond ULS. It
> > is
> > often said here that "home-grown" methods can do no better than ULS, and
> > perhaps that is true. Nevertheless, "homegrown methods", not necessarily
> > merely replacing ULS logic, are a recommended addition (source: QBuilt).
> >
> > Access Security is a can of worms. ULS is only part of it. Naturally, it
> > depends equally on what level of security you are looking for.
> >
> > I hope I've been fair. In regards to ULS, there is no shortcut but to
> > understand it to whatever level suits your purpose. The same can (perhaps)
> > be
> > said of all security even SQLServer.
> >
> > I wouldn't even think of using in-built security "wizards", and I believe
> > I
> > have some high-level support for that view. (even though the SecFaq may
> > suggest some)
> > Chris
> >
> >
>
>
>
RE: Adv/disadv of using Access built-in security tools vs build in db
sisyphus 13.07.2006 16:09:02
Thanks everyone!!!

This is exactly what I was looking for. With the resources in this list,
and elsewhere, I will be teaching myself how to implement the built-in ULS
without the wizard. Wish me luck.

Thanks again.

"sisyphus" wrote:

[Quoted Text]
> This is a high level question.
>
> I can think of three ways, in general, to implement Access user-level security
> * Use the built in security tools to create workgroups and users
> (have never done, but have read it can be tricky to implement)
> * Obtain the Windows XP ID to control access to forms and database
> changes
> * Store user IDs and associated privilege codes in the database
>
> In a book written by John Viecas, MVP (Building Access Applications), the
> last method is used in at least one of his applications.
>
> Is there a reason to use an outside user level security method versus the
> built-in tools, or vice versa?
>
> Thanks.
>
>
Re: Adv/disadv of using Access built-in security tools vs build in db
"'69 Camaro" <ForwardZERO_SPAM.To.69Camaro[ at ]Spameater.orgZERO_SPAM> 13.07.2006 17:54:36
Hi, Chris.

[Quoted Text]
> Those were my words.

Then you need to post a retraction, because you wrote that the source of the
recommendation for "homegrown methods" for security was Q-Built, not you. I
don't know of any statement that Q-Built's consultants have ever made that
homebuilt security is a recommended practice. Q-Built's recommendation is
that if you need a secure database, then use a client/server database, such
as Oracle or SQL Server, not Access. These aren't "homegrown methods," even
if you do use a "broad definition."

HTH.
Gunny

See http://www.QBuilt.com for all your database needs.
See http://www.Access.QBuilt.com for Microsoft Access tips and tutorials.
http://www.Access.QBuilt.com/html/expert_contributors2.html for contact
info.


"Chris Mills" <phad_nospam[ at ]cleardotnet.nz> wrote in message
news:u6iXdNfpGHA.4116[ at ]TK2MSFTNGP03.phx.gbl...
> Those were my words. I regard "homegrown" to mean any method which is not
> in-built Access security, such as "obfuscation". So I dont consider the
> term
> to be disparaging. You may consider that to be too broad.
>
> Cheers
> Chris
>
> "'69 Camaro" <ForwardZERO_SPAM.To.69Camaro[ at ]Spameater.orgZERO_SPAM> wrote
> in
> message news:%23mzcSGbpGHA.1592[ at ]TK2MSFTNGP04.phx.gbl...
>> Hi, Chris.
>>
>> > Nevertheless, "homegrown methods", not necessarily
>> > merely replacing ULS logic, are a recommended addition (source:
>> > QBuilt).
>>
>> I'm not sure where you got this idea. Please cite your source with a
>> link
>> to the statement that homegrown security is recommended.
>>
>> HTH.
>> Gunny
>>
>> See http://www.QBuilt.com for all your database needs.
>> See http://www.Access.QBuilt.com for Microsoft Access tips and tutorials.
>> http://www.Access.QBuilt.com/html/expert_contributors2.html for contact
>> info.
>>
>
>


Re: Adv/disadv of using Access built-in security tools vs build in
"'69 Camaro" <ForwardZERO_SPAM.To.69Camaro[ at ]Spameater.orgZERO_SPAM> 13.07.2006 18:32:57
Hi.

Sorry for any confusion. I was referring to Chris Mills's post stating that
Q-Built recommends "homegrown methods" for Access security, which is not
correct.

HTH.
Gunny

See http://www.QBuilt.com for all your database needs.
See http://www.Access.QBuilt.com for Microsoft Access tips and tutorials.
http://www.Access.QBuilt.com/html/expert_contributors2.html for contact
info.


"sisyphus" <sisyphus[ at ]discussions.microsoft.com> wrote in message
news:17C48223-3641-4CB6-8DBF-D8B9351FB1C8[ at ]microsoft.com...
[Quoted Text]
> Hi '69 Camaro,
>
> It wasn't recommended. It was an inference I made from scanning warnings
> about the built-in ULS and, more directly, from the fact that John
> Viescas'
> book Building Access Applications uses a home grown ULS method in at least
> one of its applications. Just thought there might be a reason why that I
> should know about.
>
> By the bye, my security needs for this project are low. It will be
> replacing a spreadsheet with no security, but that exists in a protected
> directory.
>
> "'69 Camaro" wrote:
>
>> Hi, Chris.
>>
>> > Nevertheless, "homegrown methods", not necessarily
>> > merely replacing ULS logic, are a recommended addition (source:
>> > QBuilt).
>>
>> I'm not sure where you got this idea. Please cite your source with a
>> link
>> to the statement that homegrown security is recommended.
>>
>> HTH.
>> Gunny
>>
>> See http://www.QBuilt.com for all your database needs.
>> See http://www.Access.QBuilt.com for Microsoft Access tips and tutorials.
>> http://www.Access.QBuilt.com/html/expert_contributors2.html for contact
>> info.
>>
>>
>> "Chris Mills" <phad_nospam[ at ]cleardotnet.nz> wrote in message
>> news:OhZXH0XpGHA.4192[ at ]TK2MSFTNGP03.phx.gbl...
>> >> This is a high level question.
>> >>
>> >> I can think of three ways, in general, to implement Access user-level
>> > security
>> >> * Use the built in security tools to create workgroups and
>> >> users
>> >> (have never done, but have read it can be tricky to
>> > implement)
>> >> * Obtain the Windows XP ID to control access to forms and
>> >> database
>> >> changes
>> >> * Store user IDs and associated privilege codes in the
>> >> database
>> >>
>> > By all means use in-built tools, so far as reasonable, to implement
>> > something.
>> > There are several problems
>> > a) "MS wizards" are often spurned because they DO NOT a1) always work
>> > as
>> > you'd
>> > expect if not outright limitations in them a2) wizards "by design"
>> > insulate
>> > you from a full understanding of, in this case, ULS.
>> > b) ULS is very complex to implement and I don't think anyone disagrees.
>> > There
>> > is NO shortcut to understanding it. It is documented better than many
>> > other
>> > aspects of Access.
>> > c) in many respects, and whatever you do, ULS is insecure anyway. In
>> > regards
>> > to security, and however complex ULS is to implement, it's arguably the
>> > least
>> > of your security worries or at least cannot be relied on alone
>> >
>> > Obtaining a Windows logon ID to logon to Access, is not inherently
>> > available
>> > and in any case may be seen as a user-convenience but does NOTHING for
>> > or
>> > against improved security.
>> >
>> > Storing ID's (or anything besides what Access Security already stores)
>> > does
>> > not sound to me like anything which would improve Access Security.
>> >
>> > Access ULS is what it is (at the same time, both complex and yet easy
>> > to
>> > break
>> > in some quarters). I read your requirements as conflicting, in that to
>> > implement ULS there is no choice but to learn it.
>> >
>> > If nothing else, it may well be GOOD that ULS is tricky to implement.
>> > If
>> > everyone could do it, so it seems to me, then it would hardly be
>> > security.
>> > (this is the principle of obfuscation, hardly ever practised in this
>> > newsgroup, which is nevertheless fundamental to all security)
>> >
>> >> Is there a reason to use an outside user level security method versus
>> >> the
>> > built-in tools, or vice versa?
>> >
>> > No, in respect of ULS. Yes, in respect of further methods beyond ULS.
>> > It
>> > is
>> > often said here that "home-grown" methods can do no better than ULS,
>> > and
>> > perhaps that is true. Nevertheless, "homegrown methods", not
>> > necessarily
>> > merely replacing ULS logic, are a recommended addition (source:
>> > QBuilt).
>> >
>> > Access Security is a can of worms. ULS is only part of it. Naturally,
>> > it
>> > depends equally on what level of security you are looking for.
>> >
>> > I hope I've been fair. In regards to ULS, there is no shortcut but to
>> > understand it to whatever level suits your purpose. The same can
>> > (perhaps)
>> > be
>> > said of all security even SQLServer.
>> >
>> > I wouldn't even think of using in-built security "wizards", and I
>> > believe
>> > I
>> > have some high-level support for that view. (even though the SecFaq may
>> > suggest some)
>> > Chris
>> >
>> >
>>
>>
>>


Re: Adv/disadv of using Access built-in security tools vs build in db
"Chris Mills" <phad_nospam[ at ]cleardotnet.nz> 13.07.2006 23:20:13
A source of "homegrown methods" of security is this:
www.access.qbuilt.com/html/security.html#PreventImportFrSecDB
"How to be sneakier than the snoops peeking at data they shouldn't see. "

With the exception of point 1(RWOP), the rest are "homegrown" methods, and
very good they are too.

As I have pointed out (twice in my original sentence), these methods (such as
the ones above) do not replace, but are additional to, in-built Access
security methods. As I hope I have pointed out, the above is a reliable source
for some ideas on the concept of "additional security". If anyone has an issue
with the word "homegrown", then they should get over it.

Glossary:
Homegrown: similar meaning to "in-house", in Access security this generally
means any method other than the designed in-built Access security features.

HTH
Chris

"'69 Camaro" <ForwardZERO_SPAM.To.69Camaro[ at ]Spameater.orgZERO_SPAM> wrote in
message news:%23FTiQTqpGHA.3936[ at ]TK2MSFTNGP04.phx.gbl...
[Quoted Text]
> Hi, Chris.
>
> > Those were my words.
>
> Then you need to post a retraction, because you wrote that the source of the
> recommendation for "homegrown methods" for security was Q-Built, not you. I
> don't know of any statement that Q-Built's consultants have ever made that
> homebuilt security is a recommended practice. Q-Built's recommendation is
> that if you need a secure database, then use a client/server database, such
> as Oracle or SQL Server, not Access. These aren't "homegrown methods," even
> if you do use a "broad definition."
>
> HTH.
> Gunny
>
> See http://www.QBuilt.com for all your database needs.
> See http://www.Access.QBuilt.com for Microsoft Access tips and tutorials.
> http://www.Access.QBuilt.com/html/expert_contributors2.html for contact
> info.
>
>
> "Chris Mills" <phad_nospam[ at ]cleardotnet.nz> wrote in message
> news:u6iXdNfpGHA.4116[ at ]TK2MSFTNGP03.phx.gbl...
> > Those were my words. I regard "homegrown" to mean any method which is not
> > in-built Access security, such as "obfuscation". So I dont consider the
> > term
> > to be disparaging. You may consider that to be too broad.
> >
> > Cheers
> > Chris
> >
> > "'69 Camaro" <ForwardZERO_SPAM.To.69Camaro[ at ]Spameater.orgZERO_SPAM> wrote
> > in
> > message news:%23mzcSGbpGHA.1592[ at ]TK2MSFTNGP04.phx.gbl...
> >> Hi, Chris.
> >>
> >> > Nevertheless, "homegrown methods", not necessarily
> >> > merely replacing ULS logic, are a recommended addition (source:
> >> > QBuilt).
> >>
> >> I'm not sure where you got this idea. Please cite your source with a
> >> link
> >> to the statement that homegrown security is recommended.
> >>
> >> HTH.
> >> Gunny
> >>
> >> See http://www.QBuilt.com for all your database needs.
> >> See http://www.Access.QBuilt.com for Microsoft Access tips and tutorials.
> >> http://www.Access.QBuilt.com/html/expert_contributors2.html for contact
> >> info.
> >>
> >
> >
>
>


Re: Adv/disadv of using Access built-in security tools vs build in db
"Chris Mills" <phad_nospam[ at ]cleardotnet.nz> 14.07.2006 03:31:20
[Quoted Text]
> I too am wary of wizards (read: the whole Access UI <g>).
>
Putting aside the grin for a moment, I know that the AccessUI for ULS security
is not that great, though it's adequate. Perhaps I just say that because,
usually, it's only used once (at the start of a project) and not TOO much
thereafter.

Here's one utility which gives a different view of the contents of ULS. It is
supposedly "just for learning", and it can be slow; nevertheless it can
display "forgotten or leftover parts" of your security setup, which is always
usefull to know (and near impossible through the AccessUI).

http://www.grahamwideman.com/gw/tech/access/permexpl/index.htm

Chris



Re: Adv/disadv of using Access built-in security tools vs build in db
"'69 Camaro" <ForwardZERO_SPAM.To.69Camaro[ at ]Spameater.orgZERO_SPAM> 15.07.2006 13:30:56
Hi, Chris.

Hiding in plain sight is not security.

HTH.
Gunny

See http://www.QBuilt.com for all your database needs.
See http://www.Access.QBuilt.com for Microsoft Access tips and tutorials.
http://www.Access.QBuilt.com/html/expert_contributors2.html for contact
info.


"Chris Mills" <phad_nospam[ at ]cleardotnet.nz> wrote in message
news:u9u1JLtpGHA.2360[ at ]TK2MSFTNGP05.phx.gbl...
[Quoted Text]
>A source of "homegrown methods" of security is this:
> www.access.qbuilt.com/html/security.html#PreventImportFrSecDB
> "How to be sneakier than the snoops peeking at data they shouldn't see. "
>
> With the exception of point 1(RWOP), the rest are "homegrown" methods, and
> very good they are too.
>
> As I have pointed out (twice in my original sentence), these methods (such
> as
> the ones above) do not replace, but are additional to, in-built Access
> security methods. As I hope I have pointed out, the above is a reliable
> source
> for some ideas on the concept of "additional security". If anyone has an
> issue
> with the word "homegrown", then they should get over it.
>
> Glossary:
> Homegrown: similar meaning to "in-house", in Access security this
> generally
> means any method other than the designed in-built Access security
> features.
>
> HTH
> Chris
>
> "'69 Camaro" <ForwardZERO_SPAM.To.69Camaro[ at ]Spameater.orgZERO_SPAM> wrote
> in
> message news:%23FTiQTqpGHA.3936[ at ]TK2MSFTNGP04.phx.gbl...
>> Hi, Chris.
>>
>> > Those were my words.
>>
>> Then you need to post a retraction, because you wrote that the source of
>> the
>> recommendation for "homegrown methods" for security was Q-Built, not you.
>> I
>> don't know of any statement that Q-Built's consultants have ever made
>> that
>> homebuilt security is a recommended practice. Q-Built's recommendation
>> is
>> that if you need a secure database, then use a client/server database,
>> such
>> as Oracle or SQL Server, not Access. These aren't "homegrown methods,"
>> even
>> if you do use a "broad definition."
>>
>> HTH.
>> Gunny
>>
>> See http://www.QBuilt.com for all your database needs.
>> See http://www.Access.QBuilt.com for Microsoft Access tips and tutorials.
>> http://www.Access.QBuilt.com/html/expert_contributors2.html for contact
>> info.
>>
>>
>> "Chris Mills" <phad_nospam[ at ]cleardotnet.nz> wrote in message
>> news:u6iXdNfpGHA.4116[ at ]TK2MSFTNGP03.phx.gbl...
>> > Those were my words. I regard "homegrown" to mean any method which is
>> > not
>> > in-built Access security, such as "obfuscation". So I dont consider the
>> > term
>> > to be disparaging. You may consider that to be too broad.
>> >
>> > Cheers
>> > Chris
>> >
>> > "'69 Camaro" <ForwardZERO_SPAM.To.69Camaro[ at ]Spameater.orgZERO_SPAM>
>> > wrote
>> > in
>> > message news:%23mzcSGbpGHA.1592[ at ]TK2MSFTNGP04.phx.gbl...
>> >> Hi, Chris.
>> >>
>> >> > Nevertheless, "homegrown methods", not necessarily
>> >> > merely replacing ULS logic, are a recommended addition (source:
>> >> > QBuilt).
>> >>
>> >> I'm not sure where you got this idea. Please cite your source with a
>> >> link
>> >> to the statement that homegrown security is recommended.
>> >>
>> >> HTH.
>> >> Gunny
>> >>
>> >> See http://www.QBuilt.com for all your database needs.
>> >> See http://www.Access.QBuilt.com for Microsoft Access tips and
>> >> tutorials.
>> >> http://www.Access.QBuilt.com/html/expert_contributors2.html for
>> >> contact
>> >> info.
>> >>
>> >
>> >
>>
>>
>
>


Home | Search | Terms | Imprint | Contact
Newsgroups Reader - provided by WiredBox.Net