Logo 
Search:

Sharepoint Forum

Ask Question   UnAnswered
Home » Forum » Sharepoint       RSS Feeds

Need to access BDC data as anonymous user!

  Asked By: Chase    Date: Sep 11    Category: Sharepoint    Views: 1229

How come BDC data can't be accessed by anonymous users, even if we give 'Everyone' rights to the BDC entities?

This is causing some serious problems for us, because we really need to make some BDC entities searchable for anonymous users on a publishing site.

In the following thread, two workarounds are suggested:

social.technet.microsoft.com/.../0c5fe7d8-5596-40ee-89d7-5581f7f3bbaf

1. Create new classes for the BDC web parts
2. Create a HTTP module that always authenticates anonymous users to be authenticated site visitors.

Any other suggestions on workarounds?

Does anyone know how to create a http module that authenticates an anonymous user automatically? Any tips or advice would be greatly appreciated.

Share: 

 

1 Answer Found

 
Answer #1    Answered By: Shelley Reese     Answered On: Sep 11

try something like this

-from your webpart code, use elevated permission, then use impersonation, run the code with a user that has access  to the db.. on your ADF, use revertToself..

or

just elevate permission, give mossAppPool access to your DB (db_accessadmin with select rights)..

works both option on our servers..

 
Didn't find what you were looking for? Find more on Need to access BDC data as anonymous user! Or get search suggestion and latest updates.




Tagged: