Tag Info

New answers tagged

0

I have done this before, my solution is to configure the web application level with anonymous access, and manage the permissions very carefully. But I think you could create a new web application which has anonymous access and let your web part visite the necessary data of your current site. So that you can only care about the permission of new web ...


0

You can create another site (where You give "Everyone") Visitor access and place the page with the web part there. BUT if the web part is supposed to show (roll up) information that is access controlled it will not help where You place it since the items might not are visible for those with only Visitor access.


0

Create a custom web service that allows for anonymous access. The client connects to the custom web service, which handles pulling the data from SharePoint. The web service runs on a non-SP server and uses its own credentials to connect to SharePoint. It then passes the data back to the client, where it can process similarly as it would have with JSOM.


0

I agree with the above answer, you could save your js or css files into library (as Style Library) which could be published to everyone and even anonymous users. You just need to configure this library for anonymous access. You can keep all the architecture of your app, and just to modify the link of referenced files.


3

In such situations, the only viable (i.e. open to evolutions) approach would be to deploy an applicative page (or Web service) in _layouts via a WSP. That is, a WSP with server-side code. That page/Web service would hold all the logic/intelligence/business (with elevation if needed, or as the anonymous user to preserve security, but at least you'll be ...


3

One very common workaround I see is that you use an authenticated user to pull the Request that you need, then write it to a document library that allows anonymous access. Because most SP does not accept .json as a file type, just save it as response.txt Then, in your public site, anonymously read from that document library: $.ajax({ url: ...



Top 50 recent answers are included