Re: ASP.NET application cannot access network drive
From: Naveen K Kohli (naveenkohli_at_hotmail.com)
Date: 07/17/03
- Next message: Naveen K Kohli: "Re: Access Denied to sqlConnection"
- Previous message: SCG: "Mixing Forms Authentication with User Accounts in ASP.NET"
- In reply to: James N: "ASP.NET application cannot access network drive"
- Next in thread: James N: "Re: ASP.NET application cannot access network drive"
- Reply: James N: "Re: ASP.NET application cannot access network drive"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ] [ attachment ]
Date: Thu, 17 Jul 2003 11:38:58 -0400
When you created ASPNET or IUSer_XXXX account on giga drivem the passwords
also have to match. So there are 2 options you have. On your web server
change the password for ASPNET account. And then on network system create
the account with same account. Or more elegant will be to create an account
in domain and use that to impersonate ASP.Net. And then give that user
rights to access network drive.
-- Naveen K Kohli http://www.netomatix.com "James N" <anonymous@devdex.com> wrote in message news:eNsZmr8SDHA.2092@TK2MSFTNGP10.phx.gbl... > My ASP.NET application needs read/write permissions for drive "Z:", > which is mapped to my Linksys Gigadrive (Network Attached Storage...if > anyone is familiar with that). > > If I configure the Gigadrive with "Guest" access rights, then everything > works fine, BUT this leaves the drive vulnerable to everyone/everything > including network viruses. Lately, my drive has had several attacks by > the Lovegate virus. > > Eliminating such attacks requires making my drive private, meaning I > must remove "Guest" access rights and only allow logged-in users to > access the drive through the ASP.NET applicaiton. > > The problem is that without "guest" access rights, the ASP.NET > application itself cannot access the drive! > > Is my ASP.NET application a "user" that I must add to the list of > priviledged users on the Gigadrive? Well, I tried adding users "ASPNET" > and "IUSR_MyComputer" to the Gigadrive, but it didnt seem to work. > > Again, if I allow the "Everyone" group (which includes the user "Guest") > to have persmission to the drive, then everything works. > > Can someone please help me? > > *** Sent via Developersdex http://www.developersdex.com *** > Don't just participate in USENET...get rewarded for it!
- Next message: Naveen K Kohli: "Re: Access Denied to sqlConnection"
- Previous message: SCG: "Mixing Forms Authentication with User Accounts in ASP.NET"
- In reply to: James N: "ASP.NET application cannot access network drive"
- Next in thread: James N: "Re: ASP.NET application cannot access network drive"
- Reply: James N: "Re: ASP.NET application cannot access network drive"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ] [ attachment ]
Relevant Pages
|