Forms Auth and none aspx pages

  • Thread starter Michael Tissington
  • Start date
M

Michael Tissington

I have forms authentication working for any aspx page (I'm doing this on
both a folder level and also individual files).

The problem I have is if the file is an exe or html then forms auth seems to
be ignored.

How do I get Forms auth to work for other file type too ?

Thanks
 
L

Lauchlan M

I have forms authentication working for any aspx page (I'm doing this on
both a folder level and also individual files).

The problem I have is if the file is an exe or html then forms auth seems to
be ignored.

How do I get Forms auth to work for other file type too ?

By default this is only configured for aspx files. To get it to apply to
other files, you need to go into IIS and set up mappings for file types you
need to secure. I don't recall the details offhand. If you have trouble
doing it, post back here and I'll try and check again in the future and look
up the details for you.

HTH

Lauchlan M
 
M

Michael Tissington

Lauchlan ,

I've looked into various settings on IIS but can't find how to do this.

Any pointers please?
 
L

Lauchlan M

Lauchlan ,
I've looked into various settings on IIS but can't find how to do this.

Any pointers please?

Go into Internet Services Manager | Default Website and right-click
'properties' on <YourWebApplication>

Go to the 'Directory' tab. Click the 'Configuration' button. Add the kinds
of resources you need to 'Application mappings'.

HTH

Lauchlan M
 

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

Staff online

Members online

Forum statistics

Threads
473,755
Messages
2,569,536
Members
45,012
Latest member
RoxanneDzm

Latest Threads

Top