After a server crash, i've re-installed ws2008web.
My site web works, but i've 2 problems with the permissions.
I've asp classic with FSO, if i want getfile in my web directory, it works, but if i want getfile in other physical path (like c:/mydir/ for example), i've got an error "file not found". Before the crash, it worked.
my 2nd problem, i've copy and paste my wordpress folder. the blog run but if i want to upload a file, wordpress say "cannot create directory".
IIS_IUSRS has rights for all folders in security tabs.
The pool application run Framework 4.0 integrated, networkservice identity.
my 2nd problem, i've copy and paste my wordpress folder. the blog run but if i want to upload a file, wordpress say "cannot create directory".
You have to give "NETWORK SERVICE" the permission 'modify' in the folder '/wp-content/uploads/'
Rorah
I've asp classic with FSO, if i want getfile in my web directory, it works, but if i want getfile in other physical path (like c:/mydir/ for example), i've got an error "file not found". Before the crash, it worked.
For this one I'm not sure to understand, but if I do, I will say you need to declare a virtual directory for 'c:/mydir' to be accessible from the website
This message is provided "AS IS" with no warranties, and confers no rights!
Please 'Mark as Answer' if this post helps you.
Fabrice ZERROUKI
Not sure: where are you doing this? In windows explorer? If yes, that's the right way to do it.
I do it in the IIS Manager, I right click on the website on the left and select "Change permissions..." and Security Tab... etc.
fab777
If your OS is in french (that's not good at all, but that's not the point), you should actually give the permissions to "SERVICE RESEAU".
I had test it and no ameliorations, scripts cannot upload files.
Details errors for sites writed in CSHTML are "Impossible to upload [...] Try to add ASPNET to website permissions [...]
I have try this too with no success.
For PHP Site (here Wordpress), no way to have a detail error.
For you, what Pool Application I need to use ? I ask that because I don't see where I can add more permissions. I'll try to add a fully permissions to a site for all users and test but I dislike this method.
Thanks
Edit
If on a website, in base parameters, I add a User I create with permission on the site for "User who launch the site" it work.
So I think the default website User (I don't know who is it or how to know who is it) haven't the good rights to do upload or other tasks.
Edit 2
Solved with this solution :
New Pool Application linked with a created user. All websites have this user in persmissions. I can now Upload on Wordpress. I'll test on my others website soon.
- give this application pool identity 'Modify' NTFS permissions for your "upload" folder. I mean NTFS, so that's in Windows explorer, cmd, powershell or whatever but not in IIS
- give the 'write' access for your "upload" folder in IIS
This message is provided "AS IS" with no warranties, and confers no rights!
Please 'Mark as Answer' if this post helps you.
Fabrice ZERROUKI
Rorah
1 Post
Permission security iis 7.0
Dec 05, 2012 03:41 PM|LINK
Hi,
After a server crash, i've re-installed ws2008web.
My site web works, but i've 2 problems with the permissions.
I've asp classic with FSO, if i want getfile in my web directory, it works, but if i want getfile in other physical path (like c:/mydir/ for example), i've got an error "file not found". Before the crash, it worked.
my 2nd problem, i've copy and paste my wordpress folder. the blog run but if i want to upload a file, wordpress say "cannot create directory".
IIS_IUSRS has rights for all folders in security tabs.
The pool application run Framework 4.0 integrated, networkservice identity.
My tailor is rich but my english is poor.
Thanx for your help.
Regards.
fab777
925 Posts
Re: Permission security iis 7.0
Dec 06, 2012 08:14 AM|LINK
Please 'Mark as Answer' if this post helps you.
Fabrice ZERROUKI
Saesee33
4 Posts
Re: Permission security iis 7.0
Dec 06, 2012 02:17 PM|LINK
Hi. I've test it (I work with Rorah) and I don't see "NetworkService" when I want to add a user in the website permissions.
I'm questioning if i will need to put the pool in a custom identity to see it in users groups in permissions.
Thanks for help.
(Sorry for my english)
fab777
925 Posts
Re: Permission security iis 7.0
Dec 07, 2012 08:40 AM|LINK
Please 'Mark as Answer' if this post helps you.
Fabrice ZERROUKI
Saesee33
4 Posts
Re: Permission security iis 7.0
Dec 11, 2012 07:40 AM|LINK
I have test with the visible user "SERVICE RESEAU" (Network Service in French) but it's don't change anything. I've try to add ASPNET user too. Same
And "NetworkService" is really not in the list of users/groups.
For the way, I right-click on the site, permissions and Security tab to add users. Like on any windows systems. Not good ?
(Sorry for my english)
fab777
925 Posts
Re: Permission security iis 7.0
Dec 11, 2012 08:07 AM|LINK
I can see clearly now... ;) And, I trust you when you say that 'NetworkService' isn't listed. why, because of:
If your OS is in french (that's not good at all, but that's not the point), you should actually give the permissions to "SERVICE RESEAU".
Not sure: where are you doing this? In windows explorer? If yes, that's the right way to do it.Please 'Mark as Answer' if this post helps you.
Fabrice ZERROUKI
Saesee33
4 Posts
Re: Permission security iis 7.0
Dec 12, 2012 06:43 AM|LINK
I do it in the IIS Manager, I right click on the website on the left and select "Change permissions..." and Security Tab... etc.
I had test it and no ameliorations, scripts cannot upload files.
Details errors for sites writed in CSHTML are "Impossible to upload [...] Try to add ASPNET to website permissions [...]
I have try this too with no success.
For PHP Site (here Wordpress), no way to have a detail error.
For you, what Pool Application I need to use ? I ask that because I don't see where I can add more permissions. I'll try to add a fully permissions to a site for all users and test but I dislike this method.
Thanks
Edit
If on a website, in base parameters, I add a User I create with permission on the site for "User who launch the site" it work.
So I think the default website User (I don't know who is it or how to know who is it) haven't the good rights to do upload or other tasks.
Edit 2
Solved with this solution :
New Pool Application linked with a created user. All websites have this user in persmissions. I can now Upload on Wordpress. I'll test on my others website soon.
Thanks
(Sorry for my english)
fab777
925 Posts
Re: Permission security iis 7.0
Dec 13, 2012 08:43 AM|LINK
Hi, sorry for the late reply.
In a few words, what you have to do is:
- choose an application pool identity
- give this application pool identity 'Modify' NTFS permissions for your "upload" folder. I mean NTFS, so that's in Windows explorer, cmd, powershell or whatever but not in IIS
- give the 'write' access for your "upload" folder in IIS
Please 'Mark as Answer' if this post helps you.
Fabrice ZERROUKI
Saesee33
4 Posts
Re: Permission security iis 7.0
Dec 17, 2012 07:13 AM|LINK
Thanks a lot for precisions.
We use Plesk for domain control but websites are setup manually in IIS so maybe Plesk enter in conflict with ou parameters...
For now, what we have done work but I keep your help for test with futur sites to deploy.
Thanks
(Sorry for my english)