Wednesday, April 25, 2012

Sharepoint prompt authentication when opening Word / Excel files from website

I faced Problem with internet sites run with anonymous users. SharePoint prompt with window authentication when users opening a Word / Excel. If the window is dismissed then the document continues to open normally.
Reason for this behaviour ViewFormPagesLockDown feature, this feature removes the View Application Pages permission, and the Use Remote Interfaces permission. The View Application Pages is the one that allows our anonymous users to access the Forms pages.

To solve this problem deactivate  ViewFormPagesLockDown:
stsadm -o deactivatefeature -url http://siteurl -filename ViewFormPagesLockDown\feature.xml

But this solution will give anonymous users permission to all FormPages for lists. For better solution need to give anonymous users View Application Pages for only needed. But you can't find direct way to do that, You can use free tools like SharePoint Manager to update this permission.



No comments: