Sharepoint 2013 search result Security trimminng - search

I found that security trimming in search result behavior differently in sharepoint 2013 with 2010, In 2010, search result automatically trimmed if current user has no permission to read the document, while in 2013, all the result showed up even if user has no privilege for view, and when click on the document, sharepoint redirect you to a page said "Access Denied".
I want to know how to make 2013 behavior the same as 2010 in security trimming, any ideas about this? thank you smart guys in advance, any idea will be appreciated, Thanks.

Yes effectively the results show up even if the user hasn't access but if you try to access the document you will be informed that you haven't access.
Restart a full Crawl on your searched content and the result will change to represent what the user has access at the crawling time. ACL(s) will be recalculated.

Related

Sharepoint Online - Read Only User - PnP Modern Search - Unable to get search results

PnP Modern Search Version 3.18
When new user gets created in Office 365 and placed into SharePoint Site's " Visitor" group with only the View Only or Read only access.
Search results in the PnP Modern Search results do not show up for that user. Users that have Edit functionality have no issues with the web parts.
Reindexing the site does nothing to fix this.
To Reproduce:
*Create user with no licence in Office 365 admin
*Add user into SharePoint " Visitor" with Read only permissions
*Go To site and search using the pnp modern search box
*Search results do not show up anything
*If user gets placed into editor permissions, search results show up.
Thank you!
I appreciate the help!
Unlicensed users will only have access to content that has been shared with them. The inner workings of the PnP Search probably require more permissions than unlicensed users have. It's not just that they may be able to access the documents, but they would also need at least Read access to the web parts and code bits that are used to present the results. An unlicensed user has no access to that.

SharePoint 2007 Site usage report has random user who has never accessed site

I was hoping someone could shed some light on a current issue I'm facing. A user is concerned because they have looked at the Site Usage Report for their SharePoint 2007 team-site and seen an other user in the 'Top Users for past 30 days' list. This other user doesn't and has never had access to the site.
Anyone experienced something similar? I know SP2007 site usage reports are a bit flaky, but is there an explanation?
We have faced this kind of scenario in our SharePoint 2007 environment. One of the users did not have permission to access the SharePoint site. Whenever he tried to access the specific site, SharePoint will automatically redirect the user to AccessDenied.aspx page. In this case, SharePoint considers the redirected error page in his visit count and also included in the total hits count.
This could be a reason for the site visit counts for the specific user. The following link may help you to trace the user activities in Site Usage Report in SharePoint site.
https://social.technet.microsoft.com/wiki/contents/articles/20512.usage-reporting-in-sharepoint-wss-v3-and-moss.aspx

Sharepoint online search search results show files that user has with no permission

I am working on Sharepoint Online. I have a requirement that when a user has no permission to a file, he/she still can see file in search result, but no permission to open the file.
I know there is security trimming in sharepoint search. But is it possible to achieve my requirement?
As Ondrej has said this isn't possible via the OOTB search functionality and this is by design.
If you wanted to be able to see all information returned by search you would need to write something custom and impersonate a user who does have access to the document.
Impersonation of User in office 365/SharePoint online
I'd only do the above in exceptional circumstances.
I would be questioning why you want someone to be able to see something they do not have access to read.
Cheers
Truez

Sharepoint 2013 - what is the used masterpage for anonymous users?

WHen I make any modifications in seattle.master, I see that all the authenticated users are able to see the changes. However, when I am an anonymous user, I do not see any changes, it seems like seattle.master is never used for anonymous users. The problem is I could not find which master page is used for anonymous users. I even tried to modify all the master pages in SP Designer 2013 one by one (Yea brute force:)), but nothing changed. Is there anyone that can give me a clue about this?
Thanks.
SharePoint 2013 is used.
I directed to the master page gallery myweb/_layouts/15/start.aspx#/_catalogs/masterpage/Forms/allitems.aspx, then I checked out seattle.master, then immediately checked in. While checking in, I selected v3.0(publish). The problem is solved like that. Thanks #Serv for helping me to get the solution.

Sharepoint anonymous user search results

We have two zones - Default is Claims based and Custom is NTLM - this one is used for crawling.
My issue is that when I search under anonymous user - the protected content is returned, even though when I try to click the link - it gives me permission error (which is good).
Any ideas?
this may solve your problem.
It defines the problem that, old crawl data is still on. That a new crawl will solve it.
If it does not, may be you should check your data's permissions that no anonymous user has view permission on it.
And, although it is not related to your question about sharepoint 2010, this can help MOSS 2007 users if needed.

Resources