XML Sitemaps Generator

Author Topic: IIS7 Permissions  (Read 1967 times)

michael73

  • Registered Customer
  • Approved member
  • *
  • Posts: 1
IIS7 Permissions
« on: February 17, 2017, 07:10:59 PM »
To prevent our website being compromised due to potential issues with the Site Map Generator PHP script, we have enabled Windows authentication on the folder and turned off anonymous authentication.

/wwwroot/ Anonymous Permitted
/wwwroot/generator/ Windows Authentication Only

The /wwwroot/sitemap.xml file is visible and works fine.  However, after running the /generator/index.php to generate the file, the permissions are passed along to the /wwwroot/sitemap.xml and now it asks for a password when we try to ask for it.

How can we modify this so the sitemap.xml does not use the same Windows authentication permissions as the /generator/ folder on IIS7?

XML-Sitemaps Support

  • Administrator
  • Hero Member
  • *****
  • Posts: 10796
Re: IIS7 Permissions
« Reply #1 on: February 18, 2017, 12:05:58 AM »
Hello,

I'm not sure how this can be done with IIS configuration, but you can run the script in command line (via scheduled task) instead of the browser to have it running under a different user account.
Oleg Ignatiuk
www.xml-sitemaps.com
Send me a Private Message

For maximum exposure and traffic for your web site check out our additional SEO Services.

 

SMF 2.0.14 | SMF © 2017, Simple Machines
XHTML RSS WAP2