Support » Localhost Installs » IIS 10.0 | web.config configuration

  • rajthampi

    (@rajthampi)


    Hi guys
    We are setting up a WordPress based intranet for the local network & using theme(s) those are available within the WordPress repos.
    We had an issue while the site is accessed from other computers, not showing certain images (like slider forward/backward buttons)
    We were able to fix this issue by adding the following to the web.config file

    <httpProtocol>
    <customHeaders>
    <add name=”Access-Control-Allow-Origin” value=”*” />
    </customHeaders>
    </httpProtocol>

    Now, we have a concern regarding security. Does the above exclusive addition to the web.config expose us to any known attacks? We may port the same WordPress site to our public domain. So have to be pretty sure about what we are doing.

    Thanks in advance.

  • You must be logged in to reply to this topic.