Re: no Access to Client-Files with 'impersonate=true'

From: OliverG (oliverg.news.invalid_at_web2news.net)
Date: 06/19/03


Date: Thu, 19 Jun 2003 19:14:56 +0200


G.V. wrote:
> Hi,
>
> This happens because you're using "Windows" authentification on IIS.
> Impersonation works fine on the server, but "Windows"
> authentification does
> not support "Delegation" - this is what you need to pass
> credentials to
> other
> machine, when server has to access a network share for example.
>
> I don't have a Url of MSDN article at the moment, but as
> far as I remember
> you have the following options:
> 1. give up impersonation for accessing network shares ;(
> 2. use Basic authentification on IIS - in this case users
> will see login
> screen.
> 3. If clients and server runs Windows 2000 and Active Directory is
> configured
> properly, delegation should work then.
>
> As you see none of the options are really nice :(
> I had the same problem a few days ago, and I've decided to
> give up user
> impersonation, when accessing network shares.
>
> regards,
> G.V.
>
> "OliverG" <oliverg.news.invalid@web2news.net> wrote in message
> news:37680N044@web2news.com...
>> hi all,
>>
>> i'm just developing a web application and want my users
>> to be able to
>> upload client sited files (images) to an SQL-DB.
>>
>> On the IIS the anonymous-user is disabled (only Windows integrated
>> security) for this site. In the Web.config i added '<identity
>> impersonate="true" />'. If the files are located on the webserver
> etc..

HI G.V.,

Thanks für your comment.

i tried now impersonation like proposed
in:http://support.microsoft.com/default.aspx?scid=306158

ciao oliver

-- 
Direct access to this group with http://web2news.com
http://web2news.com/?microsoft.public.dotnet.framework.aspnet.security


Relevant Pages

  • Re: Slow initial connection to network resources
    ... servers that host file shares and network applications. ... Once the user has validated his/her credentials, ... I'll let a server guru comment on the length of time credentials are retained, although I haven't ever noticed this being an issue on Win2k3 servers/workstations I've set up. ... Most commonly delays in connecting to a server are caused by incorrect DNS settings. ...
    (microsoft.public.windowsxp.network_web)
  • Re: Cant use WM6 to access network shares
    ... So this seems to be some kind of issue w/ server shares and WM6? ... Can get to about any other share on the network. ... credentials screen I would see if I tried to connect to the share using ...
    (microsoft.public.pocketpc.wireless)
  • Re: Virtual Directory Problems
    ... I'm running IIS 6 and you ... "Always use the authenticated user's credentials when validating access ot ... the network directory". ... Check under "Computer Management" on the file server which user is actually ...
    (microsoft.public.inetserver.iis)
  • Impersonation question
    ... I am trying to get a better understanding of how impersonation works and I ... I have read that one can't access resources on network shares while ... provide enough credentials to the remote server to allow the remote server ...
    (microsoft.public.security)
  • RE: Unable to connect to anonymous network share
    ... installed on a network ... I am setting up an anonymous share on the server. ... If I use credentials, I have no problem connecting to ... if I use any other Windows XP workstation ...
    (microsoft.public.windowsxp.security_admin)