• Welcome to Sitemap Generator Forum.
 

IIS7 Permissions

Started by michael73, February 17, 2017, 07:10:59 PM

Previous topic - Next topic

michael73

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

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.