Ignore user List permission in sharepoint

143 Views Asked by At

i have an application page that has file upload control and button, i want user to attach file to list items ..Regardless, his permission .

This Functionality is works if users are administrators or have manage permissions on the list..

But.............The Problem that I want to enable this For user with Read Only Permission . This user can see this page and browse to select file but when click on button he gets "Error 403 Forbidden ".

Note: 1-In c# upload button click I'm using: SPSecurity.RunWithElevatedPrivileges(delegate() {});

  2-I Enables this user to access bin folder and to have Read and Execute and List folder Contents permissions
0

There are 0 best solutions below