Important Information Reguarding Accounts

If there is anything for ultimate privacy such as reporting some bugs in the control panel script or such disscussions can be done here.


Note :: Remember, if a post is not of such ultimate privacy related then it must be posted in some other forum which is visible to the open public
TheCrymsonLegends
Posts: 1246
Joined: Wed Feb 16, 2005 6:59 am

Post by TheCrymsonLegends »

(Off-Topic) I may have to change it up to get some people interested in **** it, probably isn't the best way to get someone to **** on it by being on a hosting website but some people have fallen for it. Woohoo. (/Off-Topic)

But anyway banning IPs automatically would be sweeter in order to get the out of your server files. I know there are some scripts that block bots and suspicious activity but it only covers the files it has to, some other files are still left wide open, so I just put in some html files saying "STAY OUT OF DIRECT FOLDERS" Low code and effective.


Reached 5000 Credits! The highest of any member on Smokyhosts! New milestone for Me!
Tails5
Posts: 1302
Joined: Wed Mar 15, 2006 8:09 am
Contact:

Post by Tails5 »

How does it work if it just has "STAY OUT OF DIRECT FOLDERS"? Where would I put the file? (Sorry for posting delay, right after my last post, Google Web Accelerator broke my browser, and I couldnt receive any web pages, now its gone my computer even starts in 3 minutes, as opposed to the normal 15)
Webmaster Yoda: You must confront the cPanel. Then, and only then, a webmaster will you be.
Julius Caesar: Veni, vidi, posti
TheCrymsonLegends
Posts: 1246
Joined: Wed Feb 16, 2005 6:59 am

Post by TheCrymsonLegends »

SHAdmin brought this to my attention so I have to give him credit for this kinda simple way to help keep people away from directories.

Lets say you have your main site with an index.html or index.php and then you have sub-folders which would hold modules/includes/database information and such. If you put that direct sub-folder you then gain access to view those files inside of them. So any folder that you do not have an index.php or index.html or any index file of any server read extension you would want to put the new index.html file with a simple "Stay out of my directories" Since the server automatically brings up index files with proper extensions no one can nor will ever be able to get into your directory folders. Now there is another code to put in the files which make up your website to prevent people from viewing that file directly, but I do not know that exactly line of code. But for now a simple .html file in each folder which doesn't include one already would be enough to keep anyone out of them. Hope that helps :). Thanks SHAdmin for bringing that to my attention to giving me that idea... quite ingenious.
Reached 5000 Credits! The highest of any member on Smokyhosts! New milestone for Me!
iBye
Posts: 720
Joined: Mon Jan 29, 2007 1:39 pm

Post by iBye »

Haha, yeah. I actually **** on it, not because I believe what was written, but to find out what site it was :)
Tired of Newbies asking Questions? Tell them www.UseGoogleFFS.com
Tails5
Posts: 1302
Joined: Wed Mar 15, 2006 8:09 am
Contact:

Post by Tails5 »

How about an page... say forums/store/index.html that says [html]<meta http-equiv="Refresh" content="0,http://yoursite.com/forums/index.php">[/html]
Webmaster Yoda: You must confront the cPanel. Then, and only then, a webmaster will you be.
Julius Caesar: Veni, vidi, posti
TheCrymsonLegends
Posts: 1246
Joined: Wed Feb 16, 2005 6:59 am

Post by TheCrymsonLegends »

That is actually pretty intelligent idea, having the pages refer anyone back to the main page. It wouldn't give anyone the idea of them trying to access a web directory but simply redirecting them back to the original index file.

Thanks for that idea and the website in my profile is to Flipper's game. This is his third version and getting very good, it's sorta addictive lol.
Reached 5000 Credits! The highest of any member on Smokyhosts! New milestone for Me!
Tails5
Posts: 1302
Joined: Wed Mar 15, 2006 8:09 am
Contact:

Post by Tails5 »

Another way is to have a .php page that has the code [php]<?php
header("Location: http://yoursite.com/forums/index.php");
?>[/php]
Webmaster Yoda: You must confront the cPanel. Then, and only then, a webmaster will you be.
Julius Caesar: Veni, vidi, posti
TheCrymsonLegends
Posts: 1246
Joined: Wed Feb 16, 2005 6:59 am

Post by TheCrymsonLegends »

I suppose that would work, I will try it out once I get the time to do so :D. Thanks.
Reached 5000 Credits! The highest of any member on Smokyhosts! New milestone for Me!
Flipper3
Posts: 353
Joined: Tue Feb 28, 2006 12:34 am

Post by Flipper3 »

Well, I was inspired to make my first How-To because of you guys:

http://www.smokyhosts.com/forums/showthread.php?t=4915

All of the ways already stated will work, but in my opinion will not be as effective. ;)
Tails5
Posts: 1302
Joined: Wed Mar 15, 2006 8:09 am
Contact:

Post by Tails5 »

I like your How-To, but .htaccess files have NEVER worked for me! It just shows the page anyway. I have order set to allow,deny and allow set to my user,deny set to all, I set up the users file, and it still just shows the index anyway!
Webmaster Yoda: You must confront the cPanel. Then, and only then, a webmaster will you be.
Julius Caesar: Veni, vidi, posti
Locked