Hari Gillala
Hari Gillala

Reputation: 11916

Allow UnsafeUpdates property

I have tried to write a code in object model using C#.Net for accessing a sharepoint list items and document library, I have to set allowunsafeupdates property to be true.

Is it massive security problem to the whole site..

Could anyone clarify this ...

Upvotes: 0

Views: 86

Answers (1)

Lorenzo
Lorenzo

Reputation: 29427

The biggest risk on setting SPSite.AllowUnsafeUpdates to true is in GET operations because it open your site to cross site scripting.

Have a look to this question for further details on using the true value within a safe pattern usage.

Upvotes: 1

Related Questions