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

T

Tony Cheng

I want to know which account will be used when File.Exists are called in
ASP.NET ? Thx
 
G

Guest

Hi,

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

Cheers,

Jerome. M
 
S

Steve C. Orr [MVP, MCSD]

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.
 
K

Kevin Spencer

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.
 
K

Kevin Spencer

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

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.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
473,769
Messages
2,569,580
Members
45,055
Latest member
SlimSparkKetoACVReview

Latest Threads

Top