Abdu_Allah
asked on
Give write permission to the IUSR on web.config only
Hi, is it possible to give write permission to the IUSR on web.config file only(not all application folder and files.) ,only web.config. , I tried it on my Vista machine but it did not work unless I give the write permission to the entire directory. What about Windows servers, are they the same?
to give write permission to web.config (a dangerous thing to do, but understandable if, for instance, you want to change it on-the-fly, I had the same...) you must make sure to remove the "Include inheritable permissions from this object's parent". Otherwise, it will not work unless you change the rights of the whole directory.
Or, on win2k3: "Allow inheritable permissions from the parent to propagate to this object and all child object. Include these with entries explicitly defined here".
Also check the "Effective permissions" tab. It will give you insight whether your online user (IUSR) has access.
Finally, it might not be the IUSR, but the ASPNET user you need to grant access for.
Also check the "Effective permissions" tab. It will give you insight whether your online user (IUSR) has access.
Finally, it might not be the IUSR, but the ASPNET user you need to grant access for.
ASKER
I'm not sure if I get your point so could you please repeat step by step how can I give write permission to web.config. file only?
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Mmm, the extra vertical whitespace in the list is from the crappy formatter of EE, not from me... Sorry 'bout that.
ASKER
abel I did exactly what you suggested but still cannot write to the file untill I give the write permission to the entire parent directory!!
I'm sorry it didn't work out so far yet. Maybe I missed a step. I will setup a clean test environment and see if I can repeat the steps there to find the gap in the procedure.
ASKER
Ok thanks.
Did it work in the end? Sorry that I haven't checked back earlier, I had my environment set up, but forgot about coming back here....