Re: file.move to unc causes error
From: Michael McLaughlin (MichaelMcLaughlin_at_discussions.microsoft.com)
Date: 12/28/04
- Next message: Shaker: "Modify AD Active directory based on user name only."
- Previous message: Daniel Fisher\(lennybacon\): "How to authorize download?"
- In reply to: Daniel Fisher\(lennybacon\): "Re: file.move to unc causes error"
- Next in thread: Patrick Olurotimi Ige: "Re: file.move to unc causes error"
- Reply: Patrick Olurotimi Ige: "Re: file.move to unc causes error"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ] [ attachment ]
Date: Tue, 28 Dec 2004 13:31:03 -0800
NO I do not.
"Daniel Fisher(lennybacon)" wrote:
> do you have something like this in your web.config ?
>
> <identity
> impersonate="true"
> />
>
> --
> Daniel Fisher(lennybacon)
> MCP ASP.NET C#
> Blog: http://www.lennybacon.com/
>
>
> "Michael McLaughlin" <MichaelMcLaughlin@discussions.microsoft.com> wrote in
> message news:226E5AA9-A9EA-4BF1-949A-FFB55C2A5EB7@microsoft.com...
> > Hello I also posted this message under dotnet.security.
> >
> > What I have is a web application that shows the user their files in a
> > protected location. The user can then select a file and move it to another
> > server over unc. The user is logged in via windows basic authentication
> > with
> > their domain credentials and the site is ssl encrypted. When the file.move
> > command executes it generates an error which I am sure is based on ntfs
> > access denied. When I take a look at the
> > request.ServerVariables("AUTH_USER")
> > it shows my user. I am sure this is an impersonation issue, can anyone
> > point
> > me in the right direction?
> >
> > foldername = "c:\path\folder"
> > mpf = "\\server\share\path"
> > file.Move(foldername & "\" & CStr(DropDownList1.SelectedItem.Text), Mpf &
> > "\" & CStr(DropDownList1.SelectedItem.Text))
> >
>
>
>
- Next message: Shaker: "Modify AD Active directory based on user name only."
- Previous message: Daniel Fisher\(lennybacon\): "How to authorize download?"
- In reply to: Daniel Fisher\(lennybacon\): "Re: file.move to unc causes error"
- Next in thread: Patrick Olurotimi Ige: "Re: file.move to unc causes error"
- Reply: Patrick Olurotimi Ige: "Re: file.move to unc causes error"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ] [ attachment ]
Relevant Pages
|