Home All Groups Group Topic Archive Search About

Please confirm security limitations

Author
13 Apr 2005 10:23 PM
Brad Wood
I've been tasked with creating a small internal project (used by a dozen
  users) that requires a back end database.

I just upgraded to Access 2003, so I am experiencing the security
limitations for the first time.

I merely create a new database and then attempt to re-open it and I'm
prompted with the security warning.  This is analagous to getting an
ActiveX control warning for every web page I open whether there is a
control on the page or not.

I just want to store some data and create a few reports, I'm not
embedding any code within; I *should not* see any security warnings.  Am
I correct in concluding that Access is no longer an option unless I:
- Have our users revert to an older version (not an option)
- Have our users set their security settings to low (probably not an option)
- Buy a certificate (not an option)

??

Author
13 Apr 2005 11:11 PM
Rick Brandt
Brad Wood wrote:
Show quoteHide quote
> I've been tasked with creating a small internal project (used by a
>  dozen users) that requires a back end database.
>
> I just upgraded to Access 2003, so I am experiencing the security
> limitations for the first time.
>
> I merely create a new database and then attempt to re-open it and I'm
> prompted with the security warning.  This is analagous to getting an
> ActiveX control warning for every web page I open whether there is a
> control on the page or not.
>
> I just want to store some data and create a few reports, I'm not
> embedding any code within; I *should not* see any security warnings. Am I
> correct in concluding that Access is no longer an option unless I:
> - Have our users revert to an older version (not an option)
> - Have our users set their security settings to low (probably not an
> option) - Buy a certificate (not an option)

What your seeing is how Access 2003 works unless you set macro security to low
which is what just about everybody who uses it does.  It "sounds" dangerous, but
all it does is make Access 2003 behave the way every other version of Access has
ever behaved.

--
I don't check the Email account attached
to this message.     Send instead to...
RBrandt    at       Hunter      dot      com
Author
14 Apr 2005 2:58 AM
TC
Brad Wood wrote:

(snip)

>Am I correct in concluding that Access is no longer an option unless
I:
> - Have our users revert to an older version (not an option)
> - Have our users set their security settings to low (probably not an
option)
> - Buy a certificate (not an option)
> ??

No, there is another (better) option. It is trivially simple to try it
out. Google this group for posts from me (TC) including the term
"automationsecurity", to find the details.

HTH,
TC
Author
14 Apr 2005 2:36 PM
Brad Wood
TC wrote:
> No, there is another (better) option. It is trivially simple to try it
> out. Google this group for posts from me (TC) including the term
> "automationsecurity", to find the details.
>

Thanks; that will work fine.  I still think there should be no reason to
bother with security unless the database I'm opening itself contains
code (as opposed to mere data).
Author
14 Apr 2005 3:54 PM
Paul Overway
Even if the database only contains "data", there is potential for harm.  For
example, if someone entered Shell("del *.*") into one of your fields and the
Jet sandbox was not being used.  Still, Microsoft's solution is a PITA and
very poorly implemented.  The sandbox is TOO restrictive (i.e., Eval is a
very useful function in queries but is sandboxed), but there is some risk
running without it.

--
Paul Overway
Logico Solutions
http://www.logico-solutions.com


Show quoteHide quote
"Brad Wood" <bradley_.wood_@ndsu_.edu> wrote in message
news:uJ74I9PQFHA.244@TK2MSFTNGP12.phx.gbl...
> TC wrote:
>> No, there is another (better) option. It is trivially simple to try it
>> out. Google this group for posts from me (TC) including the term
>> "automationsecurity", to find the details.
>>
>
> Thanks; that will work fine.  I still think there should be no reason to
> bother with security unless the database I'm opening itself contains code
> (as opposed to mere data).
Author
14 Apr 2005 4:52 PM
Immanuel Sibero
Paul,

Slightly off-topic.
I havent gone into .NET yet. But how does this security PITA (i.e. security
level warnings, dig. certificates, etc, etc.) fit in the .NET framework. I
know there is a concept of *managed* vs. *unmanaged* programs, but will we
still have to deal with the whole security PITA as it is now?


Immanuel Sibero



Show quoteHide quote
"Paul Overway" <paul@I.hate.spam.logico-solutions.com> wrote in message
news:e8csHyQQFHA.924@TK2MSFTNGP14.phx.gbl...
> Even if the database only contains "data", there is potential for harm.
For
> example, if someone entered Shell("del *.*") into one of your fields and
the
> Jet sandbox was not being used.  Still, Microsoft's solution is a PITA and
> very poorly implemented.  The sandbox is TOO restrictive (i.e., Eval is a
> very useful function in queries but is sandboxed), but there is some risk
> running without it.
>
> --
> Paul Overway
> Logico Solutions
> http://www.logico-solutions.com
>
>
> "Brad Wood" <bradley_.wood_@ndsu_.edu> wrote in message
> news:uJ74I9PQFHA.244@TK2MSFTNGP12.phx.gbl...
> > TC wrote:
> >> No, there is another (better) option. It is trivially simple to try it
> >> out. Google this group for posts from me (TC) including the term
> >> "automationsecurity", to find the details.
> >>
> >
> > Thanks; that will work fine.  I still think there should be no reason to
> > bother with security unless the database I'm opening itself contains
code
> > (as opposed to mere data).
>
>
Author
15 Apr 2005 4:12 AM
TC
I can't see how .NET would affect this. The warnings come from Access &
Jet. If a .NET component used Jet somehow, I image the warnings would
still appear, unless .NET dropped the Office macro security level, set
the relevant registry keys, used the AutomationSecurity property, & so
on.

But I'm no .NET expert ...

Cheers,
TC
Author
15 Apr 2005 2:32 PM
Brendan Reynolds
The macro security warning comes from Access, not Jet, and is not relevant
when not using automation. You won't see that warning when using Jet via
..NET, though you would if you automated Access via .NET.

This is not to suggest that there are no security issues in .NET, of course.
There are security issues in all development environments.

--
Brendan Reynolds (MVP)

Show quoteHide quote
"TC" <aatcbbtcc***@yahoo.com> wrote in message
news:1113538353.651487.299550@z14g2000cwz.googlegroups.com...
>I can't see how .NET would affect this. The warnings come from Access &
> Jet. If a .NET component used Jet somehow, I image the warnings would
> still appear, unless .NET dropped the Office macro security level, set
> the relevant registry keys, used the AutomationSecurity property, & so
> on.
>
> But I'm no .NET expert ...
>
> Cheers,
> TC
>
Author
16 Apr 2005 3:21 AM
TC
Brendan Reynolds wrote:

> The macro security warning comes from Access, not Jet

Doh! I should have realized that. Otherwise, a VBScript
createobject("dao.dbengine.nn") would get the warning (and it doesn't).

Cheers,
TC
Author
18 Apr 2005 3:51 PM
Immanuel Sibero
Brendan and TC,
Thank you, as always.

Immanuel Sibero



Show quoteHide quote
"Brendan Reynolds" <anonymous at discussions dot microsoft dot com> wrote in
message news:%23BMqFgcQFHA.3880@tk2msftngp13.phx.gbl...
> The macro security warning comes from Access, not Jet, and is not relevant
> when not using automation. You won't see that warning when using Jet via
> .NET, though you would if you automated Access via .NET.
>
> This is not to suggest that there are no security issues in .NET, of
course.
> There are security issues in all development environments.
>
> --
> Brendan Reynolds (MVP)
>
> "TC" <aatcbbtcc***@yahoo.com> wrote in message
> news:1113538353.651487.299550@z14g2000cwz.googlegroups.com...
> >I can't see how .NET would affect this. The warnings come from Access &
> > Jet. If a .NET component used Jet somehow, I image the warnings would
> > still appear, unless .NET dropped the Office macro security level, set
> > the relevant registry keys, used the AutomationSecurity property, & so
> > on.
> >
> > But I'm no .NET expert ...
> >
> > Cheers,
> > TC
> >
>
>
Author
15 Apr 2005 4:17 AM
TC
Glad that it will work for you.

I agree with Paul that a data-only database can still cause harm. But
IMO, Microsoft should have provided some way for a user to say: "I
trust this specific application, please stop giving me friggin'
warnings about it!" In theory you can do this using a "self certified"
certificate. But that is way too difficult & unpredictable for most
users, IMO.

Cheers,
TC