Re: file.move to unc causes error
From: Daniel Fisher\(lennybacon\) (info_at_(removethis)lennybacon.com)
Date: 12/28/04
- Next message: Daniel Fisher\(lennybacon\): "Authentication in ADAM"
- Previous message: Gawel: "Re: FormsAuthentication.Encrypt - algorithm"
- In reply to: Michael McLaughlin: "file.move to unc causes error"
- Next in thread: Michael McLaughlin: "Re: file.move to unc causes error"
- Reply: Michael McLaughlin: "Re: file.move to unc causes error"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ] [ attachment ]
Date: Tue, 28 Dec 2004 21:34:37 +0100
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: Daniel Fisher\(lennybacon\): "Authentication in ADAM"
- Previous message: Gawel: "Re: FormsAuthentication.Encrypt - algorithm"
- In reply to: Michael McLaughlin: "file.move to unc causes error"
- Next in thread: Michael McLaughlin: "Re: file.move to unc causes error"
- Reply: Michael McLaughlin: "Re: file.move to unc causes error"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ] [ attachment ]
Relevant Pages
|