SIP 2 and ASP.Net
Question:
I have ASP.Net installed on the server. I ran the test file and it confirmed that everything is ok.
But when I use the ASP.Net component, the image is uploaded, but without resizing the image and no thumbnail is created. I tried the component that comes with SIP and it works fine.
I checked the security and permission of IUSRXXXX, and there is read, write, execute and modify permission.
Answer:
ASP.Net runs with a different user then classic ASP. Classic ASP uses the user IUSR_xxx, for ASP.Net a new user called ASPNET (IIS_WPG in Windows 2003) has been created. You should give this user full access to the image folder.
When Your server is configured as a domain server then the ASPNET user is not available, you have to use the IWAM_xxx instead for ASP.Net 1.1 or later. See http://support.microsoft.com/kb/315158/ for more information.
In addition you can secure your folder from executing uploaded scripts by disabling Execute rights from within IIS.
See for more info: http://www.asp.net/security.aspx
See also: http://www.dmxzone.com/go?14634
Comments
Be the first to write a comment
You must me logged in to write a comment.