does anybody have a manuel that describes the steps to create an anonymous user authentication in SharePoint 2010 (Website for the internet开发者_JAVA技巧 with no authentication). For editing an admin has to log in with forms authentication. Can I hold the admin somewhere in the web.config with membership provider ? Or do I need to install SQL Server somewhere for that task ?
Thanx a lot. Stephan
Ah - you need SQL Server installed somewhee ANYWAY - SharePoint makes heavy use of SQL Server.
I would think that any valid ASP.NET membership provider should work with SharePoint, so in theory you should be able to write your own XML-based or text-based provider and store the admin username and password there.
But it's too much work and a bit risky. And in all honesty I would personally avoid trying anything like that since SharePoint is a complex enough behemoth by itself.
Since you only want an admin to be able to modify the website, it's probably a lot easier to just use the Active Directory provider and create a user in AD for the admin if one doesn't already exist.
HTH
精彩评论