CreateVirtualDirectory.

AccessNoRemoteRead Property

Summary

Indicates whether remote requests to view files are denied; only requests from the same computer as the IIS server succeed if NAnt.Contrib.Tasks.Web.CreateVirtualDirectory.AccessExecute is set to true. You cannot set NAnt.Contrib.Tasks.Web.CreateVirtualDirectory.AccessNoRemoteRead to false to enable remote requests, and set NAnt.Contrib.Tasks.Web.CreateVirtualDirectory.AccessRead to false to disable local requests. The default is false.

Syntax

[TaskAttribute("accessnoremoteread"), IisProperty]
public bool AccessNoRemoteRead { get; set; }

Attributes

Type Description
TaskAttribute
CreateVirtualDirectory.IisPropertyAttribute

Value

Type Description
bool