Velocity Reviews - Computer Hardware Reviews

Velocity Reviews > Newsgroups > Programming > ASP .Net > ASP .Net Security > Securing .htm pages with asp.net

Reply
Thread Tools

Securing .htm pages with asp.net

 
 
Guy Incognito
Guest
Posts: n/a
 
      10-03-2005
Hello,

I would like to use asp.net to secure a site which includes .htm and
..html pages.

I've tried using forms authentication, global.asax and HTTP modules.
Those approaches work fine for .aspx pages, but they aren't triggered
when an .htm or .html page is called.

So how do you secure .htm pages with asp.net security? Can IIS be
configured so that Global.asax or forms authentication are triggered
when .htm pages are requested?

Thanks,
Jason


*** Sent via Developersdex http://www.developersdex.com ***
 
Reply With Quote
 
 
 
 
Dominick Baier [DevelopMentor]
Guest
Posts: n/a
 
      10-03-2005
Hello Guy,

you have to route the .htm extension to the aspnet_isapi dll, just like .aspx
and friends...

you do that in IIS application settings.

---------------------------------------
Dominick Baier - DevelopMentor
http://www.leastprivilege.com

> Hello,
>
> I would like to use asp.net to secure a site which includes .htm and
> .html pages.
>
> I've tried using forms authentication, global.asax and HTTP modules.
> Those approaches work fine for .aspx pages, but they aren't triggered
> when an .htm or .html page is called.
>
> So how do you secure .htm pages with asp.net security? Can IIS be
> configured so that Global.asax or forms authentication are triggered
> when .htm pages are requested?
>
> Thanks,
> Jason
> *** Sent via Developersdex http://www.developersdex.com ***
>



 
Reply With Quote
 
 
 
Reply

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Securing pages with 1.1 Rotsey ASP .Net 0 03-05-2007 03:35 AM
Securing non aspx pages with forms authentication?? joebickley@gmail.com ASP .Net 2 10-06-2005 04:18 PM
Securing HTML pages using asp.net Vaibhav Shah ASP .Net 2 09-26-2005 01:45 PM
Securing .html pages using .NET Framework 2.0 on IIS 6.0 Tod Birdsall ASP .Net 2 01-28-2005 02:32 AM
securing pages and forms from users abdulrauf ASP .Net 1 07-31-2003 02:57 PM



Advertisments