Skip to content
View in the app

A better way to browse. Learn more.

Web Designer Forum

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

PHP Security

Featured Replies

I'm wanting to learn about security when it comes to php scripts and MySQL.

 

I have no idea what I should be looking into first as i've never really thought about it, but i think now is the time to start swatting up.

 

Any help please?

some good tips from the both of you :) will assure those are put aside for if i ever become the need to create scripts which would contain such data, i wouldnt have thought of half of them things lol rep ++

The PHPSec guide is well worth a read too I think: phpsec.org/projects/guide/

 

If you want to play it safe, I'd recommend using a framework for any applications / pages you're making publically available. CodeIgniter, for example, takes care of a lot of the potential trouble spots like XSS, Session handling, and SQL injection for you.

The PHPSec guide is well worth a read too I think: phpsec.org/projects/guide/

 

If you want to play it safe, I'd recommend using a framework for any applications / pages you're making publically available. CodeIgniter, for example, takes care of a lot of the potential trouble spots like XSS, Session handling, and SQL injection for you.

 

The problem with using a framework is that so many of the security principles are abstracted away that it wouldn't be much of a learning exercise for the OP.

 

The other thing with frameworks is blind faith that they've got all the security stuff sorted - which often isnt the case, or requires periodically checking for updates and bug patches.

 

My advice would be to run through the links already posted and locally try out some of the techniques. But yes by all means use a framework on shipping code, with a fuller knowledge you've built up in your hacking you'll be able to verify the biggest vulnerabilities and make sure you're covered.

The Essential PHP Security book by Chris Shiflett is very useful! It's available on Amazon...

 

- ionix

Create an account or sign in to comment

Account

Navigation

Search

Search

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.