473,385 Members | 1,769 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,385 software developers and data experts.

non asp.net page accessible

Hi all,

I have an asp.net application configured with forms authentication. When I
request a non asp.net page (as an example, a crystal report file) without
first logging into the application, IIS still serves up the file.

I was wondering if any of you out there have encountered this behavior and
what configuration setting were applied to resolve this behavior. I want
all non authenticated session to redirect to the login page.

Thanks in advance
Kasumo
Aug 9 '06 #1
4 1249

Kasumo Morris wrote:
Hi all,

I have an asp.net application configured with forms authentication. When I
request a non asp.net page (as an example, a crystal report file) without
first logging into the application, IIS still serves up the file.

I was wondering if any of you out there have encountered this behavior and
what configuration setting were applied to resolve this behavior. I want
all non authenticated session to redirect to the login page.

Thanks in advance
Kasumo
Take a look at the crystal report viewer in VS2005 looks like it may be
the answer to your problems.

Aug 9 '06 #2
Richard,

I not that concern about crystal report, it was only metioned as an example
of a non asp.net page, by which I mean a file type not configure to the
asp.net process.

"Richard Brown" <ri***************@gmail.comwrote in message
news:11**********************@i3g2000cwc.googlegro ups.com...
>
Kasumo Morris wrote:
>Hi all,

I have an asp.net application configured with forms authentication. When
I
request a non asp.net page (as an example, a crystal report file) without
first logging into the application, IIS still serves up the file.

I was wondering if any of you out there have encountered this behavior
and
what configuration setting were applied to resolve this behavior. I want
all non authenticated session to redirect to the login page.

Thanks in advance
Kasumo

Take a look at the crystal report viewer in VS2005 looks like it may be
the answer to your problems.

Aug 9 '06 #3
if you want asp.net forms authenication for a file, you must map its
extension to asp.net (see mappings under application configuration in IIS).
there is a perfomance cost to having asp.net server a file rather than iis.

-- bruce (sqlwork.com)
"Kasumo Morris" <km*****@fxpress.comwrote in message
news:%2****************@TK2MSFTNGP03.phx.gbl...
Hi all,

I have an asp.net application configured with forms authentication. When
I request a non asp.net page (as an example, a crystal report file)
without first logging into the application, IIS still serves up the file.

I was wondering if any of you out there have encountered this behavior and
what configuration setting were applied to resolve this behavior. I want
all non authenticated session to redirect to the login page.

Thanks in advance
Kasumo

Aug 9 '06 #4
What Bruce suggests is what one would normally do on IIS5.x

If you're using IIS 6.0, I'd suggest setting up Wildcard Mapping. You
can find explicit steps here :
http://asp.net/QuickStart/aspnet/doc...naspnetcontent

bruce barker (sqlwork.com) wrote:
if you want asp.net forms authenication for a file, you must map its
extension to asp.net (see mappings under application configuration in IIS).
there is a perfomance cost to having asp.net server a file rather than iis.

-- bruce (sqlwork.com)
"Kasumo Morris" <km*****@fxpress.comwrote in message
news:%2****************@TK2MSFTNGP03.phx.gbl...
Hi all,

I have an asp.net application configured with forms authentication. When
I request a non asp.net page (as an example, a crystal report file)
without first logging into the application, IIS still serves up the file.

I was wondering if any of you out there have encountered this behavior and
what configuration setting were applied to resolve this behavior. I want
all non authenticated session to redirect to the login page.

Thanks in advance
Kasumo
Aug 12 '06 #5

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

Similar topics

10
by: Anders Wegge Jakobsen | last post by:
Hi, I'm playing around with a layout for a weblog. A mockup can be seen at <http://outside.bakkelygaard.dk/~wegge/testblog/index.html>. The page has a fixed width of 800px, so I'm perfectly...
0
by: tom | last post by:
Hello not really a question on .net, but maybe you guys know. I have a "problem" with our company website. From outside our domain it is accessible through http://www.mydomain.com and...
2
by: Nathan Baulch | last post by:
I have a Web Project containing two WebForms and one WebService. What's the best way to limit who is able to access those three items? I want the first WebForm to only be accessible by locahost,...
5
by: Fred Nelson | last post by:
Hi: I'm a relative newby so hopefully this is a simple question! I have found that I can create global variables easily on a web page by placing the dim statement before the first "private...
13
by: Bijoy Naick | last post by:
My project contains multiple aspx pages. Many of these pages have code-behind that use several helper functions. Instead of copying each helper function into each aspx page, I am thinking of...
6
by: johnf401 | last post by:
I've got a VB .NET Web application that has several frames (for discussion sake, let's call them Form1.aspx and Form2.aspx). I want to be able to call a code module in Form2.aspx.vb from code...
4
by: fishek | last post by:
I have a Master Page with a property defined in codebehind like this: private string profile; public string Profile { get { return profile; } } I can set the property value in the master...
4
by: Diffident | last post by:
Hello All, I have a question which is pertinent to Page's lifecycle. I declared a protected static object (global variable within that class) whose value is set only once when the page is...
57
by: Chris Tomlinson | last post by:
Hi all, Hope someone is able to help. I notice when I design a basic HTML page, it is affected if a WinXP user has Large Fonts set in their Control Panel. However some pages, e.g....
42
by: smerf | last post by:
Using javascript, is there a way to trap an external page inside a frame? I've seen scripts to break out of frames, but nothing to keep a page trapped in a frame.
0
by: taylorcarr | last post by:
A Canon printer is a smart device known for being advanced, efficient, and reliable. It is designed for home, office, and hybrid workspace use and can also be used for a variety of purposes. However,...
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: aa123db | last post by:
Variable and constants Use var or let for variables and const fror constants. Var foo ='bar'; Let foo ='bar';const baz ='bar'; Functions function $name$ ($parameters$) { } ...
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
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: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
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
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...

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.