View Full Version : IIS folder permissions
tbell
09-27-2005, 04:56 AM
hi all,
here's my deal now. everything is great. I have pixelpost installed and working as well as word press, each under their respective /blog and /photoblog folders.
My problem is that it prompts for a user name and password when those folders are accessed. I have anonymous access enabled in IIS 6. It takes the administrative user name and pass. Obviously I dont want this.
Anyone seen this or know how to fix?
thanks,
Tyler
www.tylerbell.net
raminia
09-27-2005, 06:28 AM
I didn't get the point here. You own you server?
you should grant READ/WRITE/EXECUTE access to thumbnail and images folder.
CHMOD value = 777
Windows File Permissions = rwxrwxrwx
tbell
09-27-2005, 01:22 PM
yes, I have a server from 1and1.com that I have full remote access too. File permissions are 777 and I still get this.
raminia
09-27-2005, 01:36 PM
as I said before I didn't get your point. rephrase it.
raminia
09-27-2005, 01:45 PM
when I browse into your photoblog and weblog I see 401.3 error :
HTTP Error 401.3
Unauthorized: Unauthorized due to ACL on resource. This error indicates that the credentials passed by the client do not have access to the particular resource on the server. This resource could be either the page or file listed in the address line of the client, or it could be another file on the server that is needed to process the file listed on the address line of the client. Please make a note of the entire address you were trying to access and then contact the Web server's administrator to verify that you have permission to access the requested resource.
401.3 Denied by Resource ACL
This error indicates that the web server was able to authentication and obtain SOME NT user token to process the HTTP request (you still have to determine WHICH user's token...), but that NT user token lacks the FileSystem ACLs to access the requested resource. This is the typical "access denied" due to missing file ACLs that people assume, and yes, you will likely need to adjust ACLs to resolve this issue.
However, realize that all of the OTHER 401.x errors have nothing to do with ACLs, so I recommend AGAINST tweaking resource ACLs to "Everyone: Full Control" to remove ACL issues from the picture. You should be able to determine the exact user that fails to have ACLs to the resource, and just adjust ACLs for that user on the necessary resources and resolve the issue
Common causes includue:
* Wrong/Missing ACLs on the file for the authenticated user. You need to change the ACLs or change the user to an identity that has correctl ACLs on the file.
* You are not authenticating with the protocol you think, and thus the user principle may be unexpected. Reconfigure the authentication protocols as-appropriate so that you end up running as user identity you expect on the server
A useful tool to pragmatically determine access-denied to file resources is File Monitor.
http://blogs.msdn.com/david.wang/archive/2005/07/14/HOWTO_Diagnose_IIS_401_Access_Denied.aspx
--------------
did you enable PHP?
tbell
09-28-2005, 02:38 AM
okay, thanks for that. It has to be something in my php.ini file. I am awaiting reply from my host and will post if I find the solution.
If anyone else has delt with this please let me know. thanks for the help raminina.
Nemesis
09-28-2005, 04:18 AM
Don't use Windows!
tbell
09-28-2005, 05:04 AM
that might be a case of throwing the baby out with the bath water, not that I want to say windows is my baby or anything.
blinking8s
09-29-2005, 01:52 AM
Don't use Windows!
lol...i 2nd the vote ;)
Maybe problem isnt exactly in Windows but in IIS. Apache on Win32 can work quite nice. Maybe not so nice as on some UNIX/LINUX box but still enough nice.
tbell
09-30-2005, 04:26 AM
okay, here was the problem. I was having the same issues with my wordpress site. Before, I had created the folders in my Inetpub by dragging the downloaded folder and dropping in its place. I reinstalled my wordpress this time through a ftp and I no longer get any logon prompts. Thus the first way did not set the file permissions correctly, even though I tried MANY way to fix it. Uploading through a ftp did set these permissions.
vBulletin® v3.7.3, Copyright ©2000-2013, Jelsoft Enterprises Ltd.