Solved

Redirect to login page

Posted on 2004-08-16
7
154 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

Revamp Your Training Process

Drastically shorten your training time with WalkMe's advanced online training solution that Guides your trainees to action.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
How to filter by key press ? 6 64
Aspx calendar pop up control 3 35
ASP.NET Load html part first, then start function 2 35
Can Selenium do Load Testing? 2 56
Lots of people ask this question on how to extend the “MembershipProvider” to make use of custom authentication like using existing database or make use of some other way of authentication. Many blogs show you how to extend the membership provider c…
The article shows the basic steps of integrating an HTML theme template into an ASP.NET MVC project
In a recent question (https://www.experts-exchange.com/questions/29004105/Run-AutoHotkey-script-directly-from-Notepad.html) here at Experts Exchange, a member asked how to run an AutoHotkey script (.AHK) directly from Notepad++ (aka NPP). This video…
Exchange organizations may use the Journaling Agent of the Transport Service to archive messages going through Exchange. However, if the Transport Service is integrated with some email content management application (such as an antispam), the admini…

742 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