Webmaster Forum  

Go Back   Webmaster Forum > Web Hosting Forum - Web Hosting - Web Host - Hosting - Managed Hosting - Shared Hosting > Web Hosting Forum
User Name
Password
Register FAQ Members List Calendar Transactions Store Search Today's Posts Mark Forums Read


General Security - A Must Read

Reply
 
Thread Tools Search this Thread Display Modes
  #1  
Old 12-26-2007, 04:31
John Allen
Junior Member


Join Date: Dec 2007
Posts: 10
Trader Rating: (0)
Points: 0 (Donate)
5 F$/Referral Refer Friends
John Allen is on a distinguished road
Default General Security - A Must Read

This is just general security that you should know::


[-] Shared Hosting?

if you are on a shared host, means you have other websites on the same server, you can never be too paranoid.

that's why, if you run a CMS / Forum, anything that needs MySQL access. most probably your password is plaintext in a file.. and all the sites on that server, most likely can have access to that file... sucks eh?


well, there are some solutions:

- Move the config file `that contains the pass / user, to the user directory.. example:

/home/darkmindz/public_html/config.php << thats where it usually is..

you can move it to:

/home/darkmindz/config.php

that makes it really harder on the attacker to get the file, unless he roots the server, or knows exactly what the filename is...

next solution is:

encrypt your files,, you can use Zend or IonCube, or some other custom encryption..you can look that up, we are not going deep into it.

[-] Been Hacked?

Well, if you have been hacked once, you cant just get your backups up, and move on with your life.. wrong!

you will need to look for backdoors, if you can delete ALL the files on your site, and get new files from a backup, it would be much better, but if you cant, then you need to check for the files the `hacked` could have edited... in most cases, the `hacker` would be using a c99 PHP-Shell to go over your files and edit them.

so, lets see what files he could have edited, you can do that by looking in your SSH / FTP for writable. an easier way, is just to look at your files the way the `hacker` saw it..

you can upload a c99 PHP-Shell to your site, and look for the green perms files, those are editable, then you can either replace those files with new ones, or if you know what to look for, then open them up and look for backdoors left by the hacker..

Now, I dont really have to say this, but..

Change all your passwords. FTP, SSH, cPanel, Admin panel. EVERYTHING.

[-] The best way to secure your self, is to know what the attacker is looking for.

Yea, Read some webhacking tutorials, we have a bunch of them here, this is what all / most hackers read, and go after your site based on it...

once you know what they are looking for, you can find a way around it, maybe in another tutorial I will discuss securing your webapps.

Okay, that was a basics of what you need to know / do, to keep your site secure, we will go more into it with webapps security, comments and suggestions are welcomed

Source: www. darkmindz .com/forum/general_web_security-num219
John Allen is offline
Reply With Quote
  #2  
Old 12-26-2007, 12:55
spring6
Member


Join Date: Dec 2007
Posts: 30
Trader Rating: (0)
Points: 0 (Donate)
5 F$/Referral Refer Friends
spring6 is on a distinguished road
Default

Thanks for sharing with us. I'll move the config file config.php from public directory to the user directory.
spring6 is offline
Reply With Quote
  #3  
Old 12-26-2007, 22:41
domainer50
Senior Member


Join Date: Dec 2006
Posts: 170
Trader Rating: (0)
Points: 0 (Donate)
5 F$/Referral Refer Friends
domainer50 is on a distinguished road
Default

Defintley something I will have to do next time i get some energy Thanks for sharing. BTW, have you tried doing this before?
__________________
Peter J. Foti
domainer50 is offline
Reply With Quote
  #4  
Old 12-27-2007, 01:16
pacificstorm
Junior Member


Join Date: Dec 2007
Posts: 22
Trader Rating: (0)
Points: 0 (Donate)
5 F$/Referral Refer Friends
pacificstorm is on a distinguished road
Default

Thanks John Allen for helpful tips..

I;ve never knew about people can access files from shared hosting..I guess I've to do a lot of works to encrypt my files
__________________
Make Money Online | Mobile Phones
pacificstorm is offline
Reply With Quote
  #5  
Old 12-27-2007, 09:45
Mr.
Junior Member


Join Date: Dec 2007
Location: Lithuania, Klaipeda
Posts: 10
Trader Rating: (0)
Points: 0 (Donate)
5 F$/Referral Refer Friends
Mr. is on a distinguished road
Send a message via AIM to Mr. Send a message via Yahoo to Mr.
Default

Thank you John for sharing with others. It looks pretty good. I'm gonna take this text to my notepad.
Mr. is offline
Reply With Quote
Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

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
Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
READ FIRST: Free Domain + Free Hosting + Free Website for Small businesses optimization Web Hosting Forum 10 12-16-2007 03:15
Best way to market a General Topic Blog? allout Marketing 0 12-10-2007 13:49
So far 537 ppl cud read this....can U ??? vidhu General Discussion 3 07-10-2006 15:15
ICANN frets over security threats Positive Industry News 0 03-28-2006 21:44
General Domain Related Questions admans Domain Name Forum 1 07-28-2005 00:10

Resources : | Advertise at FHF | itextLink.com| Reseller Hosting| TextDot| iNamePros| Any Webmaster| Web Host| Dep3| cheap low cost web hosting reviews|


All times are GMT -4. The time now is 00:47.


Powered by: vBulletin
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.