473,805 Members | 2,272 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Account used for file upload

Hi all,

I just created a new page to upload some files to a webserver.

I put it on my test server (IIS 6.0) and to my supprise I have to give "NT
AUTHORIY\NETWOR K SERVICE" write access to save the uploaded files. It was
my understanding this kind of things ran under the "ASPNET" account of the
server?? I'm mistaken of is there a mis configartion of my server?

rgds,

Bart
Nov 19 '05 #1
3 1118
IIS 6 has what are called Application Pools. All websites run within an
application pool. The default pool uses the NT AUTHORITY account. You can
see the app pools in the IIS manager and the properties dialog for the
website.

"Bart" <No****@interne t.com> wrote in message
news:Xn******** *************** ********@207.46 .248.16...
Hi all,

I just created a new page to upload some files to a webserver.

I put it on my test server (IIS 6.0) and to my supprise I have to give "NT
AUTHORIY\NETWOR K SERVICE" write access to save the uploaded files. It was
my understanding this kind of things ran under the "ASPNET" account of the
server?? I'm mistaken of is there a mis configartion of my server?

rgds,

Bart

Nov 19 '05 #2
Thanks for that response Peter. What is the best practice in this matter?
Do I leave it this way or do I change it to ASPNET user?

rgds,

Bart

"Peter Rilling" <pe***@nospam.r illing.net> wrote in
news:eb******** ******@TK2MSFTN GP09.phx.gbl:
IIS 6 has what are called Application Pools. All websites run within
an application pool. The default pool uses the NT AUTHORITY account.
You can see the app pools in the IIS manager and the properties dialog
for the website.

"Bart" <No****@interne t.com> wrote in message
news:Xn******** *************** ********@207.46 .248.16...
Hi all,

I just created a new page to upload some files to a webserver.

I put it on my test server (IIS 6.0) and to my supprise I have to
give "NT AUTHORIY\NETWOR K SERVICE" write access to save the uploaded
files. It was my understanding this kind of things ran under the
"ASPNET" account of the server?? I'm mistaken of is there a mis
configartion of my server?

rgds,

Bart



Nov 19 '05 #3
I usually just leave it unless there is some requirement to use some other
account. But that is really up to you.

"Zodiac" <No****@interne t.com> wrote in message
news:Xn******** *************** ********@207.46 .248.16...
Thanks for that response Peter. What is the best practice in this matter?
Do I leave it this way or do I change it to ASPNET user?

rgds,

Bart

"Peter Rilling" <pe***@nospam.r illing.net> wrote in
news:eb******** ******@TK2MSFTN GP09.phx.gbl:
IIS 6 has what are called Application Pools. All websites run within
an application pool. The default pool uses the NT AUTHORITY account.
You can see the app pools in the IIS manager and the properties dialog
for the website.

"Bart" <No****@interne t.com> wrote in message
news:Xn******** *************** ********@207.46 .248.16...
Hi all,

I just created a new page to upload some files to a webserver.

I put it on my test server (IIS 6.0) and to my supprise I have to
give "NT AUTHORIY\NETWOR K SERVICE" write access to save the uploaded
files. It was my understanding this kind of things ran under the
"ASPNET" account of the server?? I'm mistaken of is there a mis
configartion of my server?

rgds,

Bart


Nov 19 '05 #4

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

4
8555
by: Dan Sikorsky | last post by:
Does ASP only use the IUSR_<IIS Machine Name> to gain access to files located on a LAN, or can another user account name and password be setup? To create a file on another computer on the LAN in ASP using the FileSystemObject requires permissions on that other computer. Using a DSN for a ODBC driver requires permissions to SELECT records from a database file on another computer on the LAN. Must I use the IUSR_ account only? -- Thank...
1
1462
by: Brian | last post by:
I have a complex problem that needs a lot of background explanation before I can ask questions, so here goes.... Our system consists of two servers. -WebUI server - Windows 2000 - runs asp.net pages, and handles http requests. All requests go through this frontend public server. Business objects are then called, which execute stored procs, etc on the WebSQL server. -WebSQL server - Windows 2000 - SQLServer2000 database and file...
8
1856
by: Alphonse Giambrone | last post by:
I have a small asp.net web app running on a shared host. It uses a Jet (Access) database. I included a routine to compact the database when the application_event fires if it has not been compacted for a certain period of time. A compact must be done into a new file. In other words mydb.mdb compacts into mydb2.mdb. The original file (mydb.mdb) then gets deleted and mydb2.mdb is renamed to mydb.mdb. This routine works fine on another shared...
5
9005
by: =?Utf-8?B?cnZhbmdlbGRyb3A=?= | last post by:
Hello, I have a problem with our OnlineBackupService.exe. This is a Windows Service which is built in .Net 1.1 and basically grabs files from the file system and will try to upload them using WebServices. The service is installed by default using LocalSystem account. The exact problem is that sometimes this service is not allowed to resolve the target webservice. This results in the following exception:
0
9596
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
0
10617
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed. This is as boiled down as I can make it. Here is my compilation command: g++-12 -std=c++20 -Wnarrowing bit_field.cpp Here is the code in...
0
10364
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth. The Art of Business Website Design Your website is...
1
10370
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
0
9186
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own.... Now, this would greatly impact the work of software developers. The idea...
0
5545
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
0
5678
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
2
3849
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
3
3008
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.