Allowing ISAPI DLL Access to Network Shares

In order to allow the interface DLL access to network shares it must be configured to run as an account other than the internet guest account.  That account must be able to access the share using a DNC path (\\host\path) without needing to provide a user id and password.  i.e. there must be a trusted relationship between the web server and the file server on the chosen account.

 

Due to technical considerations concerning the Delphi components that generate reports to PDF files the interface DLL must be configured as an account other than the internet guest account.  That account MUST have a default printer configured.

 

To configure the DLL to run as another account do this:

 

With IIS5 on Windows 2000 Server it works like this: In Internet Service

Manager, navigate to your ISAPI DLL, right-click on it, and select

Properties.  Then select the File Security tab and click on the Edit button

located in the “Anonymous access and authentication control” box.  This will

bring up the “Authentication Methods” dialog box.  In this dialog box, click

on the Edit button located in the “Anonymous access” box.  This brings up

the “Anonymous User Account” dialog box, which you can then use to specify

the user name and password of a domain user.

 

After doing this make sure that the DLL has the necessary Windows permissions to allow the selected user id read and execute it.

Comments are closed.