0 out of 1 rated this helpful - Rate this topic

SPWeb.AllowUnsafeUpdates Property

Windows SharePoint Services 3
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

true if unsafe updates are allowed; otherwise, false.
Caution Caution:

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

Did you find this helpful?
(1500 characters remaining)
Community Content Add
Annotations FAQ