Solved

Redirect to login page

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

Top 6 Sources for Identifying Threat Actor TTPs

Understanding your enemy is essential. These six sources will help you identify the most popular threat actor tactics, techniques, and procedures (TTPs).

Join & Write a Comment

A quick way to get a menu to work on our website, is using the Menu control and assign it to a web.sitemap using SiteMapDataSource. Example of web.sitemap file: (CODE) Sample code to add to the page menu: (CODE) Running the application, we wi…
IntroductionWhile developing web applications, a single page might contain many regions and each region might contain many number of controls with the capability to perform  postback. Many times you might need to perform some action on an ASP.NET po…
This video shows how to remove a single email address from the Outlook 2010 Auto Suggestion memory. NOTE: For Outlook 2016 and 2013 perform the exact same steps. Open a new email: Click the New email button in Outlook. Start typing the address: …
You have products, that come in variants and want to set different prices for them? Watch this micro tutorial that describes how to configure prices for Magento super attributes. Assigning simple products to configurable: We assigned simple products…

746 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

Need Help in Real-Time?

Connect with top rated Experts

12 Experts available now in Live!

Get 1:1 Help Now