Forms Authentication

Results 1 to 2 of 2

Thread: Forms Authentication

  1. #1
    Join Date
    Dec 1969

    Default Forms Authentication

    I have an application and within this application I have a directory of .htm files. I am using forms authentication, is there a way I can make the forms authentication work on the directory of .htm files. I am trying to prevent a direct link to any of the .htm files. They must login in first.

  2. #2
    Join Date
    Dec 1969

    Default RE: Forms Authentication

    Unfortunately, I don't think it's possible. The problem with forms authentication is that it only applies to .NET apps. When the user requests the .htm from the server, the .NET framework does not handle the request, therefore, it doesn't check the web.config and doesn't authenticate the user. If you changed the extensions to .aspx, it should work... give it a try

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts