Tech
Forums
Jobs
Books
Events
Live
Interviews
More
Learn
Training
Career
Members
Videos
News
Blogs
Post
An Article
A Blog
A Video
An Ebook
An Interview Question
Register
Login
5
Reply
Prevention to access the root directory.
Dipesh Tare
Feb 23 2015 4:05 AM
551
Reply
Hi,
I have my asp.net application running well, but I have to prevent the listing of root directories.
Like my url is : www.abcd.com and in that I have folder of account, in which i have the accountPatient.aspx,
so the full url will be : www.abcd.com/account/accountPatient.aspx
When I edit the accountPatient.aspx, it remains a www.abcd.com/account and when I press the enter key it is showing all the directories under account folder, so I need to prevent the showing of root directories and has to be redirect to Home page. Can any one knows how to do it? I searched upon the Google but I didn`t find a particular answer.
Thanks.
Upload Source Code
Select only zip and rar file.
Post
Reset
Cancel
Answers (
5
)
Next Recommended Forum
count and display fb likes in asp.net
Best resource to learn How to Create AJAX enabled User Contr