ASP.NET Writing to the Bin directory, access denied when anonymous user
Posted
by LeeW
on Stack Overflow
See other posts from Stack Overflow
or by LeeW
Published on 2010-04-05T22:25:52Z
Indexed on
2010/04/05
22:33 UTC
Read the original article
Hit count: 279
ASP.NET
Hi all
I have a program that creates a small file in the Bin directory for the purpose of tracking a license (that's the intention), all works fine when debugging but I've just realized that when I run it on a IIS server under the anonymous user account (IUSR) the file isn't created as IUSR only has read permission (I know this is correct but drat!).
Can I write to another location under IUSR account or can I run my code under 'Local Service' account?
Thanks
© Stack Overflow or respective owner