• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 168
  • Last Modified:

Redirect to login page


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
vivek009
Asked:
vivek009
1 Solution
 
mmarinovCommented:
0
 
Ramesh SrinivasTechnical ConsultantCommented:
Hi,

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

regards,


KS
0
 
ihenryCommented:
0
 
nhewitt21Commented:
disable directory browsing
0
 
hismightinessCommented:
The correct answer was posted by mmarinov.
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

Join & Write a Comment

Featured Post

Free Tool: Subnet Calculator

The subnet calculator helps you design networks by taking an IP address and network mask and returning information such as network, broadcast address, and host range.

One of a set of tools we're offering as a way of saying thank you for being a part of the community.

Tackle projects and never again get stuck behind a technical roadblock.
Join Now