Ask Learn
Preview
Please sign in to use this experience.
Sign inThis browser is no longer supported.
Upgrade to Microsoft Edge to take advantage of the latest features, security updates, and technical support.
Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
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)
'Declaration
Public Property AllowUnsafeUpdates As Boolean
Get
Set
'Usage
Dim instance As SPWeb
Dim value As Boolean
value = instance.AllowUnsafeUpdates
instance.AllowUnsafeUpdates = value
public bool AllowUnsafeUpdates { get; set; }
Type: System.Boolean
true if unsafe updates are allowed; otherwise, false.
Warning
Setting this property to true opens security risks, potentially introducing cross-site scripting vulnerabilities.
Please sign in to use this experience.
Sign in