Anonymous access into SharePoint web services

Hello Reader,

I have moved to new site and here is new article link from where you can post comments/feedback.

http://sanketinfo.blogspot.com/2009/06/anonymous-access-into-sharepoint-web.html

Sorry for any inconvenience.

~Sanket

Advertisements

6 Responses

  1. Any luck with this? I have a client pulling his hair out with the same issue.

    • No, till now I didn’t find anything which will solve my problem, but I’ll definitely let you know if I see any workaround.

      Thanks,
      Sanket

      • Sanket,

        Hello. I wanted to see if I am running into the same situation you are…

        I have an HTML page that has JQuery ajax call to submit values to the SharePoint Lists.asmx web service. The SharePoint site is completely anonymous, yet when my ajax POST is fired off, I am prompted for NTLM credentials (windows login).

        Is this what you ran into, and tried working around? If so, what did you end up doing?

        If you can send your response to sean.boltman@epok.net as well, that would be greatly appreciated.

        Thanks!

      • Hey Sean,

        No, my situation and problem was different then you, actually I was trying to find out any way to call my SharePoint web services code as anonymous user, because my current user don’t have credentials to access some of the web method from SharePoint web service call.

        But looking at your situation, I am guessing that you can try below two things.

        1. I know if we set correct value into IE -> Internet options -> security tab -> Local Intranet zone -> User authentication method for not asking and prompting windows credentials every time then at some time, it’s working fine.

        2. I am not very familiar with Jquery AJAX call, but there must be something to pass current user credentials to web service call.

        Good Luck with your challenge.

        Thanks,
        Sanket

  2. Hi Sanket,

    The following steps might help:
    1. Extend the Web Application to a new Zone (Intranet).
    Let’s say your Default Zone URL is : http://teams.SPWebApp.com/ then the extended Web Application URL would be : http://servername:portnumber/

    2. Disable Anonymous Access on the new Zone (Intranet)

    3. Use the Extended Zone (Intranet) URL to call the web services

    I solved the Anonymous Access issue with the Search.asmx the same way.

    Good Luck !

    – Ruchir

    • Hey Ruchir,

      Solution looks good and seems very promising, it’s really milestone to achieve Anonymous Access into web service.

      Thank you very much for sharing your knowledge.

      Thanks buddy,
      Sanket

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

%d bloggers like this: