By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
446,369 Members | 1,188 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 446,369 IT Pros & Developers. It's quick & easy.

Accessing a network share from a IE hosted .NET control

P: n/a
Hello guys!
I'm on a pilot project with a .net applet that should be able to upload

a local file to a predefined network share. This applet should run
inside IE browser and will be used for Intranet fiel transfers only.
The purpose of this approach is to use the power of local Intranet
speed for copying large files (2/3 G or more). My applet is done in
VSNET 2K5 and uses a call to unmanaged LogonUser function to perform
the impersonation.
It's working fine, when the impersonated user -- required to write the
uploaded file into the share -- belongs to the domain controlller. So
if the network share uses domain accounts to allow soemone to write
inside then everything works jsut fine.
But if the share is exposed via some local computer account then it
cannot impersonate through the browser. The error message is that it
cannot authenticate that user, provided username or passowrd being
wrong (err code 1326 if I'm not wrong).
You must know that the same applet works fine in the testing container

that VS.NET 2K5 is providing for debuging purposes. Also the applet is
fully trusted for the website that exposes it.
Does anyone know somethign that may help me with this issue?
Thanks in advance,

Apr 7 '06 #1
Share this question for a faster answer!
Share on Google+

This discussion thread is closed

Replies have been disabled for this discussion.