Dynadot Aftermarket: discover domain gems worth investing in. Visit our aftermarket.

Help restricting access on server

SpaceshipSpaceship
Namecheap AuctionsNamecheap Auctions
Namecheap AuctionsNamecheap Auctions
Watch

bdd

Established Member
Impact
1
hey i am doing a site for someone and on there server when you go to a folder with a url in your browser, it shows up the files in that folder in a list.... how do i stop it from doing that? also how do i prevent access to a specific file?
 
0
Close
The views expressed on this page by users and staff are their own, not those of NamePros.
GoDaddyGoDaddy
If server runs with CPanel or other, you can do it with that, look for a tool like Index Manager.

Else you can do it yourself. Create a file called .htaccess with the following line :

PHP:
Options All -Indexes
And place this file in the directory you want no listing. It will deny listing for subdirectory too.
 
0
Close
DomainEasy: white label portfolios are live. Enable yours.

We're social

Escrow.com
Spaceship
Domain Recover
CryptoExchange.com

NamePros updates

Filters for activity feeds
Your news feed, Latest activity, and the activity tab on profiles now have filter buttons: All, Posts, Quick replies, and Other. Your...
AIVikings
Catchy
  • The sidebar remains visible by scrolling at a speed relative to the page’s height.
Back