I am working on a Wordpress page rendered with a template. There is a link on the page to another webpage on an external site (i.e., it is on another domain altogether) and this page requires a login. Access to the directory that contains that page is controlled
by a Web config and works only on successful login. The web.config is as follows:
<?xml version="1.0"?>
<!--
Note: As an alternative to hand editing this file you can use the
web admin tool to configure settings for your application. Use
the Website->Asp.Net Configuration option in Visual Studio.
A full list of settings and comments can be found in
machine.config.comments usually located in
\Windows\Microsoft.Net\Framework\v2.x\Config
-->
<configuration>
<appSettings/>
<connectionStrings/>
<system.web>
<authorization>
<allow roles="Administrator, Client"/>
<deny users="*"/>
</authorizati ...
Go to the complete details ...