General Programming Help
 
Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
 
User Name:
Password:
Remember me
 
Go Back   Dev Articles Community ForumsProgrammingGeneral Programming Help

Reply
Add This Thread To:
  Del.icio.us   Digg   Google   Spurl   Blink   Furl   Simpy   Y! MyWeb 
Thread Tools Search this Thread Display Modes
 
Unread Dev Articles Community Forums Sponsor:
Stop making mediocre tutorials.The best tutorials are video! Camtasia Studio makes it easy to create engaging, buzz-building screen videos at any size, in any popular format. Download the free trial!
  #1  
Old April 4th, 2003, 11:40 PM
rathaur rathaur is offline
Contributing User
Dev Articles Newbie (0 - 499 posts)
 
Join Date: Apr 2002
Location: Malaysia
Posts: 81 rathaur User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 17 m 31 sec
Reputation Power: 7
Hiding directories

Hi ...

How should we hide our directory listing from users so that the users cant view our file listings.

How should I do 'restricted area' page as in Apache Web Server.

Thanks, Hope to hear from you guys soon.
__________________
Rathaur
======================
Knowledge is Power

Reply With Quote
  #2  
Old April 5th, 2003, 03:12 AM
fakker fakker is offline
The calm b4 the storm
Dev Articles Newbie (0 - 499 posts)
 
Join Date: Jul 2002
Location: Manchester, UK
Posts: 404 fakker User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 7
Send a message via Yahoo to fakker
how do you mean hide the directory listings? Do you mean so if someone typed "www.yourdomain.com/" it wont show the files?
If so, then I think thats specific to the host? I know that if I log in to my host CP (control panel) there is an option to allow or refuse directory browsing.

As for the restricted page....you could use the .htaccess method to not allow others to view.... but again, do you mean like the browser message you often get "You are not authorised to view this page"?

Sorry I couldnt be much more help!
__________________
Matt 'Fakker' Facer

mattfacer.com

Reply With Quote
  #3  
Old April 5th, 2003, 06:24 AM
Ben Rowe
Guest
Dev Articles Newbie (0 - 499 posts)
 
Posts: n/a  
Time spent in forums:
Reputation Power:
the easiest way is just to place a blank index.html file in each directory, which will stop the files from being viewed. or using htaccess files to block access, or to redirect them

Reply With Quote
  #4  
Old April 6th, 2003, 08:37 AM
infamous-online infamous-online is offline
Moderator
Dev Articles Newbie (0 - 499 posts)
 
Join Date: Apr 2002
Posts: 404 infamous-online User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 1 Day 24 m 44 sec
Reputation Power: 7
Wink Re: Hiding directories

Quote:
Originally posted by rathaur
Hi ...

How should we hide our directory listing from users so that the users cant view our file listings.

How should I do 'restricted area' page as in Apache Web Server.

Thanks, Hope to hear from you guys soon.


well i'll have an article on it in about 3 days so check it out k
__________________
Apache Expert

Reply With Quote
Reply

Viewing: Dev Articles Community ForumsProgrammingGeneral Programming Help > Hiding directories


Thread Tools  Search this Thread 
Search this Thread:

Advanced Search
Display Modes  Rate This Thread 
Rate This Thread:


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
View Your Warnings | New Posts | Latest News | Latest Threads | Shoutbox
Forum Jump


Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
  
 

IBM developerWorks




© 2003-2008 by Developer Shed. All rights reserved. DS Cluster 3 hosted by Hostway