Sitecore 5.1.1 API

Settings.ProtectedSite Property

Indicates if the entire site is protected (require login).

[Visual Basic]
Public Shared ReadOnly Property ProtectedSite As Boolean
[C#]
public static bool ProtectedSite {get;}

Property Value

Default value: false.

Remarks

If true, no page on the site can be accessed without logging in to the extranet security subsystem.

For this to work, the setting LoginLayout must. also be set.

See Also

Settings Class | Sitecore.Configuration Namespace