Take the 2-minute tour ×
SharePoint Stack Exchange is a question and answer site for SharePoint enthusiasts. It's 100% free, no registration required.

Is anonymous access to listdata.svc possible? I'm trying to just simply get list items and display them using json but I either get asked to login or a 401 unauthorized. It's a claims based site with NTLM authentication and anonymous access enabled. Anonymous access to the list itself works just fine.

share|improve this question

1 Answer 1

IIRC listdata.svc does not allow anonymous access even if anonymous access is enabled for the site.

Could you try using the Client Object Model instead of going throught the services directly?

share|improve this answer
1  
I figured as much. Seems like the Client Object Model is going to be my only option. Not anywhere near as convenient unfortunately. Such is life in the Sharepoint world -- nothing is ever easy, and if it's easy it's not useful :) –  CeeMoney Dec 22 '11 at 5:58
1  
The Client Object Model doesn't work with anonymous access either, at least in JavaScript. –  Christophe Jan 14 '12 at 3:12
    
The JSCOM only works in an authenticated manner and in the context of the SharePoint site that the user is currently browsing. So, yes, it is authenicated access only. The .NET managed client object model should work in an anonymous manner :) –  GavinB May 14 '12 at 3:38

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.