Click or drag to resize
IWebSiteExtenderProtectFolder Method
Marks a URL folder as protected. Only administrators may access protected folders.

Namespace: VirtualRadar.Interface.WebSite
Assembly: VirtualRadar.Interface (in VirtualRadar.Interface.dll) Version: 1.0.0.0 (1.0.0.0)
Syntax
void ProtectFolder(
	string folder
)

Parameters

folder
Type: SystemString
Remarks
For example, if you were to protect the folder "MyPlugin/Admin" then access to http://127.0.0.1/VirtualRadar/MyPlugin/index.html would not be protected, but access to http://127.0.0.1/VirtualRadar/MyPlugin/Admin/index.html would only be allowed once the user had supplied credentials, and only if the credentials could be authenticated against the list of administrator users.
See Also