You probably need to change the account that is used to access anonymous content. See below for more details.
When you request any resource through IIS, the server accesses the resource using a user account. The authentication behaviour can be set at server, site or virtual directory level. Open the properties dialog at the appropriate place and select the 'Directory Security' tab. This shows the authentication options.
By default, the authentication method for a virtual directory is set to accept 'Anonymous Access' and 'Windows Integrated Authentication'. This means that the user will access the resource anonymously or as a user that can be authenticated against a Windows NT domain. The two methods are described below.
Anonymous Access: By default, IIS uses the IUSR_Servername account to access any resource that is requested anonymously. This account is created during the IIS installation (or when the OS is installed) and should never be granted much in the way of permissions. It is unwise to grant more than minimal access rights (e.g. network rights) to the IUSR account.
The IUSR account is only used by default. It is possible to use a different account for a specific virtual directory (in your case this is where your perl script is located). Properties page for the virtual directory -> Directory security tab -> Authentication Edit button -> Anonymous Authentication Edit Button. You can now change the user account that IIS uses for anonymous authentication to the virtual directory. You should of course choose an account with suitable rights. A Domain user account set up for the purpose and given minimal rights is probably the right thing to do.
Windows Integrated Authentication: This requires your users to use Internet Explorer as their browser and have a Windows NT Domain account. It basically means that the IIS server uses the users own account to access the resource. This is a good way to go if you are providing an application in a limited environment where everyone logs on to a Windows Domain anyway.
Enjoy.
Inman
In reply to Re: Windows Share Access from CGI Script
by inman
in thread Windows Share Access from CGI Script
by qadwjoh
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |