[Mono-devel-list] ASP.NET small patch to allow images in loginUrl pages.

Claudio Pacciarini clau3107 at hotmail.com
Mon May 26 02:53:30 EDT 2003

Hi! I've been trying to made a very simple/small patch of mcs in order to 
allow images requested prior authentication to be allowed, for instance, in 
graphical login pages. But coulnd't get thatworking.

Without the patch (the normal mono behavior) XSP is only able to send the 
loginUrl page (specified in web.config) to unauthenticated users, therefore, 
only html/text content of that files can be transmited. Anything else (for 
instance, images linked from the loginUrl page) are forbidden. This is bad, 
because without one or two graphics in a login page, the look of the page is 
really awful, no matter what you do.

MS ASP.NET redirects all requests of ASP files (.aspx files, web.config, 
etc) to the the loginUrl page specified in web.config, but it allows 
graphics (and other files) to be transmitted to the unidentifyed user.

That is a good thing (desired and needed) in order to have a nice login page 
with some graphics in it.
Does anybody know how what mono file(s) to change in order to allow XSP to 
send the loginForm and graphics files (.jpg, .png, .gif, etc) to 
unauthorized, unauthenticated users?
Many thanks!

Claudio Pacciarini

STOP MORE SPAM with the new MSN 8 and get 2 months FREE*  

More information about the Mono-devel-list mailing list