Parent folder of my nfo.site.nfoservers viewable by everyone

This is used for general discussion that is not necessarily server-related.
Post Reply
amerikanpsyko
New to forums
New to forums
Posts: 2
https://www.youtube.com/channel/UC40BgXanDqOYoVCYFDSTfHA
Joined: Thu Mar 19, 2015 2:08 am

Parent folder of my nfo.site.nfoservers viewable by everyone

Post by amerikanpsyko »

How can I make this parent folder secure so i'm the only one allowed to see it? I went through my winscp ftp program, and changed all the permissions that only the owner can access/view it, however, when you click on the weblink, all the files are still viewable. Any ideas? Sorry if this isn't the correct forum to post in, wasn't sure where would be suitable.
doulos9
This is my homepage
This is my homepage
Posts: 200
Joined: Sun Sep 15, 2013 9:44 pm

Re: Parent folder of my nfo.site.nfoservers viewable by ever

Post by doulos9 »

Add a blank index.html file to that directory.
User avatar
Edge100x
Founder
Founder
Posts: 12948
Joined: Thu Apr 18, 2002 11:04 pm
Location: Seattle
Contact:

Re: Parent folder of my nfo.site.nfoservers viewable by ever

Post by Edge100x »

That's the quickest way, although people can still guess the folder names to view them. You could also modify .htaccess to remove the Indexes keyword or remove access, or point different domains/subdomains at the folders that you want to be visible and have nothing pointed at your root.
amerikanpsyko
New to forums
New to forums
Posts: 2
Joined: Thu Mar 19, 2015 2:08 am

Re: Parent folder of my nfo.site.nfoservers viewable by ever

Post by amerikanpsyko »

@doulous9 The blank index.html worked great. Nothing shows up when you attempt to view it.
@edge100x How do you edit all that? Like I stated, i'm a huge noob when it comes to this stuff. I had a coder really screw me over on my cod4 server, and deleted all my code, so I have to start over from scratch, knowing little, to nothing about linux, domains, subdomains, databases, ect. Sorry if I sound super green.
theRadAleks
This is my homepage
This is my homepage
Posts: 200
Joined: Wed Feb 19, 2014 6:07 pm
Location: Dallas, TX

Re: Parent folder of my nfo.site.nfoservers viewable by ever

Post by theRadAleks »

You can also paste this into the blank index.html to redirect them to something else, for example if you have a forums running of the same website.

Code: Select all

<meta http-equiv="refresh" content="0; URL='https://www.nfoservers.com'" />
Post Reply