This action might not be possible to undo. Are you sure you want to continue?
Data access pages permit you to create data-bound Web pages that you can view in Microsoft Internet Explorer 5.0 or later. These Web pages are typically intended for intranet use. However, with special considerations, data access pages can be deployed successfully over the Internet. Office Web Components must be installed on the computer that views the data access pages. By default, the components are installed with any Microsoft Office 2000 installation. This article describes considerations that you must be aware of before you can deploy data access pages over the Internet. These considerations do not address possible security issues. If you have possible security issues, or if you want additional information about possible methods that you may use to enhance security for data access pages, see the "References" section. Because the majority of the steps that are involved are performed on the server, this article assumes that you have a correctly configured Web server on the NTFS file system partition for deployment. If you are not hosting the Web site to house the data access pages, you must be able to work with your Internet Service Provider (ISP) to correctly configure the Web server.
Create a User for Anonymous Access
Depending on whether you use Microsoft Windows NT 4.0, Microsoft Windows 2000, or Microsoft Windows Server 2003, the steps that you must follow to create a user for anonymous access may vary. On the Web server where the data access pages are located, follow these steps: Windows Server 2003 1. Click Start, point to All Programs, point to Administrative Tools, and then click Computer Management. 2. Expand Local Users and Groups, and then click the Users folder. 3. On the Action menu, click New User. 4. In the User name box, type DAPInternetAccount. 5. Click to clear the User must change password at next logon check box, click to select the User cannot change password check box, click to select the Password never expires check box, and then click Create. 6. Click Close to close the New User dialog box, and then close the Microsoft Management Console.
and then click My Computer. Additionally. Configure the Web Server To return data to data access pages over the Internet. By default. Therefore. use that drive letter. but select the folder where the database is located. you must grant the appropriate permissions to the user who you created in the previous section. Click OK to close the dialog box. Click Start. and then click Add. Click OK to close the Msadc Properties dialog box. 2. The following steps must be performed on the Web server: Note If you deploy data access pages in an Access project (. Note If your operating system is installed on a different logical drive. 6. Therefore. Move to the C:\program files\common files\system folder. and then assign Full Control permissions to this file. Repeat step 1 through step 6. This file is created when the user works with an Access database. you can omit these steps. you must configure remote data services (RDS) on the Web server. 7. where <ServerName> is the computer name of the Web server. and then close the MSADC folder.Configure Folder and File Permissions The user who interacts with your data access pages over the Internet must have Windows NT file permissions to the database to work with the locking (. click the Security tab in the MSADC Properties dialog box. This results in read permissions being assigned to the subdirectory. Replace <<Type names separated by semicolons or choose from list>> with <ServerName>\DAPInternetAccount. click Properties. 8. and then click to clear the List Folder Contents check box for the MSADC folder.adp). but select the database file. and then assign Full Control permissions to this folder. 4. the DAPInternetAccount may have already inherited Full Control permissions on the database file. For additional information about how to configure RDS to run on a site other than the . Windows Server 2003 1. the user must have read permission for the folder where the Remote Data Service (RDS) components are located. These steps do not apply to Microsoft SQL Server.ldb) file. Make sure DAPInternetAccount is selected. Windows Server 2003 permissions that are assigned to a folder automatically propagate to the files that are in that folder. Right-click the MSADC folder. You can configure RDS by using the MSADC virtual directory on the server. 5. Repeat step 1 through step 6 again. 3.
com/kb/184606/ ) HOWTO: Use RDS from an IIS 4. Windows Server 2003 1. 11. or you may receive the following error message: Error: Safety settings on this computer prohibit accessing a data source on another domain. Move to the Execute Permissions drop-down list in the MSADC Properties dialog box. Therefore. 6. click Next. Additional Configuration Settings for Windows Server 2003 You must apply the following configuration settings. 4. type MSADC in the Alias box. 13.0) because IIS performance is severely degraded because of the network load and the processor load that is imposed by authentication and other roles that are performed by domain controllers. and then click Properties. and then click Browse that is next to the User name box. 9. move to the Enter the object name to select box. point to Administrative Tools. Click the Directory Security tab. Note WebServer is the actual computer name that is assigned to your Web server. and then click Internet Information Services (IIS) Manager. Click Start. Under IP address and domain name restrictions. 7. and then expand Web Sites. and then close IIS Manager. 12. 5. . click Edit. and then click OK. and then click Scripts and Executables. click the following article number to view the article in the Microsoft Knowledge Base: 184606 (http://support. Click OK to close the MSADC Properties dialog box. 3. point to All Programs. and then click Finish. 8. 10. click Next two times.microsoft. and then click Edit under Authentication and access control. point to New. and then click Virtual Directory. In the IP Address and Domain Name Restrictions dialog box.default Web site. Microsoft does not test data access pages on a domain controller that runs IIS and does not support this configuration. Click to select the Enable anonymous access check box. or on a PDC if you run Microsoft Windows NT Server 4. Right-click the new MSADC virtual directory.0 Virtual Server Important Microsoft does not recommend that you run Internet Information Services (IIS) on a domain controller (or on a BDC. In the Virtual Directory Creation Wizard. and then click OK. type C:\Program Files\Common Files\System\msadc in the Path box. type DAPInternetAccount. 2. Expand WebServer (local computer). click Granted Access. Click OK to close the Authentication Methods dialog box. click Next. In the Select User dialog box. Right-click Default Web Site.
ini file on the Web server to permit data connections to the server.ini File You can use the Msdfmap. 1. enter MSADC in the Extension name box.sql=" " You make this change to permit you to use any SQL statement against any data source on the Web server. open the Msdfmap. and then expand Web Server Extensions. 6. change: 5. Expand WebServer (local computer) (where WebServer is the actual computer name that is assigned to your Web server). . and then click Internet Information Services (IIS) Manager. point to Administrative Tools. change: 3. and then click OK.ini file in Notepad. Click to select the Set extension status to Allowed check box. Access=NoAccess -toAccess=ReadWrite You make this change to permit read connections and to permit write connections to all data connections that are on the server. This file is found in the \WINNT folder. 5. 2. 4.dll. and then click OK. Close IIS Manager. 7. 3. Click the Add a new Web service extension hyperlink. On the Web server. In the "[connect default]" section. sql=" " -to. 4. type C:\Program Files\Common Files\System\msadc\msadcs. Modify the Msdfmap. and then click Add.1. point to All Programs. In the "[sql default]" section. When the New Web Service Extension dialog box appears. When the Add file dialog box appears. You can modify this file in a variety of ways to permit data connections or to limit connections to a particular database. Click Start. 2.
and then click OK. However. 1. Instead. and then click Connection. Because the wwwroot folder is typically open to the public. if the property sheet does not appear. Where to Put the Database and the Data Access Pages Although not required. Close and then save the data access page. open the data access pages in Microsoft FrontPage 2000. change the UseRemoteProvider property to True. 3. to enhance security. and then edit the connection string manually as follows: Note You must change the UseRemoteProvider property to true in Access before you open the data access pages in FrontPage 2000. Important If you are not hosting the Web site. 6. if the field list does not appear. 4. On the View menu. While certain steps in this article may be modified depending on the security settings that you select. click Select Page. 2. click Find. 8. when you install IIS. Instead. . click Field List. 2. Modify the Data Access Pages Because data access pages look on the client side to find the data source. By default. 3. routine deployment of data access pages does not work over the Internet. click Open. click the HTML tab. 9. On the File menu. 7. you can store the database on the Web server with the data access pages. 6. a malicious user may potentially download the database. On the Edit menu. this section must be completed to successfully deploy three-tier data access pages. On the Data tab.ini file. Open the data access page in Design view. Click OK to close the Data Link Properties dialog box. Type ConnectionString. Right-click the name of the database that is at the top of the field list. 1. Type the URL for your data access page on the Web server. Save and then close the Msdfmap. Start FrontPage 2000. 5. put the database in a different folder on the Web server. On the lower-right side of the screen. Verify that the connection string points to a path that can be seen from the Web server. put the database in a folder other than the Web site folder. On the Edit menu. To enhance security.6. 5. click Properties. the Web site folder is c:\inetpub\wwwroot. On the View menu. you may not be able to save changes to data access pages that are opened directly in Access 2000 by using the URL for the data access pages. 4. you must configure three-tier data access pages by using the UseRemoteProvider property of the page. and then click Find Next. such as c:\inetpub.
8. Edit the "Data Source" section of the connection string so that it points to the path of the database on the Web server. Open the URL for the data access page in Internet Explorer 5.7. .0 or later to test the deployment.
This action might not be possible to undo. Are you sure you want to continue?
We've moved you to where you read on your other device.
Get the full title to continue reading from where you left off, or restart the preview.