Re: Deny access to htm files
From: Joyjit Mukherjee (joyjit_mukherjee_at_hotmail.com)
Date: 01/13/05
- Next message: Brian Bischof: "Emulate HREF Mailto: in a form"
- Previous message: Joyjit Mukherjee: "Re: object in session question"
- In reply to: Brian Linden: "Deny access to htm files"
- Next in thread: Patrick Olurotimi Ige: "Re: Deny access to htm files"
- Messages sorted by: [ date ] [ thread ]
Date: Thu, 13 Jan 2005 11:08:14 +0530
Hi,
How long are you persisting the cookie for Forms Authentication. The said
url is accessible because within a browser session, the cookie still exist.
Try calling FormsAuthentication.Signout() in the initial Page_Load before
you redirect to your login page.
Hope that helps.
Joyjit
"Brian Linden" <brian@ineedadip.com> wrote in message
news:%23no8teQ%23EHA.2180@TK2MSFTNGP12.phx.gbl...
> I have a web application using forms authentication and everything seemed
to
> be working fine, as far as requiring them to login.
>
> But then I noticed that you could type in:
> http://domain.com/restrictefolder/test.htm
>
> How do I deny access to a folder full of .htm files that I don't want them
> to read unless they have logged in?
>
>
- Next message: Brian Bischof: "Emulate HREF Mailto: in a form"
- Previous message: Joyjit Mukherjee: "Re: object in session question"
- In reply to: Brian Linden: "Deny access to htm files"
- Next in thread: Patrick Olurotimi Ige: "Re: Deny access to htm files"
- Messages sorted by: [ date ] [ thread ]
Relevant Pages
|