Export (0) Print
Expand All
DenyPermissionsMaskGroupId property
IsSiteMaster property
NeedsB2BUpgrade property
OwnerLoginName property
SiteMasterId property
StorageUsed property
Expand Minimize

SPSite.AllowUnsafeUpdates property

Gets or sets a Boolean value that specifies whether to allow updates to the database as a result of a GET request or without requiring a security validation.

Namespace:  Microsoft.SharePoint
Assembly:  Microsoft.SharePoint (in Microsoft.SharePoint.dll)

public bool AllowUnsafeUpdates { get; set; }

Property value

Type: System.Boolean
true if unsafe updates are allowed; otherwise, false.

Setting this property to true opens security risks, potentially introducing cross-site scripting vulnerabilities.

Show:
© 2014 Microsoft