473,748 Members | 3,697 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Data Access Pages DAPs

In a recent thread there has been discussion about Data Access Pages. It
has been suggested that they are not permitted on many or most secure sites.

Perhaps, that it is so, although I know of no site that has this
prohibition, and I have uploaded DAPs to various sites and used them
from those sites.

I do not understand why any site manager would prohibit DAPs. To the
best of my knowledge DAPs, as HTM files, are merely hosted on the remote
site. They do not run on the remote site, as say, an ASP file, runs on a
remote site. When we open a DAP from a remote site, or any other HTM or
HTML file for that matter, the browser downloads the HTML script to the
client machine and runs any code, script or similar technology from the
client machine. This, of course, connects to the database and displays
the data, and except in the case of report type, read only, DAPs allows
for its editing. This is the reason, (along with the economic reason),
why local machines must have specific software installed, and why DAPs
must run within Microsoft Internet Explorer. Just like an ASP file
requiring an ASP installation on the server to run on the server, so a
DAP (HTM) file requires the installation of requisite parts of MS-Office
to run where it runs, that is, on the client machine.

DAPs do not need to be hosted on a web site. They can be distributed, by
e-mail or through network file transfer or any other way and run
directly on machines meeting the conditions already described.

Are DAPs secure? They show all the information of the Access application
connection string in their HTML source. This includes Sever Name,
Database Name, Source, User Name, and, if it has been saved in the
Access application, the Password. So they may be as secure as your
application, without however, having available all the security
provisions of Access.
My preference is to restrict access to this information. So I do not
save Passwords and I distribute DAPs privately via e-mail, or I store
them on a web site which requires an NT login, user name and password
distinct from the database server user name and password. By doing the
latter, I achieve immediate update to the latest version simply by
replacing the DAP file on the server.

DAPs are simply machine-made HTM files that use Microsoft Technology to
allow for the display and editing of data. Similar, perhaps better, (for
instance, I conceal and encrypt the connection string), HTM files, with
the same capabilities, can be created by humans and distributed in the
same way. The technology Microsoft uses in the DAP can be used, but
Javascript, ActiveX Objects, and DHTML do a fine job. I have written
about twenty of these, and they have performed well for two years.

I find that DAPs are useful for simple tasks; for example, adding a
payment to a loan table, and showing the state of the loan with
calculated daily interest and balance where no sub-forms and no pull
downs are required.

One of the simplest way to design a DAP to one's liking is to design an
Access Form; after it has been perfected, it can be saved as a DAP and
for the most part, the DAP will have the same functionality and, to a
lesser extent, appearance as the Form.

I'm not a great supporter of DAPs. I use them in the way I have
described, to create quickly simple interfaces that can be distributed
easily. In my opinion they present no problem to hosting sites, are not
especially insecure, not especially resource consuming, and not
especially useful. Like most of Microsoft Technology, when they are
studied and mastered, and implemented carefully, they can be used to
accomplish some limited goals with a minimum investment of time and
resources.
Nov 13 '05 #1
3 3492
Lyle Fairfield wrote:
In a recent thread there has been discussion about Data Access Pages. It
has been suggested that they are not permitted on many or most secure
sites.

Perhaps, that it is so, although I know of no site that has this
prohibition, and I have uploaded DAPs to various sites and used them
from those sites.

I do not understand why any site manager would prohibit DAPs. To the
best of my knowledge DAPs, as HTM files, are merely hosted on the remote
site. They do not run on the remote site, as say, an ASP file, runs on a
remote site. When we open a DAP from a remote site, or any other HTM or
HTML file for that matter, the browser downloads the HTML script to the
client machine and runs any code, script or similar technology from the
client machine. This, of course, connects to the database and displays
the data, and except in the case of report type, read only, DAPs allows
for its editing. This is the reason, (along with the economic reason),
why local machines must have specific software installed, and why DAPs
must run within Microsoft Internet Explorer. Just like an ASP file
requiring an ASP installation on the server to run on the server, so a
DAP (HTM) file requires the installation of requisite parts of MS-Office
to run where it runs, that is, on the client machine.

DAPs do not need to be hosted on a web site. They can be distributed, by
e-mail or through network file transfer or any other way and run
directly on machines meeting the conditions already described.

Are DAPs secure? They show all the information of the Access application
connection string in their HTML source. This includes Sever Name,
Database Name, Source, User Name, and, if it has been saved in the
Access application, the Password. So they may be as secure as your
application, without however, having available all the security
provisions of Access.
My preference is to restrict access to this information. So I do not
save Passwords and I distribute DAPs privately via e-mail, or I store
them on a web site which requires an NT login, user name and password
distinct from the database server user name and password. By doing the
latter, I achieve immediate update to the latest version simply by
replacing the DAP file on the server.

DAPs are simply machine-made HTM files that use Microsoft Technology to
allow for the display and editing of data. Similar, perhaps better, (for
instance, I conceal and encrypt the connection string), HTM files, with
the same capabilities, can be created by humans and distributed in the
same way. The technology Microsoft uses in the DAP can be used, but
Javascript, ActiveX Objects, and DHTML do a fine job. I have written
about twenty of these, and they have performed well for two years.

I find that DAPs are useful for simple tasks; for example, adding a
payment to a loan table, and showing the state of the loan with
calculated daily interest and balance where no sub-forms and no pull
downs are required.

One of the simplest way to design a DAP to one's liking is to design an
Access Form; after it has been perfected, it can be saved as a DAP and
for the most part, the DAP will have the same functionality and, to a
lesser extent, appearance as the Form.

I'm not a great supporter of DAPs. I use them in the way I have
described, to create quickly simple interfaces that can be distributed
easily. In my opinion they present no problem to hosting sites, are not
especially insecure, not especially resource consuming, and not
especially useful. Like most of Microsoft Technology, when they are
studied and mastered, and implemented carefully, they can be used to
accomplish some limited goals with a minimum investment of time and
resources.

Here is some info from my web site, summarizing what I found about DAPs:

*************** *************** *************** *************** *************** ****

***** IMPORTANT UPDATE *****

UPDATE: When implementing my first app using Data Access Pages, I had
an epiphany and finally realized that my DAPs were still actually using
my local PC database.

I learned more about UseRemoteProvid er and the need to specify a UNC
reference to the database

\\myPCName\DBdi rectory\DBName. mdb

Note that the DBDirectory must be a directory name available for Web
sharing (right click on the directory in Windows Explorer).

Also I just figured out that since the pages are all HTML, there is no
server side processing. All DB processing is client-side via Active
X/ADO. To access the database on a server, in addition to setting the
proper DB location reference and setting useremoteprovid er in the Access
page definition, the server must also be setup properly to support RDS
or Remote Data Services. This is the link between the ActiveX in the
page displayed to the database back on the server.

In my case, I could not get this to work using my own PC as a IIS
server. My PC works just fine for ASP and ASPX pages but not RDS. I
did some reading and found you must also configure a control file called
mdfsmap.ini - but read “Setting up the configuration file (mdfsmap.ini)
for the remote service provider is a bit tricky and needs a bit of
trial and error.” I tried and still can’t get it to work.

Then when doing research on the RDS problems, I find out that Microsoft
has “deprecated” RDS – made it obsolete. Also, it is not widely used if
at all by ISPs due to security concerns. So, even if I could get it to
work, I could not use any public server.

So if you are considering Access data access pages for Internet – forget it.

http://members.cox.net/tulsaalstons/...20Internet.htm


2/9/2005 7:31:48 PM Re: Data Access Page Provider Initialization Failure
The RemoteProvider cannot work without a RDS layer properly configured on

the server side and, bad news, the RDS has been declared deprecated many

years ago by Microsoft for security concerns.

For all practicality, you cannot use DAP to access an MDB datafile over
the

Internet, unless you use RDS or a VPN.

S. L.
http://64.233.167.104/search?q=cache...precated&hl=en
http://www.dbforums.com/archive/index.php/t-891292.html
http://www.highdots.com/forums/acces...e-1919716.html
http://64.233.167.104/search?q=cache...precated&hl=en
Hope some of this info helps.

Bob

Nov 13 '05 #2
I think you are saying DAPs cannot connect to MDBs resident on a
web-server. I suspect that, like Access, they were not intended to be
connected to MDBs resident on a web-server.
If someone has done this, I would love to hear about it.

Nov 13 '05 #3
lylefair wrote:
I think you are saying DAPs cannot connect to MDBs resident on a
web-server. I suspect that, like Access, they were not intended to be
connected to MDBs resident on a web-server.
If someone has done this, I would love to hear about it.

Yes, you are correct as to what I was saying. but don't you like the
big words I used, like "deprecated ". Sure sounds like you would need a
consultant. <grin>

Also, I erred when I thought it was working when I uploaded to a web
server, tried it and it worked. Of course that was because the database
was also on my PC. So for anyone who thinks they really have it working
on a server, try your web page from another PC, not the one you
developed it on and not one connected via a LAN.

Bob
Nov 13 '05 #4

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

1
1381
by: Lyle Fairfield | last post by:
I am slapping together a few utilitarian DAPs and am finding it so much easier to design the object as a form first and then to save it as a DAP than to design the DAP from scratch or even to use a DAP wizard. Maybe everybody knows this but I didn't and perhaps there is someone who had more or less given up on DAPs as I had because of their (for me) less than inutitive design interface, and would like to give them another go this way. --...
0
1270
by: nt | last post by:
I have just installed SP2 for XP Pro, and all of a sudden, my data access pages that use OWC have slowed to a crawl. The pages themselves have not changed at all. The bottle-neck seems to be a bound drop down list, which retrieves about 10000 records. Previously, it took maybe 5 seconds to fully populate the drop down list, now that has become over one minute, with Internet Explorer gobbling up 100% of CPU cycles. It does not matter...
1
1253
by: Mark Thomas | last post by:
Having read all the posts I can on this subject I am still left wondering whether or not ISPs/web hosters are currently supporting DAPs? Mark Thomas
2
5842
by: carrionk | last post by:
Hi, Which are the options for publishing access information over an Intranet? Besides ADPs, are there any programs I can use for letting people use Forms of an Access DB inside IE? I've been reading that ADPs can't contain all the functionality of Access forms. Are there options that are not server dependant i.e. ASP.
2
1774
by: Bob Alston | last post by:
Anyone out there successfully deployed Data Access Pages, on a server they do not control, using RDS in a 3-tier environment? If so I would like to hear about your success. From my reading, RDS is not widely available on commercial servers due to security issues advised by Microsoft (see prior posts). I have done it successfully in a two tier environment - which (according to Microsoft) is where the page is on a server, but the access...
10
3166
by: Edlueze | last post by:
I am developing some Data Access Pages (DAP) using Microsoft Access 2003 on Microsoft Windows XP. When I try to open these pages (located on my C: drive), the display of the data access page is blocked and I receive the following error message in the Information Bar in Microsoft Internet Explorer: "To help protect your security, Internet Explorer has restricted this site from showing certain content. Click here for options."
5
5323
by: SRAM | last post by:
Hi, Problem statement: We have some amount of data stored in various excel sheets and we generate a few reports from these data. We are in the process of consolidating all data to reside in a single repository. Currently, it is semi-automated i.e. we are using MS Excel for data entry, consolidation and report generation (i.e. using formulas). We require a tool that will provide: a) A web-based interface for data entry (i.e. remote,
3
1710
by: tom.youdan | last post by:
Hi, I have created a database that is used to store contact information for NGO's accross India. It is simple in structure and I want a portion of the data to be viewable on the Internet. I want the information to be available for read access only. What is the potential for using Data Access pages for this task and what are the key questions/technologies I need to address before I can
49
4354
by: Allen Browne | last post by:
If you are looking for opinon on what's useful in Access 2007, there's a new article at: http://allenbrowne.com/Access2007.html Covers what's good (useful features), what's mixed (good and bad), what's gone (features removed), what's fixed (old issues solved), what's broken (new bugs), configuration, compatibility, should you buy, and links. It is opinion, so you may disagree, but hopefully it's an informative summary.
0
8989
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main usage, and What is the difference between ONU and Router. Let’s take a closer look ! Part I. Meaning of...
0
8828
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
0
9367
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth. The Art of Business Website Design Your website is...
1
9319
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
0
9243
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
1
6795
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms. Adolph will...
0
4869
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
1
3309
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
3
2213
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.