Want to protect your cyber security and still get fast solutions? Ask a secure question today.Go Premium

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 163
  • 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

Featured Post

Technology Partners: 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!

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