php Programming Glossary: untrusted
How to evaluate formula passed as string in PHP? http://stackoverflow.com/questions/1015242/how-to-evaluate-formula-passed-as-string-in-php functions. It can be used to evaluate expressions from untrusted sources. It provides robust error checking and only evaluates.. when you want to evaluate mathematical expressions from untrusted sources. You can define your own variables and functions which..
Replace URLs in text with HTML links http://stackoverflow.com/questions/1188129/replace-urls-in-text-with-html-links 'Remember kids Say no to XSS attacks Always HTML escape untrusted input ' script EOD rexProtocol ' https ' rexDomain ' a zA Z0..
Validating Crontab Entries w/ PHP http://stackoverflow.com/questions/235504/validating-crontab-entries-w-php you know it's always valid rather than try to validate an untrusted string. Then you would just need to make a build a crontab entry..
Mark text in HTML http://stackoverflow.com/questions/2843773/mark-text-in-html be a security issue as if the HTML you are processing is untrusted it could fool your parser into turning text content into attributes..
Simulate php array language construct or parse with regexp? http://stackoverflow.com/questions/3267951/simulate-php-array-language-construct-or-parse-with-regexp array in php. I know I could use eval but since it are untrusted sources I'd rather not do that. I also have no control of the..
PHP Security - Sanitize & Clean http://stackoverflow.com/questions/4762824/php-security-sanitize-clean remember Filter In Escape Out for all user supplied or untrusted input. When reading user supplied data filter it to known values...
Best way to defend against mysql injection and cross site scripting http://stackoverflow.com/questions/568995/best-way-to-defend-against-mysql-injection-and-cross-site-scripting html you must consider the source of the string. If it's untrusted you should pipe it through a filter. strip_tags is in theory..
How to securely create PHP variables with extract http://stackoverflow.com/questions/6023750/how-to-securely-create-php-variables-with-extract command the says the following Do not use extract on untrusted data like user input i.e. _GET _FILES etc. . If you do for example..
Stop people uploading malicious PHP files via forms http://stackoverflow.com/questions/602539/stop-people-uploading-malicious-php-files-via-forms a different domain. For example use ˜images.example.com for untrusted images and ˜www.example.com for the main site that holds all..
PHP variable inside a js file [duplicate] http://stackoverflow.com/questions/6170858/php-variable-inside-a-js-file as it might break things or worse if the value comes from untrusted sources compromise your security. Also rename your file to .php..
How to pass an array via $_GET in php? http://stackoverflow.com/questions/7206978/how-to-pass-an-array-via-get-in-php
Difficulty getting google plus one count http://stackoverflow.com/questions/7321202/difficulty-getting-google-plus-one-count ch echo curl_error ch If it is indeed a problem with the untrusted CA you have two options. The insecure and easy way would be..
safest way to create sessions in php http://stackoverflow.com/questions/752332/safest-way-to-create-sessions-in-php may be additional safety issues if you're hosting on an untrusted and or misconfigured shared server it could lead to other people..
when is eval evil in php? http://stackoverflow.com/questions/951373/when-is-eval-evil-in-php problems with eval are Potential unsafe input. Passing an untrusted parameter is a way to fail. It is often not a trivial task to..
|