View Complete Post
I have a Sharepoint 2010 (forms authentication) site on windows server 2008 with asp.net role-based security. At the highest level i have document libraries with folders within each as shown below.
> Doc Lib 1
>> Sub folder 1
>> Sub folder 2
> Doc Lib 2
Sub folder 1 and sub folder 2 are the same within each document library.
I want to be able to use asp.net roles to restrict users access to the document library. For example, user 1 should only be able to access sub folder 1 within doc lib 1. I'm not sure how i should go about configuring the roles.
I have created role1 for access to doclib1 and role2 for doclib2. In addition i also have roleA for access to subfolder1 and roleB for access to subfolder2. I have assigned the roles the libraries and folders. To user 1, i have assigned : role1 and role
A. I expect that user1 should only see doclib1 and within it subfolder1. But that isn't the case.
How do i achieve my desired results?
Hi till yesterday I was able to login to claim based web apps in my sharepoint 2010 server. but today they are giving below mentioned error! even though classic mode auth web apps are running fine.
Nor it allow to activate /deactivate any fature to a site collection under claims based web app with same error in event log:
error message in event viewer:
Log Name: Application
Source: Microsoft-SharePoint Products-SharePoint Foundation
Date: 10/8/2010 1:30:59 PM
Event ID: 8311
Task Category: Topology
An operation failed because the following certificate has validation errors:\n\nSubject Name: CN=SharePoint Security Token Service, OU=SharePoint, O=Microsoft, C=US\nIssuer Name: CN=SharePoint Root Authority, OU=SharePoint, O=Microsoft, C=US\nThumbprint: 85F230FF68A8107A14667844D6741A6C2199C60E\n\nErrors:\n\n
UntrustedRoot: A certificate chain processed
I am trying to connect to sharepoint remotely using powershell. Things work okay when connecting to a windows authentication web application. But when i try connecting to a claims based web application, i get access denied messages. I seem to get access
to the SPWeb, but when i try to access properties on the web, it errors. I think CredSSP is setup correctly (as the windows web application works). The username i am using is in the format domain\username, not sure if the claims based format needs something
$username = ""
$password = ""
$ip = "192."
$siteurl = "http://"
$creds = New-Object System.Management.Automation.PSCredential $username, (ConvertTo-
Keith Brown introduces you to the new identity model in the Microsoft .NET Framework 3.0.
MSDN Magazine September 2007