Solved

Redirect to login page

Posted on 2004-08-16
7
155 Views
Last Modified: 2010-04-07

Hi,
I am working in an internet application developed in ASP.net. One of the menu in my site allows users to download a zip file from my webserver. Accidntally the status bar showed the path of the file for few days. Now without login (just to type or modify the url they got from the status bar) they can directly come to the folder which is in my web server and down load the files breaching my security.

Now I want to do 2 things to fix this problem permenantly.


1. What ever URL they type , it will always move to my login page.

2. www.abc.com/menu1/download/file/file20040412.zip must go to www.abc.com
0
Comment
Question by:vivek009
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
7 Comments
 
LVL 28

Accepted Solution

by:
mmarinov earned 125 total points
ID: 11817972
0
 
LVL 11

Expert Comment

by:saleek
ID: 11818818
Hi,

Are you using ASP.NET Forms Authentication for your login? Or is it a custom login script you have created?

regards,


KS
0
 
LVL 20

Expert Comment

by:ihenry
ID: 11818996
0
 
LVL 3

Expert Comment

by:nhewitt21
ID: 11822014
disable directory browsing
0
 
LVL 9

Expert Comment

by:hismightiness
ID: 12069559
The correct answer was posted by mmarinov.
0

Featured Post

Independent Software Vendors: We Want Your Opinion

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

User art_snob (http://www.experts-exchange.com/M_6114203.html) encountered strange behavior of Android Web browser on his Mobile Web site. It took a while to find the true cause. It happens so, that the Android Web browser (at least up to OS ver. 2.…
International Data Corporation (IDC) prognosticates that before the current the year gets over disbursing on IT framework products to be sent in cloud environs will be $37.1B.
This is a high-level webinar that covers the history of enterprise open source database use. It addresses both the advantages companies see in using open source database technologies, as well as the fears and reservations they might have. In this…
In this brief tutorial Pawel from AdRem Software explains how you can quickly find out which services are running on your network, or what are the IP addresses of servers responsible for each service. Software used is freeware NetCrunch Tools (https…

729 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question