Quantcast
Channel: SharePoint 2013 - Development and Programming forum
Viewing all articles
Browse latest Browse all 7589

How to prevent anonymous access on programmatically created document library

$
0
0

I got a document library with unique permissions, which I created using CSOM. The web application has anonymous access activated (deny write) so everything within allows read-only access. Now I want to deny access to those specific document libraries I created via code.

Using the ui I'm able to remove anonymous access, but I can't find the property which allows me to do this programmatically. For me it doesn't matter if it's client side or server side model. Any help is appreciated


Regards Andreas MCPD SharePoint 2010. Please remember to mark your question as "answered"/"Vote helpful" if this solves/helps your problem.


Viewing all articles
Browse latest Browse all 7589

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>