this is strange....

J

Jeff

Hey

asp.net 2.0

My problem is that the image web server control (see below) won't display
the image if web.config have this setting:
<authorization>
<deny users="?" />
</authorization>

<asp:Image ID="logo" runat="server" ImageUrl="~/logo.png" />

Any ideas what I should do to solve this so the image is displayed if
web.config have
<authorization>
<deny users="?" />
</authorization>


Best Regards!

Jeff
 
J

Jeff

This web page uses a theme

and it looks like the page can't use the theme either if
<authorization>
<deny users="?" />
</authorization>

<pages theme="Standard" maintainScrollPositionOnPostBack="true"></pages>

any suggestions?
 
J

Jon Paal

"?" stands for anonymous users and "*" for all users. So,

<allow users="Jv"/>
<deny users="?"/>

will allow user "Jv" but deny all anonymous users. You can use to separate
multiple identiies.

<allow users="Jv, Kylin"/>
<deny users="?"/>
 
J

Jeff

thanks!


Jon Paal said:
"?" stands for anonymous users and "*" for all users. So,

<allow users="Jv"/>
<deny users="?"/>

will allow user "Jv" but deny all anonymous users. You can use to separate
multiple identiies.

<allow users="Jv, Kylin"/>
<deny users="?"/>
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top