08 Dec 2008

Part 2, which covers permissions for anonymous users can be found here

Survey’s are a nice feature of SharePoint, however their security is not the easiest to understand. I thought it was just me which didn’t take to it straight away, but seeing Veronique's post on Information Worker made me think it is not just me. So for this post I will answer her question which I am summarizing as: How do you enable a user to respond to a survey but NOT edit the site (the survey sits in) content?

First off we need a survey:

image
Creating a new survey.

On the settings you need to click the permissions for the survey:

image
The survey settings page.

On the list permission settings click Actions and then Edit Permissions. At which point you will be asked to confirm you want to create unique permissions for the survey, in short it will not inherit from it’s parent security permissions in the future.

image
Actions –> Edit Permissions on the survey permissions.

image
The confirmation prompt.

For my example survey, I am assuming you want to let all users who logged into the site to complete the survey. So for that you need to find the NT AUTHORITY\AUTHENTICATED USERS domain group. Now click on it and make sure you give them Contribute and click OK. Now get back to the survey settings page.

image
The user listing.

image
Managing user permissions.

Now click on advanced settings on the settings page.

image
The settings page.

The advanced settings page allows you to configure who can see what responses and what they can edit. Note: Edit here means changing their votes after they submit, not editing the survey or web site. The fact they have contribute means they can add (submit) votes.

image
Advanced survey settings.

Once you have done that your survey should be able to be completed by the users, but because we created unique permissions for the list/survey they won’t be able to edit the site which contains the survey.

Tags: 

Comments

SharePoint Survey Permissions 2 - Allow anonymous users to a's picture

[...] site you need to do a few extra steps to get it to work. Before I continue I recommend you read the first post since I will refer back to some parts of it. To prove this actually occurred, if you want to see [...]

Anonymous's picture

Thanks for your help! Your right it wasn't intuitive, but your blogged helped me get my sharepoint survey set up correctly instantly. You're the best!
Marlon Green's picture

Hey...thats all great having the user able to respond to the survey without having access to the rest of the site its on. But what if you want the users to create their own surveys? I want certain users to be able to Create Surveys only and assign only contribute permission to that survey for only a selected group of users. E.g. The IT Department must only have one user that can create and modify surveys and that user must only be able to make that survey visible to the users in the IT department and not be able to create any other content types. Is this at all possible?
Anonymous's picture

Is it possible to make changes to a survey while users respond to your survey.Could you risk breaking it if people already or busy responded to the survey?
Robert MacLean's picture

Yes, it is possible. It wouldn't break it - worst is someone who is hitting submit on a question that has been removed would get is an error. If they go back to the start they could try again.
Leticia's picture

Thank you so much for your help! I was exactly with this problem, that users in a group, with Only Read permission could not answer the survey. However, I have a doubt... I noticed that since the users will have contribute permission for the list, so the link 'See all responses' will appear for them. Is it possible to control that as well? Thank you!
Anonymous's picture

Hi, I have a user who has created a survey that lets users see and edit only their own posts. However, the Export to Excel feature allows them to see the whole thing! This is WSS 2.0...any thoughts? Thanks!
Visitor's picture

Had the same issue. Its down to earth ludicrous that ANYONE not having rights to see the result can still see all data as long as they export results as a Excel Sheet. Sad. My workaround was to hide the Toolbar from showing and HOPE that no one knew the default url. Is not diff to get around it but it will have to do for the moment. MS should have either disallowed person to export feature!
Wafi's picture

You can't prevent users from export to excel by edit "Contribute" permission level and uncheck Use Client Integration Features. So export to excel link will disapper!
Wafi's picture

sorry I said: "you can't" it's "you can"
Visitor's picture

Where is the 'Client Integration Features'? ... thanks.
Using Sharepoint Survey functionality to create basic web fo's picture

[...] SADev – Sharepoint Survey Permissions 1 Share and Enjoy: [...]
Anonymous's picture

In my MOSS environment I manage users in a group with Read-Only permissions. However authenticated user received the contribution permissions in my survey page, and they can see the "Respond to this Survey" button. The issue is after filling out the survey, the "finish" button occurs a Access Denied window (User Level).. How can I fix this, help please =(
Robert's picture

I am experiencing the same issue. Users have Contribute rights to the Survey, can Respond to the Survey, but when they click Finish, they get Access Denied. Anyone figure this issue out?
Robert's picture

This problem is only an issue if the 'Edit Access' is marked as 'None', which essentially does not allow a user to complete the survey even though they have 'Contributor' rights to do so. Marking the 'Edit Access' to All or Only Their Own should allow survey saving.
Dipa's picture

Go to the Survey > Settings > Survey Settings > Advanced Settings Ensure Edit access is set to 'Only their own'. This will fix your problems as it did mine! I can't believe it took me a whole day to figure this out!
Divya's picture

I have given Edit option in the Advance settings, still my user get Access Denied after click on Submit. Please help
Dipa's picture

Hi Divya, Are you sure you've set under the Edit access 'Only their own'. This definitely fixed my problem of users getting the Access Denied message.
Sami's picture

Thank you very much, that solved my problem.
Blue Llama's picture

Nice post. This was what I was doing but nice to be confirmed when sending out to lots of people. Thanks.
Visitor's picture

After completing a Survey I designed, when the finish button is pressed I receive a '404 PAGE NOT FOUND' error, any idea of why this is? The URL displayed is then shortened, how can I redirect the person to somewhere else?
Visitor's picture

I found that the survey name was too long and getting truncated in the URL. I had to delete the survey and recreate it with a shorter name. Renaming the survey will not change the original URL.
Visitor's picture

Thank you!
JJ Walker's picture

I have Designer access to our sub-site, but cannot seem to even create a new survey. I've got "Site Actions > Create Page", but not just "Create". Can someone help point me how to do this?
Ola's picture

I have created the survey and the users have contribute access and are only able to see there own responses. I however need to allow one user to see everyone elses responses. I do not want this use to be able to modify the survey or see any of the other site content other than the survey and responses and I want them to be able to respond as well. Is there a way to accomplish this?
Robert MacLean's picture

Sure, just give them (i.e. their user account) the permissions needed on the survey.
Brian's picture

This reply is no help. Of course we would have to give permissions to the survey for the needed access...but, What level of permission will do what is being requested? Which level will grant them access to so the results of the survey for all submitted answers while protecting the survey from editing and block visibility for the rest of the site assets? Please give some more details if you can. Thanks
Robert MacLean's picture

Which level will grant them access to so the results of the survey for all submitted answers while protecting the survey from editing and block visibility for the rest of the site assets?
You really haven't read the above article, which covers exactly that.
Amit B's picture

I designed a Survey. After completing this Survey, when the finish button is pressed I receive a '404 PAGE NOT FOUND' error, any idea of why this is? The URL displayed is then shortened, how can I redirect the person to somewhere else?
Robert MacLean's picture

It is controlled by the parameters in the URL. Sounds like the URL is directing you incorrectly.
Amit B's picture

Yes.. I noticed following changes in the URL (after clicking on SUBMIT or CANCEL button) Part of over all URL: a) Open the Survey Source=http%3A%2F%2Fmoss%2Eeu%2Etest%2Ecom%2F b) After Submit or Cancel button Source=http%3a%2f%2fmoss.eu.test.com%2f
Visitor's picture

Did you find a resolution to this issue? I am having the same exact issue with my survey. thank you.
Visitor's picture

After a survey is submitted, it normally comes to a SharePoint default page. How could I redirect the user to a different page (for example, "Thank you for taking the survey!") instead? I can use Designer but do not know how. Thanks! Jennifer
Visitor's picture

How can I make to the survey be answered only once per user? THanks!!!
Emma's picture

1. What if I need users to respond to this survey but not edit their answers? 2. User is getting an error when trying to respond to the survey again. Can I replace this freaky page with an error message telling: you can respond only once? 3. I want to change the text of the button from: "respond to this survey" to "respond". I need an answer disparately :(
Visitor's picture

I'm also looking for answers to "What if I need users to respond to this survey but not edit their answers?". We are using a survey for an office election, and we do not want the responders to be able to edit or delete their votes once they are submitted. I've been looking all over for an answer, but without luck....
Visitor's picture

On your question 3, you could create a new page with a content editor, and create a link directly to the survey (i.e.: /sp2010/Lists/Election/NewForm.aspx?IsDlg=1) The Newform.aspx is standard sharepoint aspx page for the survey. IsDlg=1 will hide the left menu and the top, and is useful if you want to put the survey into a modal dialog. Take a look at geekswithblogs.net/venkatx5/archive/2010/11/17/how-to-open-a-page-in-sharepoint-2010-dialog-framework.aspx for opening the link in a modal dialog. (Sorry about the missing http as it was somehow recognized as spam... here :-| )
Visitor's picture

I somehow navigated my way to a certain survey settings page, where I was able to set more specific parameters. One of them I selected was to only see survey responses from the same day. I can't locate that page anymore and I would like to change it to see all responses from anyday (when you click on the "Show all responses" link). Does anyone know how to get back to that settings page?
Mary's picture

I have a survey that I would like the users NOT to be able see "Show a graphical summary of responses" and "Show all responses". I was able to remove it, but it also removed it for me to see or use and it also removed the Action to export to spreadsheet.
Thomas's picture

Hello and thank you for the great blog - I stumbled over it, while having the very same issue on a Sharepoint WSS3.0 (SBS 2008-server)... Problem is: It doesn't work that way on my WSS 3.0 - I grant the permissions as you described to nt-authority/... on the permissions site of the survey, but my users still don't see the "Respond to survey"-button in the survey - there are, still, some users, who see the button, and others, who don't - with the same privileges, I tried clearing cache (1000 times) and different browsers, but I had no luck there. If you had a clue for me, it would be greatly appreciated! Thanks in advance Thomas
SharePoint Survey Permissions: Part 2 – Allow anon's picture

[...] Survey Permissions: Part 2 – Allow anonymous users to vote on surveys http://www.sadev.co.za/content/sharepoint-survey-permissions-part-1-resp...... [...]
SharePoint Survey Permissions: Part 2 – Allow anon's picture

[...] Survey Permissions: Part 2 – Allow anonymous users to vote on surveys http://www.sadev.co.za/content/sharepoint-survey-permissions-part-1-resp...... [...]
Sharepoint surveys | Mynameisdonkey's picture

[...] SharePoint Survey Permissions Part: 1 – Respond to a survey but do …Dec 8, 2008 … Part 2, which covers permissions for anonymous users can be found here Survey’s are a nice feature of SharePoint, however their security is … Published by admin on May 4, 2012 under Uncategorized | Post your comment now « Alltrans airlines [...]
click here's picture

I tend not to drop a leave a response, however after looking at through a few of the remarks on this page Reply to comment | Robert MacLean. I do have 2 questions for you if you do not mind. Could it be just me or do some of the responses look like they are coming from brain dead visitors? :-P And, if you are writing on other places, I would like to follow you. Would you list of every one of all your public pages like your Facebook page, twitter feed, or linkedin profile?
Click's picture

Hello, I read your new stuff regularly. Your humoristic style is witty, keep it up!
websearch-24.com's picture

Click's picture

Hello, I read your new stuff regularly. Your humoristic style is witty, keep it up!

Add new comment