Solved

iis security needed for image upload

Posted on 2009-07-13
1
647 Views
Last Modified: 2012-06-21
Hello,

I am hoping the good people of EE can get me a definitive answer, with explination, to what seems to be a common issue with using WordPress on an IIS server.  The problem is uploading images.  When a user does this the site starts requiring a Windows logon when someone attempts to view.  I understand that it's a rights issue.  Wordpress seems to create a directory on the fly and puts the image file in there.  This file (and the folder) do not have rights for the IUSR account.  I've read on other forums that the solution is to give full access to the IUSR account and the "Network" user (some forums seem to mention this).  On these forums, the person usually questions the security implications of doing this, as I do, and I have not seen any good responses to this.

Can someone tell me what other Wordpress/Windows users do about this?  And explain how the solution won't be a security risk?

Thanks,
Tim
0
Comment
Question by:timnorvel
1 Comment
 
LVL 34

Accepted Solution

by:
Dave_Dietz earned 500 total points
ID: 24845562
Is there a directory where Wordpress creates these 'on the fly' directories?  If so you can simply add the IUSR account and the 'IIS_WPG' group with Read permissions and your users should be able to see the posted images without being prompted for any kind of credentials.

As long as the permissions granted are only Read there are no real security implications.

Dave Dietz
0

Featured Post

On Demand Webinar - Networking for the Cloud Era

This webinar discusses:
-Common barriers companies experience when moving to the cloud
-How SD-WAN changes the way we look at networks
-Best practices customers should employ moving forward with cloud migration
-What happens behind the scenes of SteelConnect’s one-click button

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Transferring a wordpress site from a host or local dev server to another host can be a pain. So I've included my steps on how I have accomplished this task. Steps include an assumption that you have Cpanel access or Ftp access.. If you do not hav…
So you have coded your own WordPress plugin and now you want to allow users to upload images to a folder in the plugin folder rather than the default media location? Follow along and this article will show you how to do just that!
The purpose of this video is to demonstrate how to properly insert a Vimeo Video into a WordPress site or Blog. This will be demonstrated using a Windows 8 PC. Go to your WordPress login page. This will look like the following: mywebsite.com/wp…
This video teaches viewers how to create their own website using cPanel and Wordpress. Tutorial walks users through how to set up their own domain name from tools like Domain Registrar, Hosting Account, and Wordpress. More specifically, the order in…

713 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question