dbTalk Databases Forums  

A2K3 on Windows Terminal Server

comp.databases.ms-access comp.databases.ms-access


Discuss A2K3 on Windows Terminal Server in the comp.databases.ms-access forum.



Reply
 
Thread Tools Display Modes
  #11  
Old   
Dimitri Furman
 
Posts: n/a

Default Re: A2K3 on Windows Terminal Server - 01-01-2005 , 08:25 PM






On Jan 01 2005, 06:18 pm, "David W. Fenton" <dXXXfenton (AT) bway (DOT) net.invalid>
wrote in news:Xns95D1BB9EBEAEEdfentonbwaynetinvali (AT) 24 (DOT) 168.128.74:

Quote:
Trevor Best <nospam (AT) besty (DOT) org.uk> wrote in
news:41d600c6$0$21321$db0fefd9 (AT) news (DOT) zen.co.uk:

Set Macro Security to Low, just like in Word/Excel.

Where? Can it be done in code? Can the base installation of Access
be configured this way so that all users inherit that setting when
they log on for the first time?
Yes, this and practically all other Office settings can be set before
installation, as well as installation states of all Office components. Take
a look at the Deployment Guide in the Office Resource Kit at
http://office.microsoft.com/en-us/as...401921033.aspx

It may take a few hours to read through, and a few more hours to
implement, but it will simplify Office installation and administration a
lot.

As far as the macro security in A2003, there is a workaround for cases when
it is not set to Low, which involves creating an Access instance from an
external launcher and setting a property of the instance that supresses the
warnings. There is a KB article with some sample code - post back if you
can't find it, I'll dig out the link.

And of course, you can always create self-signed certificates and install
them on all machines that will run your application, which is also
described somewhere on MS site.

--
remove a 9 to reply by email


Reply With Quote
  #12  
Old   
Trevor Best
 
Posts: n/a

Default Re: A2K3 on Windows Terminal Server - 01-02-2005 , 06:46 AM






Dimitri Furman wrote:
Quote:
And of course, you can always create self-signed certificates and install
them on all machines that will run your application, which is also
described somewhere on MS site.
With a certificate, doesn't it come up with a warning anyway?

--
This sig left intentionally blank


Reply With Quote
  #13  
Old   
Hans Karman
 
Posts: n/a

Default Re: A2K3 on Windows Terminal Server - 01-02-2005 , 08:43 AM



I have a problem with the statement that "Access2000 and Access2003 running
is entirely seamless".

My application runs perfectly in Access2000, as source code or as a runtime.
However, the runtime will NOT run on Access 2003. When I try it, the A2003
fails on startup with a runtime error, and when I look at the reasons, it
appears that the MS Access 9.0 Object Library has been replaced with MS
Access 10.0 Object Library, which appears not to be compatible. I have
included the 9.0 library in the installed code, but it makes no difference.
Even when I try to run it from the source code, it fails with the typical
"Missing references" type errors.

It's possible I am doing something stupid, but if I am, I can't get it going
under A2003. I don't have a copy of A2003 developer, so can't distribute
A2003.

Hans Karman, Canberra, Australia


"David W. Fenton" <dXXXfenton (AT) bway (DOT) net.invalid> wrote

Quote:
Trevor Best <nospam (AT) besty (DOT) org.uk> wrote in
news:41d600c6$0$21321$db0fefd9 (AT) news (DOT) zen.co.uk:

David W. Fenton wrote:
Tom van Stiphout <no.spam.tom7744 (AT) cox (DOT) net> wrote in
news:q4f9t01403gjqic3mkog9l5ptlur3nlapb (AT) 4ax (DOT) com:


What I meant was, that running an Access2000 application in
Access2003 is entirely seamless. No need to set anything. Just
really good backward compatibility from your friends at MSFT.


What about the code signing thing? Don't you have to turn
something off in Access to get it to stop nagging you about
unsafe code execution?

Set Macro Security to Low, just like in Word/Excel.

Where? Can it be done in code? Can the base installation of Access
be configured this way so that all users inherit that setting when
they log on for the first time?

--
David W. Fenton http://www.bway.net/~dfenton
dfenton at bway dot net http://www.bway.net/~dfassoc



Reply With Quote
  #14  
Old   
Dimitri Furman
 
Posts: n/a

Default Re: A2K3 on Windows Terminal Server - 01-02-2005 , 09:15 AM



On Jan 02 2005, 07:46 am, Trevor Best <nospam (AT) besty (DOT) org.uk> wrote in
news:41d7ed3e$0$21323$db0fefd9 (AT) news (DOT) zen.co.uk:

Quote:
Dimitri Furman wrote:
And of course, you can always create self-signed certificates and
install them on all machines that will run your application, which is
also described somewhere on MS site.

With a certificate, doesn't it come up with a warning anyway?
Yes for Medium and High, but it doesn't happen if you add the author to the
list of Trusted Publishers. It turns out thought that you cannot add a
self-signed certificate to the list of Trusted Publishers on any machine
other than the one where it was created. So this is hardly an option for
application deployment, after all.

--
remove a 9 to reply by email


Reply With Quote
  #15  
Old   
David W. Fenton
 
Posts: n/a

Default Re: A2K3 on Windows Terminal Server - 01-02-2005 , 06:45 PM



"Darryl Kerkeslager" <Kerkeslager (AT) comcast (DOT) net> wrote in
news:4YWdnTcMfccBo0rcRVn-hQ (AT) comcast (DOT) com:

Quote:
I've been following this thread, and was going to ask the same
question, but then I thought ... "Now how secure would that be if
you could turn off the security that prevents you running the
database (without a message) from the database?" ...
It would be just as secure as every single previous version of
Access that has ever existed.

In other words, as far as I'm concerned, a complete non-issue.

This is an area (code signing) where I believe MS has really screwed
up -- the certificates cost way too much for the casual programmer,
who is then forced to use the non-secure methods to run her
applications.

--
David W. Fenton http://www.bway.net/~dfenton
dfenton at bway dot net http://www.bway.net/~dfassoc


Reply With Quote
  #16  
Old   
David W. Fenton
 
Posts: n/a

Default Re: A2K3 on Windows Terminal Server - 01-02-2005 , 06:47 PM



Dimitri Furman <dfurman (AT) cloud99 (DOT) net> wrote in
news:Xns95D2684C749A9dfurmancloud99 (AT) 127 (DOT) 0.0.1:

Quote:
On Jan 02 2005, 07:46 am, Trevor Best <nospam (AT) besty (DOT) org.uk> wrote
in news:41d7ed3e$0$21323$db0fefd9 (AT) news (DOT) zen.co.uk:

Dimitri Furman wrote:
And of course, you can always create self-signed certificates
and install them on all machines that will run your application,
which is also described somewhere on MS site.

With a certificate, doesn't it come up with a warning anyway?

Yes for Medium and High, but it doesn't happen if you add the
author to the list of Trusted Publishers. It turns out thought
that you cannot add a self-signed certificate to the list of
Trusted Publishers on any machine other than the one where it was
created. So this is hardly an option for application deployment,
after all.
If I create the certificate on the Windows Terminal Server, and only
WTS users are using A2K3 to run the app (which is actually in A2K
format), won't that do the job?

--
David W. Fenton http://www.bway.net/~dfenton
dfenton at bway dot net http://www.bway.net/~dfassoc


Reply With Quote
  #17  
Old   
Trevor Best
 
Posts: n/a

Default Re: A2K3 on Windows Terminal Server - 01-03-2005 , 06:59 AM



David W. Fenton wrote:
Quote:
It would be just as secure as every single previous version of
Access that has ever existed.

In other words, as far as I'm concerned, a complete non-issue.

This is an area (code signing) where I believe MS has really screwed
up -- the certificates cost way too much for the casual programmer,
who is then forced to use the non-secure methods to run her
applications.
Too true, we're going to get asked if we want to execute msaccess.exe
next because it's an executable and might contain malicious code, oh
hang on, if msaccess.exe (or any exe) is on a network drive and you're
running Win2003 you already do. This is getting far too namby pamby,
what the hell do MS think we have antivirus programs and firewalls for?

Remember that old joke about MS vs GM? When the GM man said a MS airbag
would ask "are you sure?" before deploying? It would be funny if it
wasn't so near the truth.

--
This sig left intentionally blank


Reply With Quote
  #18  
Old   
Darryl Kerkeslager
 
Posts: n/a

Default Re: A2K3 on Windows Terminal Server - 01-03-2005 , 07:22 AM



Well, I'm glad you started this thread. They've begun [upgrading] all our
PCs (slowly) to XP, and the first user, upon seeing the XP security warning
message, read it just enough to tell me that my application "won't work
anymore". For her, that was it, end of story. Never mind that the actual
message said nothing of the sort; she just saw an unfamiliar message, and
clicked Cancel.


Darryl Kerkeslager



Reply With Quote
  #19  
Old   
Stephen K. Young
 
Posts: n/a

Default Re: A2K3 on Windows Terminal Server - 01-03-2005 , 04:33 PM



In your install or update program, you can set the following registry values
to prevent the security warning:

If you have Admin rights:
HKLM\Software\Microsoft\Office\11.0\Access\Securit y\; ValueType: dword;
ValueName: Level; ValueData: 1;

If you have User rights:
HKCU\Software\Microsoft\Office\11.0\Access\Securit y\; ValueType: dword;
ValueName: Level; ValueData: 1;

- Steve

"Darryl Kerkeslager" <Kerkeslager (AT) comcast (DOT) net> wrote

Quote:
Well, I'm glad you started this thread. They've begun [upgrading] all our
PCs (slowly) to XP, and the first user, upon seeing the XP security
warning
message, read it just enough to tell me that my application "won't work
anymore". For her, that was it, end of story. Never mind that the actual
message said nothing of the sort; she just saw an unfamiliar message, and
clicked Cancel.


Darryl Kerkeslager





Reply With Quote
  #20  
Old   
Dimitri Furman
 
Posts: n/a

Default Re: A2K3 on Windows Terminal Server - 01-03-2005 , 06:18 PM



On Jan 02 2005, 07:47 pm, "David W. Fenton" <dXXXfenton (AT) bway (DOT) net.invalid>
wrote in news:Xns95D2CA8DD92FBdfentonbwaynetinvali (AT) 24 (DOT) 168.128.78:

Quote:
Dimitri Furman <dfurman (AT) cloud99 (DOT) net> wrote in
news:Xns95D2684C749A9dfurmancloud99 (AT) 127 (DOT) 0.0.1:

On Jan 02 2005, 07:46 am, Trevor Best <nospam (AT) besty (DOT) org.uk> wrote
in news:41d7ed3e$0$21323$db0fefd9 (AT) news (DOT) zen.co.uk:

Dimitri Furman wrote:
And of course, you can always create self-signed certificates
and install them on all machines that will run your application,
which is also described somewhere on MS site.

With a certificate, doesn't it come up with a warning anyway?

Yes for Medium and High, but it doesn't happen if you add the
author to the list of Trusted Publishers. It turns out thought
that you cannot add a self-signed certificate to the list of
Trusted Publishers on any machine other than the one where it was
created. So this is hardly an option for application deployment, after
all.

If I create the certificate on the Windows Terminal Server, and only
WTS users are using A2K3 to run the app (which is actually in A2K
format), won't that do the job?
I suppose it would, although you would have to re-sign on TS every time you
release a new version of the app.

I think that using an external launcher to set AutomationSecurity property
is the most bullet-proof and hassle-free way of addressing macro security.
You can use VBS if you can't compile an executable for any reason. Here are
some details (sample VBS script towards the end):
http://office.microsoft.com/en-us/as...397921033.aspx

--
remove a 9 to reply by email


Reply With Quote
Reply




Thread Tools
Display Modes

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

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Powered by vBulletin Version 3.5.3
Copyright ©2000 - 2012, Jelsoft Enterprises Ltd.