Solved

iis security needed for image upload

Posted on 2009-07-13
1
650 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
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

Free Tool: Port Scanner

Check which ports are open to the outside world. Helps make sure that your firewall rules are working as intended.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

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

Who says nothing in life is free? WordPress.com is a freebie. WordPress.org's downloadable publishing platform is free. Heck, even WordPressMU is free. WordPress is an open source project, which means it can be used on any personal or commerc…
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…
The purpose of this video is to demonstrate how to Import and export files in WordPress. This will be demonstrated using a Windows 8 PC. Go to your WordPress login page. This will look like the following: mywebsite.com/wp-login.php : Click on Too…

719 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