473,394 Members | 1,567 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,394 software developers and data experts.

Account using when call File.Exists() in ASP.NET

I want to know which account will be used when File.Exists are called in
ASP.NET ? Thx
Nov 19 '05 #1
4 1432
Hi,

the logged in user's account permissions will be used when File.Exists is
called.

Cheers,

Jerome. M

"Tony Cheng" wrote:
I want to know which account will be used when File.Exists are called in
ASP.NET ? Thx

Nov 19 '05 #2
By default the ASPNET user account will be used. This account is locked
down and does not have access to most directories by default.

Note: In Windows Server 2003 the "Network Service" user account is used
instead of ASPNET.

--
I hope this helps,
Steve C. Orr, MCSD, MVP
http://SteveOrr.net
"Tony Cheng" <sd***@fdfsds.com> wrote in message
news:OC**************@TK2MSFTNGP10.phx.gbl...
I want to know which account will be used when File.Exists are called in
ASP.NET ? Thx

Nov 19 '05 #3
That would be the account that ASP.Net is running under....

--
HTH,

Kevin Spencer
Microsoft MVP
..Net Developer
Neither a follower nor a lender be.

"Tony Cheng" <sd***@fdfsds.com> wrote in message
news:OC**************@TK2MSFTNGP10.phx.gbl...
I want to know which account will be used when File.Exists are called in
ASP.NET ? Thx

Nov 19 '05 #4
> the logged in user's account permissions will be used when File.Exists is
called.
Incorrect, but a really good wild guess. Someday a use may be found for such
guesswork. Unfortunately, the state of programming technology at this point
doesn't handle it very well.

--
HTH,

Kevin Spencer
Microsoft MVP
..Net Developer
Neither a follower nor a lender be.

"DotNetJerome" <reachjerome@_yahoo.com-remove-the-underscore-after@> wrote
in message news:59**********************************@microsof t.com... Hi,

the logged in user's account permissions will be used when File.Exists is
called.

Cheers,

Jerome. M

"Tony Cheng" wrote:
I want to know which account will be used when File.Exists are called in
ASP.NET ? Thx

Nov 19 '05 #5

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

Similar topics

3
by: Random Person | last post by:
Does anyone know how to use VBA to relink tables between two MS Access databases? We have two databases, one with VBA code and the other with data tables. The tables are referenced by linked...
11
by: Grasshopper | last post by:
Hi, I am automating Access reports to PDF using PDF Writer 6.0. I've created a DTS package to run the reports and schedule a job to run this DTS package. If I PC Anywhere into the server on...
1
by: Daveyk0 | last post by:
Hello there, I have a front end database that I have recently made very many changes to to allow off-line use. I keep copies of the databases on my hard drive and link to them rather than the...
11
by: Marcelo López | last post by:
I need to create a folder in the file system owned by an special user created by my application. The idea is that only my app will have permissions to delete and create files on that folder. My...
3
by: | last post by:
This question references to KB articles: http://support.microsoft.com/default.aspx?scid=kb;EN-US;315158 http://support.microsoft.com/default.aspx?scid=kb;EN-US;317012 I'm running Advanced Server...
1
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...
0
by: David Cho | last post by:
Out of the blue, my ASP.NET application - cannot connect to a remote SQL server ("Sql server does not exist") - cannot call HttpWebRequest.GetRequestStream() ("underlying connection closed") ...
7
by: M. Simioni | last post by:
Hi, i'm always auditing ASPNET's account accesses on my webserver, a WIN2K_SP4 + IIS5 + SQLServer2K_SP3a machine. Nearly all the applications work correctly, but i constantly find a message in...
3
by: Matt Lowrance | last post by:
I'm hoping someone can give me a little guidance. I have written a simple Windows Service that goes out and scrapes a few web pages and updates some data in an access database. The service works...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
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...
0
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...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...

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.