Forums / General Questions / What is a good and easy way to make my site secure?

What is a good and easy way to make my site secure?

Locked

Started by sfklaas on 21 Apr 2008, 1:55 PM · Views: 2,534

Results 1 to 18 of 18
This thread is locked. New replies are disabled.
21 Apr 2008, 1:55 PM
#1
sfklaas avatar

sfklaas

Zen Follower

Join Date:
Mar 2008
Posts:
219
Plugin Contributions:
0

What is a good and easy way to make my site secure?

My goal is to make my site secure. I am a bit new to this but I saw names like SSL, SSH, etc. I am through host monster, and they offer something like SSH/shell access. I guess my first question is:

1.) I haven't attempted to try to access the SSH/shell access for my site. Will this be sufficient for my site? Anyone know or use this through host monster or through another server?

2.) Anyone have any suggestions to reach my goal?

Thanks in advance!!

~Steve

21 Apr 2008, 2:06 PM
#2
kuroi avatar

kuroi

Totally Zenned

Join Date:
Apr 2006
Location:
London, UK
Posts:
10,475
Plugin Contributions:
11

Re: What is a good and easy way to make my site secure?

Sounds like you're looking for the magic wand solution there Steve. Happily Zen Cart has much of the magic built in. But there are still a number of additional steps that you can take, none of them overly difficult, that are explained in this FAQ Entry.

Kuroi Web Design and Development | Twitter

(Questions answered in the forum only - so that any forum member can benefit - not by personal message)

21 Apr 2008, 2:38 PM
#4
steven300 avatar

steven300

Totally Zenned

Join Date:
Jan 2008
Posts:
1,564
Plugin Contributions:
1

Re: What is a good and easy way to make my site secure?

Kuroi, in the link you posted, it advises to move the /cache folder above the public_html/htdocs/www area. I would like to do this except I'm not totally sure how. Is it possible to cut and paste the cache folder? Can this be done in FileZilla? Or would I have to download it, then upload it a directory above, then delete the original?

Can someone give a step-by-step guide, ideally for the whole process?

/cache
This is used to cache session and database information. The BEST security protection for this is to move it to a folder "above" the public_html/htdocs/www area, so that it's not accessible via a browser. (Requires changes to DIR_FS_SQL_CACHE setting in configure.php files as well as Admin>Configuration>Sessions>Session Directory.

21 Apr 2008, 2:46 PM
#5
kobra avatar

kobra

Black Belt

Join Date:
Aug 2005
Location:
Arizona
Posts:
31,500
Plugin Contributions:
4

Re: What is a good and easy way to make my site secure?

Using FTP you can move the folder by dragging and dropping one level up and if you are installed in a folder another level up...

Then edit this last line with new path in both configure.php files

define('DIR_FS_SQL_CACHE', '/enter/your/path/to/public_html_or_htdocs/and/zencart/here/zen/cache');

Most likely:

define('DIR_FS_SQL_CACHE', '/home/?accnt?/cache');

Zen-Venom Get Bitten

21 Apr 2008, 3:00 PM
#6
steven300 avatar

steven300

Totally Zenned

Join Date:
Jan 2008
Posts:
1,564
Plugin Contributions:
1

Re: What is a good and easy way to make my site secure?

Mine says..
define('DIR_FS_SQL_CACHE', '/var/www/html/shop/cache');

Should I still move the cache folder up just one level, so it's /var/www/html/cache? Or do I need to move it up any further?

21 Apr 2008, 3:07 PM
#7
kobra avatar

kobra

Black Belt

Join Date:
Aug 2005
Location:
Arizona
Posts:
31,500
Plugin Contributions:
4

Re: What is a good and easy way to make my site secure?

KoBra:

Using FTP you can move the folder by dragging and dropping one level up and if you are installed in a folder another level up...
Will be in your case

/var/www/cache

or maybe:

/var/cache

I have not seen both www and html that I can recall as a path

Zen-Venom Get Bitten

21 Apr 2008, 3:19 PM
#9
kobra avatar

kobra

Black Belt

Join Date:
Aug 2005
Location:
Arizona
Posts:
31,500
Plugin Contributions:
4

Re: What is a good and easy way to make my site secure?

A couple of lines up there is this - does yours say 'file' or 'none'??

define('SQL_CACHE_METHOD', 'none'); 

Zen-Venom Get Bitten

21 Apr 2008, 3:22 PM
#12
kobra avatar

kobra

Black Belt

Join Date:
Aug 2005
Location:
Arizona
Posts:
31,500
Plugin Contributions:
4

Re: What is a good and easy way to make my site secure?

answer my earlier post and check at the level you are trying to move it to to see if a dir named cache exists there already

Zen-Venom Get Bitten

21 Apr 2008, 3:24 PM
#13
kobra avatar

kobra

Black Belt

Join Date:
Aug 2005
Location:
Arizona
Posts:
31,500
Plugin Contributions:
4

Re: What is a good and easy way to make my site secure?

It says none.
Then unless you are going to change it to 'file' you do not need to do this

Zen-Venom Get Bitten

21 Apr 2008, 3:30 PM
#14
steven300 avatar

steven300

Totally Zenned

Join Date:
Jan 2008
Posts:
1,564
Plugin Contributions:
1

Re: What is a good and easy way to make my site secure?

kobra:

Then unless you are going to change it to 'file' you do not need to do this

Oh ok. You were right about there already being a cache folder in the var directory. The reason I'm asking all this is because my tracking mod reported someone trying to do something with the cache folder. I was a bit concerned considering Kuroi's link stated it holds session/db info. So because mine says none, does this mean the cache folder is as secure as I can possibly make it?

21 Apr 2008, 3:38 PM
#15
kobra avatar

kobra

Black Belt

Join Date:
Aug 2005
Location:
Arizona
Posts:
31,500
Plugin Contributions:
4

Re: What is a good and easy way to make my site secure?

as one exists at that level and you are not using any you can just delete or rename it without consequence

Zen-Venom Get Bitten

21 Apr 2008, 3:57 PM
#17
kobra avatar

kobra

Black Belt

Join Date:
Aug 2005
Location:
Arizona
Posts:
31,500
Plugin Contributions:
4

Re: What is a good and easy way to make my site secure?

You should be editing both configure.php files to be the same - both none and same path

Zen-Venom Get Bitten