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

Gonzalo Paniagua Javier gonzalo at ximian.com
Mon May 26 06:50:05 EDT 2003


El lun, 26 de 05 de 2003 a las 08:53, Claudio Pacciarini escribió:
> 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!

Can you please file a bug report in bugzilla about this? Including a
test case that works under MS is a plus ;-).

-Gonzalo





More information about the Mono-devel-list mailing list