Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
HomeAnnouncementsFree MagazinesWhite PapersSubmit Content
Discussion GroupsASP.NETWindows FormsLanguages.NET FrameworkVisual Studio.NET
Articles.NET FrameworkASP.NETToolsWindows Forms
.NET DirectoryOpen Source ProjectsUser GroupsWeb Resources
Related Topics
Visual Basic 6SQL ServerMS AccessOther DB ProductsMS Server ProductsMore Topics ...

.NET Forum / ASP.NET / Web Services / March 2005

Tip: Looking for answers? Try searching our database.

Uploading web service

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
Ramesh Chawla - 04 Mar 2005 11:19 GMT
I am making a web service which accesses a shared directory on the netwoek to
upload a file there. Here comes the problem, When I use impersonation and
give the userName & password of an authenticated user, then it works fine but
when I impersonate, using ASPNET account of the machine where web service is
being hosted then the whole uploading process fails. As, it also exposes the
password in clear text format, it is also not acceptable. Also, if I make a
group on the machine where directory is shared, then again I cannot add the
ASPNET user account of the machine where web service being hosted, in that
usergroup.

So is there any solution for the above problem? All the suggestions and
queries are welcome.
Signature

Thanks & Regards,
Ramesh

Manohar Kamath - 04 Mar 2005 13:21 GMT
You can still impersonate, but use one account -- domain or local, which has
access to the network share. You can encrypt the username and password and
store it in registry using aspnet_setreg utility. Here's the info:

http://support.microsoft.com/default.aspx?scid=kb;en-us;329290

Hope that helps.

Signature

Manohar Kamath
Editor, .netWire
www.dotnetwire.com

> I am making a web service which accesses a shared directory on the netwoek to
> upload a file there. Here comes the problem, When I use impersonation and
[quoted text clipped - 8 lines]
> So is there any solution for the above problem? All the suggestions and
> queries are welcome.

Free Magazines

Get these publications absolutely FREE for up to 12 months. There are no hidden fees and no obligation. Simply choose a title, complete the application form and submit it. Read more ...

Oracle MagazineNetwork ComputingComputer WorldBio-IT WorldeWeekInformation WeekInfosecurity
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.