Note that there are some explanatory texts on larger screens.

plurals
  1. PO
    primarykey
    data
    text
    singulars
    1. This table or related slice is empty.
    plurals
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. VO
      singulars
      1. This table or related slice is empty.
    2. VO
      singulars
      1. This table or related slice is empty.
    3. VO
      singulars
      1. This table or related slice is empty.
    1. COit was a simple question with probably a simple (and maybe big) answer that i don't know. what are the security implications of storing, let's say, non-malicious string/array data in a .php file? how someone could see it or modify it. also your analogy is pretty funny because chances are the bugatti wouldn't finish the off road course xD
      singulars
    2. CO@wxiiir haha good point :) So to answer your question regarding access of data in flat php files.. it would be coupled with access to your file system. Consider the recent exploit of TimThumb (a popular thumbnail creating script in PHP) http://wpcandy.com/reports/timthumb-security-vulnerability-discovered. Exploiters figured out how to allow themselves to upload and execute arbitrary PHP code in the TimThumb cache directory. Now imagine if this PHP code simply dumped the contents of all files in the web directory... they now have all your data.
      singulars
    3. COthis is good information. let's say that if i had this website that was hacked they could easily see the information that would be stored on plain php files (if i stored it this way). now the question is, why wouldn't they be able to see the information of my databases (if instead of using plain php files i would use a mysql database)? i guess that it wouldn't be of any difficulty for hackers to access the databases when able to execute any php code inside the website, maybe it would take them 10 more minutes at best than accessing the information on plain php files, am i wrong?
      singulars
 

Querying!

 
Guidance

SQuiL has stopped working due to an internal error.

If you are curious you may find further information in the browser console, which is accessible through the devtools (F12).

Reload