Share via


AllowUnsafeUpdates Property

The AllowUnsafeUpdates property of the SPGlobalAdmin class 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.

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

Property Value

true if unsafe updates are allowed; otherwise, false.

Requirements

Platforms: Microsoft Windows Server 2003

Security: Code Access Security