The board's server will undergo upgrade maintenance tonight, Nov 5, 2014, beginning approximately around 10 PM ET. Prepare for some possible down time during this process.
FAQ    Search

Board index » Help, Help » Technical Support




Post new topic Reply to topic  [ 25 posts ]  Go to page Previous  1, 2
Author Message
 Post subject: Re: IT Guy/Gal Thread
PostPosted: Fri May 20, 2016 8:38 am 
Offline
User avatar
The Beef
 Profile

Joined: Thu January 03, 2013 10:16 pm
Posts: 4361
Anybody got any PHP/MySQL workflow tips?

For a personal project, I'm developing an Angular frontend, but the server is MySQL. Got Apache and SQL installed on my local PC and am going to try using Gulp to compile dev code and reload the browser?

Also, I have no idea what I'm doing with regards to keeping things secure with PHP. Anybody got a good PHP/SQL security 101 link?

_________________
Rank 'em


Top
 
 Post subject: Re: IT Guy/Gal Thread
PostPosted: Fri May 20, 2016 9:36 am 
Offline
User avatar
F.U.B.A.R
 WWW  Profile

Joined: Wed July 03, 2013 11:21 pm
Posts: 9033
Location: Lft Craquepeau
For starters, compile suPHP, suhosin and mod security into Apache.

Make you never set folder permissions higher than 755 or file permissions above 644. Never have folders set to ownership of 'nobody'.

Ensure you're using a currently supported version of PHP with the most recent updates.

For an alternative (better performing) to MySQL, have a look at MariaDB.

Are you running a GUI platform for the hosting management? WHM/cPanel is fine and has options for brute force protection and firewall software like CSF and LFD.

Something to remember is that no amount of server security can prevent a website from being compromised due to bad coding. (Almost everything above will mainly protect the server from being compromised, or other sites/accounts from bring accessed/compromised).

I'll post more later when my brain isn't bathed in beer.

_________________
Rangi Guy wrote:
So skating back to the train station after work today things went wrong.....now my skateboard is at the bottom of the harbour :(


Top
 
 Post subject: Re: IT Guy/Gal Thread
PostPosted: Fri May 20, 2016 10:11 am 
Offline
User avatar
The Beef
 Profile

Joined: Thu January 03, 2013 10:16 pm
Posts: 4361
Sgt. Crackpot wrote:
For starters, compile suPHP, suhosin and mod security into Apache.

Make you never set folder permissions higher than 755 or file permissions above 644. Never have folders set to ownership of 'nobody'.

Ensure you're using a currently supported version of PHP with the most recent updates.

For an alternative (better performing) to MySQL, have a look at MariaDB.

Are you running a GUI platform for the hosting management? WHM/cPanel is fine and has options for brute force protection and firewall software like CSF and LFD.

Something to remember is that no amount of server security can prevent a website from being compromised due to bad coding. (Almost everything above will mainly protect the server from being compromised, or other sites/accounts from bring accessed/compromised).

I'll post more later when my brain isn't bathed in beer.


Whelp.

_________________
Rank 'em


Top
 
 Post subject: Re: IT Guy/Gal Thread
PostPosted: Thu July 07, 2016 2:06 am 
Offline
likes rhythmic things that butt up against each other
 Profile

Joined: Thu April 21, 2016 12:19 am
Posts: 969
Beer battered server environments.


Top
 
 Post subject: Re: IT Guy/Gal Thread
PostPosted: Fri March 03, 2017 6:24 am 
Offline
User avatar
mXn
 Profile

Joined: Thu January 24, 2013 4:32 am
Posts: 20677
Location: Surrounded by Wokes. Please send help.
Sgt. Crackpot wrote:
I'm somewhat in IT. I used computers to destroy things and kill people.

3) Brogrammer

_________________
(she/him/theirs)


Top
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 25 posts ]  Go to page Previous  1, 2

Board index » Help, Help » Technical Support


Who is online

Users browsing this forum: No registered users and 3 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum

Search for:
Jump to:  
It is currently Tue March 19, 2024 6:29 am