0
我正在使用模板呈现的Wordpress页面上工作。页面上的链接指向外部网站上的另一个网页(即,它完全位于另一个网站上),而thios页面需要登录。访问包含该页面的目录由Web配置控制,并且仅在成功登录时起作用。在Web.config如下:从外部Web站点访问限制访问的Web服务器上的目录
<?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="*"/>
</authorization>
</system.web>
</configuration>
如何修改这个或使外部网站的其他任何的变化,使我的WordPress页面上的链接成功地设法访问外部网站,我能看到页面,而不必登录(比如为我的wordpress网站的请求或这些行中的某些内容创建一个例外)。我想这样做是因为同一用户已经登录到我的WordPress网站,并且必须在此登录外部网站只是为了查看外部网页。这是可行的吗?
P.S:我提到的外部网站是基于ASP.NET的网站。