Take the 2-minute tour ×
SharePoint Stack Exchange is a question and answer site for SharePoint enthusiasts. It's 100% free, no registration required.

I have a series of pages that use the javascript object model to interact with information stored in lists (this supports sort of an application behaviour but not quite, but I can't complain it's the only thing I get to use to fufill a requirement in my organization), if users interact directly with the lists, the information stored in the lists get compromised because of the way I've made this "application", is there a way to stop users from using these forms?

share|improve this question

1 Answer 1

You can hide those lists or you can grant Read permission for users on those list. Note that if you grant Read permission on list user can't add or edit list items and in your application you can't do add or edit actions with user credentials so you have to user something like SPSecurity.RunWithElevatedPrivileges more info here

Also you can edit NewForm.aspx or EditForm.aspx using SharePoint Designer and delete ListFormWebPart, in this case no one (including SystemAccount!) can use NewForm.aspx or EditForm.aspx

share|improve this answer
1  
you can't remove ListFormWebPart from edit & new pages –  Yuri Leontyev Sep 13 '12 at 20:08
    
changing permissions is a right way. –  Yuri Leontyev Sep 13 '12 at 20:09

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.