vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vB3 Programming Discussions (https://vborg.vbsupport.ru/forumdisplay.php?f=15)
-   -   Basic PHP-security must knows? (https://vborg.vbsupport.ru/showthread.php?t=162095)

MrApples 11-06-2007 10:08 PM

Basic PHP-security must knows?
 
Anyone have a link to, or have in mind a list of the basic PHP must knows when it comes to security? I'm not even sure what 'injections' are but I know they have something to do with forms.

Guest190829 11-07-2007 01:20 AM

Adrian has written a really nice article here:

https://vborg.vbsupport.ru/showthrea...light=Security

This keeps vBulletin specifics in mind.

You can always check the PHP manual as well:

http://www.php.net/manual/en/security.php

Andrew Green 11-07-2007 01:54 AM

Quote:

Originally Posted by MrApples (Post 1377346)
Anyone have a link to, or have in mind a list of the basic PHP must knows when it comes to security? I'm not even sure what 'injections' are but I know they have something to do with forms.

Injections are not "really" php, but SQL.

A rather simple way of understanding what a SQL injection is: http://xkcd.com/327/ :D

Basically it comes down to never trusting the user, meaning having a very strong filter in between anything they can input and what gets sent to the database.

Marco van Herwaarden 11-07-2007 03:49 AM

Hehe, that comic is spot on.

MrApples 11-08-2007 02:05 AM

Thanks. That clears up the whole how they can break in thing big time.

Adrian Schneider 11-08-2007 05:59 AM

love the comic :D


All times are GMT. The time now is 03:36 AM.

Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.

X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.02299 seconds
  • Memory Usage 1,718KB
  • Queries Executed 10 (?)
More Information
Template Usage:
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (1)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (6)printthreadbit
  • (1)spacer_close
  • (1)spacer_open 

Phrase Groups Available:
  • global
  • postbit
  • showthread
Included Files:
  • ./printthread.php
  • ./global.php
  • ./includes/init.php
  • ./includes/class_core.php
  • ./includes/config.php
  • ./includes/functions.php
  • ./includes/class_hook.php
  • ./includes/modsystem_functions.php
  • ./includes/class_bbcode_alt.php
  • ./includes/class_bbcode.php
  • ./includes/functions_bigthree.php 

Hooks Called:
  • init_startup
  • init_startup_session_setup_start
  • init_startup_session_setup_complete
  • cache_permissions
  • fetch_threadinfo_query
  • fetch_threadinfo
  • fetch_foruminfo
  • style_fetch
  • cache_templates
  • global_start
  • parse_templates
  • global_setup_complete
  • printthread_start
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete