473,406 Members | 2,867 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,406 software developers and data experts.

Forms Authentication and Frames

I have a web application which is using Forms
Authentication.

The main page of the site is a frames page. If I type in
the url to the frames page, it loads the login page inside
of the main frame instead of redirecting to the login page
by itself.

Why doesn't it redirect completely to the login page.

I have even made the Main page a .aspx page.

Are .htm and .html pages not protected by forms
authentication?
Billy Jacobs

Jul 19 '05 #1
2 2822
On Thu, 4 Sep 2003 11:09:48 -0700, "Billy Jacobs" <bi********@csa.com>
wrote:
Are .htm and .html pages not protected by forms
authentication?


Only ASP.NET resources are -- all other resources have to be protected
by ACL's etc.

-- Mary
MCW Technologies
http://www.mcwtech.com

Jul 19 '05 #2
Hi Billy,

Thanks for your post. I suggest that you can add the following JavaScript
in the Login.aspx to display it in the whole frame:

//-----------------code snippet-----------------
<script language="javascript">
if (window.parent != window.self) {
window.parent.location = "Login.aspx"
}
</script>
//--------------end of------------------

Hope this helps.

Regards,

HuangTM
Microsoft Online Partner Support
MCSE/MCSD

Get Secure! ¨C www.microsoft.com/security
This posting is provided ˇ°as isˇ± with no warranties and confers no rights.

Jul 19 '05 #3

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

6
by: Billy Jacobs | last post by:
I have a website which has both secure and non-secure pages. I want to uses forms authentication. How do I accomplish this? Originally I had my web.config file in the root with Forms...
0
by: Reshma Prabhu | last post by:
Hello, I have developed a web site which uses forms authentication for authenticating users. The problem is that the site is divided into frames and so whenver the cookie expires each frame...
2
by: sushi | last post by:
Hello, I have an web site which uses forms authentication. The application uses frames. When the authentication time out occurs and if we click on any one of the frames, each individual pages...
0
by: Charles Rumbold | last post by:
I am using Forms Authentication and Frames. FA doesn't cover HTML files, only ASP files. If a user goes direct to a frame (e.g. from a bookmark) then the frame opens with a logon window in each...
0
by: J. Babe | last post by:
In an ASP.NET application: -I am using forms authentication -I have a frames HTML page that: has a banner image at the top(HTML page containg a .jpg), and my .aspx pages in the bottom. ...
1
by: Martin | last post by:
Hi, After I gave up on tracking user sessions through the session object (Session_OnEnd is still not triggered by Abandon() even with mode=InProc and me manipulating session variables; in a new...
2
by: Andy Fish | last post by:
Hi, I have a problem using forms based authentication with a frameset. I made sure the containing frameset is an aspx so the first time the user tries to access the application he just gets...
0
by: Lee | last post by:
Hi all ;) Preamble -------- I'm using URL rewriting to enforce a frames policy (yeah, I know frames are 'bad' :) - i.e. if a request comes in for a page which should be nested within a...
4
by: Billy Jacobs | last post by:
I have a web application which is using Forms Authentication. The main page of the site is a frames page. If I type in the url to the frames page, it loads the login page inside of the main...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.