SPO restrict few selected file extension - sharepoint-online

Came across the article that there is no restriction in any file extension in the SPO https://support.microsoft.com/en-us/office/types-of-files-that-cannot-be-added-to-a-list-or-library-30be234d-e551-4c2a-8de8-f8546ffbf5b3
No restrictions to types of files added to SharePoint
but we can restrict it using Sync Client
https://learn.microsoft.com/en-us/onedrive/block-file-types
Is there any alternative way to control upload to the OneDrive Site when user clicks on the upload option.

Unfortunately, there is no OOB ways to restrict specific file extensions in SharePoint Online. You can create a workflow that start automatically when an item is created. and use "delete List Item" action when the file type is equal to relevant type.
Here is a similar post for your reference:
https://sharepoint.stackexchange.com/questions/244847/how-to-restrict-files-uploaded-to-sharepoint-online

Related

SharePoint Add-in permission

There is a option in the App Catalog to share an app. We can select Can Edit option and share. But I could not find what actually happens when you do this. Where does this permission get affected?
Since "Apps for SharePoint" is another type of document library which contains your app package. The "Share" menu item should be the same one as the list item or document which provides item level permission management. You can configure the specific apps to be accessed by specific users for specific actions, like edit if you don't want your apps to inherit from default "App for SharePoint" library's permission sets.

How to limit access for dowloading list item's attachment file

How to limit access for dowloading list item's attachment file for all users except users that are in the group of administrators?
I am not sure if this is the answer which you're looking for...
I would suggest to go with item level permissions on the library, where you give specific permissions to specific users/user groups.
Example:
Create a SharePoint Designer workflow which works with item level
permissions on the library.
Attach this workflow to the library, the workflow runs whenever
there is an item created.

Is there a way, through the API, to manage "Sharing"?

Through the console, you can go to Preferences and under Member Profile you can select Sharing and then chose which users will have the ability to view and manage the folder list of the selected user within their home page folder list.
I was wondering if there was any way to manage this using the API.
No, unfortunately not -- "Folder Sharing" functionality is not currently available via the DocuSign API (REST or SOAP).

Web part personalization permissions on SharePoint 2010

What are the minimum SharePoint 2010 permissions required to allow a user to personalize a web part page, allowing updates and adding web parts to the page but completely restrict the user modifying the shared version?
I initially copied the built-in “Read” permission level and added the “Manage Personal Views”, “Add/Remove Personal Web Parts” and “Update Personal Web Parts” permissions from the Personal Permissions group. This custom permission level was then applied to a user who then viewed a web part page created by the Administrator, which contained only a very simple prototype SharePoint web part. This web part contained a modifiable label which was edited using the “Miscellaneous” section from the Edit Web Part from the standard SharePoint chrome.
With the custom permission level applied the “Miscellaneous” option it is not available to the user upon personalizing the page and selecting Edit Web Part. The “Miscellaneous” option only becomes available to the user when the permission level is further modified to have the “Edit Items” from the List Permissions group. This has the undesired effect of allowing the user to be able to modify the shared version of the page.
Is what I’m trying to achieve even possible?
Many thanks
Check this out: http://akifkamalsyed.wordpress.com/2011/01/17/personalizable-web-part-custom-property-not-shown-for-users-with-contribute-permission-level/
It's probably because you don't have a safecontrol for the webpart with the attribute SafeAgainstScript

Get Item Level Security using SharePoint WebServices

I am able to get the Permissions associated with a List or a Site using Permissions.GetPermissionCollection (ObjectName, ObjectType). The ObjectType parameter will accept either a Site or a List. Is there any way with the out-of-the-box webservices to get the Permissions associated with a ListItem?
I mean if I have NOT inherited the List permissions and have specified a set of specific permissions to a List Item or a document in a document Library then how can I get the permissions specified?
The answer is the same as for documents. See the question Permission for a SharePoint document using MOSS web services.
You cannot with the out-of-the-box web services but there is a custom web service available for free download and source code.

Resources