Ureader.com  
Microsoft software help and Community
   home   |   control panel login   |   archive   |  
 
DotNet
acad.assignment.mngr
academic
adonet
aspnet
aspnet.announcements
aspnet.build.controls
aspnet.caching
aspnet.datagridcontrol
aspnet.mobile
aspnet.security
aspnet.webcontrols
aspnet.webservices
clr
compactframework
component_services
datatools
distributed_apps
drawing
faqs
framework
framework.wmi
general
internationalization
interop
languages.csharp
languages.jscript
languages.vb
languages.vb.controls
languages.vb.data
languages.vb.upgrade
languages.vc
languages.vc.libraries
myservices
odbcnet
performance
remoting
scripting
sdk
security
setup
vjsharp
vsa
webservi.enhancements
webservices
windowsforms
windowsforms.controls
winforms.databinding
winforms.designtime
xml
  
 
date: Tue, 4 Mar 2008 12:54:33 +0100,    group: microsoft.public.dotnet.security        back       


Use of identification level token in WSS 3.0/MOSS 2007   
Implementing an internet facing MOSS 2007 site, where a small set of users 
will have contributer rights in Sharepoint.

We are using a custom HttpModule for authentication, which assigns a custom 
principal to HttpApplication.Context.User.
This principal is used by Sharepoint for identity and access control.

Using .Net 2.0 I can use something like this:

    WindowsIdentity id = new WindowsIdentity("fred@bedrock.com");
    httpApp.Context.User = new WindowsPrincipal(id);

This gives me a token with an impersonation level of "Identification" 
(unless I configured S4U protocol transition) - which should not be of any 
use for accessing local or remote resources.

But it seeems to work just fine inside Sharepoint - if the user with the UPN 
given in the code above is is a member of "Site Owners" that user gets full 
access to the site.

This seems to be something of a security issue, given how easy it is to 
construct such a token.
Is this a known issue or intended/expected behaviour in MOSS2007/WSS 3.0?

(originally posted to Sharepoint.devandprog forum - no reply, rephrased and 
posted here)
date: Tue, 4 Mar 2008 12:54:33 +0100   author:   richlm am

Google
 
Web ureader.com


    COPYRIGHT 2007, YARDI TECHNOLOGY LIMITED, ALL RIGHT RESERVE  |   contact us