Skip to main content
Share Your Experience: Take the 2024 Developer Survey
7 votes
Accepted

How do I disable "Get a Link" & "Share"

You'll miss out of the Share part of SharePoint, but sharing can be disabled. On the site collection you want to restrict: Click on the gear and select "Site Settings" Click on "Site Permissions" ...
Zach's user avatar
  • 878
6 votes
Accepted

Can I use elevated permissions using JSOM, CSOM, or REST?

Sorry, but there is no way to run at elevated privileges from the client-side, and if there was a way, it would be roughly 0% secure. Depending on what you're trying to achieve, there are some ways ...
Joe McShea's user avatar
  • 1,525
5 votes

A user seemingly modified a document after their account was deactivated

I would look at possibly a workflow that she initiated before she left that had a next step that was triggered in July. I think I have seen this behavior in approval workflows before.
ghangas's user avatar
  • 1,264
4 votes
Accepted

Cannot Login to SP Site from application Server - Login prompt continually

You might be victim of LoopBackCheck. Possible solutions: Bypassing your proxy server for local addresses (Source) Adding a team Web site to the list of trusted intranet sites (Source) SharePoint ...
Aakash Maurya's user avatar
4 votes

Sharing folders on SharePoint and variance between "Shared with" and "Advanced"

'Shared With' contains permissions inherited from parent sites, SharePoint Groups, and AD Groups that have access. When you click advanced, it will show these groups and individual users that have ...
James Grizzle's user avatar
4 votes

Lists that can only be opened by specific users

Yes this can be achieved using creating different views with filters , in your scenario create a People Picker Column to save the value of line managers in each list item. after that create a view ...
Esaki's user avatar
  • 1,272
3 votes

What's the best practice for sharepoint security update?

I communicated with Stefan Gobber who is escalation engineer at Microsoft about SharePoint security fixes through MU/WU he said SharePoint fixes for server products will continue to be available via ...
Morgan J's user avatar
3 votes

The context has expired and can no longer be used. (Exception from HRESULT: 0x80090317)

Stop the Timer service. To do this, follow these steps: Open Services Right-click SharePoint 2010 Timer, and then click Stop. Close the Services console. In Windows Explorer, locate following folder: ...
Shivendra Patel's user avatar
3 votes
Accepted

DisableLoopbackCheck and DisableStrictNameChecking

MSKB896861: You receive error 401.1 when you browse a Web site that uses Integrated Authentication and is hosted on IIS 5.1 or a later version Q: What are these configurations meant for? A: They ...
Mike's user avatar
  • 12.2k
3 votes
Accepted

How to save the list item with document for anonymous user?

One way to give write permissions to anonymous users for a given list is to use PowerShell: $web = Get-SPWeb http://SiteAddress $list = $web.Lists["List Name"] if(-Not($list....
Evariste's user avatar
  • 9,731
3 votes

Boss needs SharePoint site only he can access (so not even administrator can)

I would follow your stated procedure of removing yourself from the library. Then advise them to password protect the word/excel files that contain sensitive information. Lastly encourage them to ...
Jammin4CO's user avatar
  • 1,427
3 votes
Accepted

What exactly "manage trust" in CA is doing? (on-premise)

Manage trust is only needed if you like to consume/connect two different/several SharePoint farms to be able to communicate or share some services between them. If you only have one farm, you don't ...
Christoffer's user avatar
  • 9,781
2 votes

How to repair "The server farm account should not be used for other services. "

I don't agree with the proposed solution of managing this in CA. Dist. Cache should be managed via PowerShell. Here's what I've used: Change Managed Account for Distributed Cache: https://technet....
Jonathan's user avatar
2 votes

Total number of unique permissions per list

I recommend to use a count variable to get the total count of unique permission for the list. foreach ($item in $list.Items) { if($item.hasuniqueroleassignments -eq "True") { $count++...
Rajdeep Chakraborty's user avatar
2 votes
Accepted

SP2013 Restore inheritance on document library

If you reestabilish the inheritance, the folder with broken inheritance will keep the broken inheritance. So, it doesn't break unique permissions on children. Anyway, you can try it yourself simply ...
Gyonder's user avatar
  • 1,183
2 votes
Accepted

In Sharepoint 2010 Service accounts permissions on SQL server and databases

Spfarm account and spadmin account following accounts required the SecurityAdmin and DB_Creator on SQL Server.When you provision any service using the farm account then SharePoint will set the ...
Waqas Sarwar MVP's user avatar
  • 56.9k
2 votes
Accepted

Does the custom 404 error page cover all error pages?

Below given solution covers all SharePoint error pages To configure SharePoint Foundation server or SharePoint Server 2010 to point to a custom 404 error Web page, follow these steps. ...
Hardik's user avatar
  • 7,733
2 votes

Remove User from a Site through CSOM

I had a similar issue where I had to just remove a specific user from the site (Web). Following code did it: var roleAssignments = clientContext.Web.RoleAssignments; ctx.Load(roleAssignments, r =>...
Abbas's user avatar
  • 159
2 votes

What's the best practice for sharepoint security update?

Trevor already give you details on this. I tell what we do. We prefer CU on security patches but if there is service pack then that is our priority. We never install every cu unless it fix one of the ...
Waqas Sarwar MVP's user avatar
  • 56.9k
2 votes

'Access request settings' missing from the subsite

Your subsite is inheriting permission from the parent, therefore this link is not applicable so it is removed from the UI. If you want it to appear, you must click the Stop Inheriting Permissions ...
Eric Alexander's user avatar
2 votes

Enterprise Wiki security boundaries

I would recommend that you just set individual permissions for any pages that require it. The best method is to create security groups in SharePoint, disinherit the parent permissions on any relevant ...
hoffie4's user avatar
  • 2,346
2 votes

SharePoint Security/Permission Issue - Broken Inheritance

Since you're the one that created the library and are able to adjust the permissions in the first place, are you and your team site collection owners? If so, that would supersede other permission ...
Jordan's user avatar
  • 334
2 votes

How to get current User's group using Client object model C#

using( ClientContext clientContext = new ClientContext("http://MyServer/sites/MySiteCollection")); { #Get Group Collection GroupCollection collGroup = clientContext.Web.SiteGroups; ...
Akshay Dattatray Nangare's user avatar
2 votes
Accepted

Is it safe to add Visitors users who should ONLY have Read permission on my sites, as Group Owners

will the Group owners get extra permissions (beyond the Read permission) on my list items and/or on the site pages when they became part of the Group Owners?? They will not get any extra ...
Gautam Sheth's user avatar
  • 30.9k
2 votes
Accepted

Security Issues with App-only policy

You just need to follow simple rules regarding tokens to make sure your security is good. Never share ClientSecret (.pfx file for high-trust). That means do not transmit to the browser, do not ...
Sergei Sergeev's user avatar
2 votes

Filter List based on permissions

What you can do is add folder's to you list and then limit access to each folder based on the department. Or if that's not what you're looking for you honestly might be best creating separate lists ...
David Hartman's user avatar
2 votes

Does SPFx have special access to REST endpoints?

How to use escape: import { escape } from '@microsoft/sp-lodash-subset'; What is sp-lodash-subset: This package provides a custom bundle of lodash for use with the SharePoint Framework's module ...
Gautam Sheth's user avatar
  • 30.9k
2 votes

Whitelist SharePoint Online Hosted App?

Add Admin authentication to your web service. Once that is done. Add a piece of code to your SharePoint hosted app to correctly authenticate your web service request. In this way your service ...
Vainktesh Kumar's user avatar
2 votes

Boss needs SharePoint site only he can access (so not even administrator can)

This is not an easy task due to the way security options in SharePoint. most of the options we are seeing in this scenario are after the damage has been done. Here are couple of things you can do: ...
Waqas Sarwar MVP's user avatar
  • 56.9k

Only top scored, non community-wiki answers of a minimum length are eligible