php Programming Glossary: expose
Why shouldn't I use mysql_* functions in PHP? http://stackoverflow.com/questions/12859942/why-shouldnt-i-use-mysql-functions-in-php for the idiosyncratic function signature shift . They also expose the real PDO at most times. Rewriting doesn't have to stop at..
Anatomy of a Distributed System in PHP http://stackoverflow.com/questions/1516960/anatomy-of-a-distributed-system-in-php the ideal solution and to better explain it I'm going to expose my scenario here. I've a server that will receive orders from..
Resumable downloads when using PHP to send the file? http://stackoverflow.com/questions/157318/resumable-downloads-when-using-php-to-send-the-file for tunneling file downloads since we don't want to expose the absolute path of downloadable file header Content Type ctype..
How to run PHP exec() as root? http://stackoverflow.com/questions/1598231/how-to-run-php-exec-as-root to write specific scripts with limited functions than to expose the underlying priviledged command. As in exec 'sudo getIpTables.ksh'..
How to hash long passwords (>72 characters) with blowfish http://stackoverflow.com/questions/16594613/how-to-hash-long-passwords-72-characters-with-blowfish vulnerabilities we know doing hash1 hash2 value can expose significant vulnerabilities around collision resistance and..
How to conduct buffer overflow in PHP/Python? http://stackoverflow.com/questions/2081281/how-to-conduct-buffer-overflow-in-php-python almost all of the APIs and language semantics that they expose are heavily error checked making it impossible to have exploitable.. still be impossible. This doesn't mean that you couldn't expose unsafe APIs that can do whatever. In fact using Pythons ctypes..
Should you always end mysql queries with “or die?” http://stackoverflow.com/questions/2130105/should-you-always-end-mysql-queries-with-or-die a horrible message to show an end user mysql_error may expose information you don't want to be given There is no way to handle..
JavaScript QR Code Reader - can it be done? Or, Remote Service? http://stackoverflow.com/questions/2566972/javascript-qr-code-reader-can-it-be-done-or-remote-service use Appcelerator to make it work. I know Appcelerator does expose the Camera API on its host devices but whatever we do with it..
PHP SOAP Transfering Files http://stackoverflow.com/questions/2913106/php-soap-transfering-files 'Upload File' 'urn uploadwsdl' Register the method to expose server register 'upload_file' method array 'file' 'xsd string'..
Randomly Losing Session Variables Only In Google Chrome & URL Rewriting http://stackoverflow.com/questions/2953536/randomly-losing-session-variables-only-in-google-chrome-url-rewriting Url without index.php If I remove the .htaccess file and expose the front controller in the URL www.domain.com index.php blah..
Many hash iterations: append salt every time? http://stackoverflow.com/questions/3559437/many-hash-iterations-append-salt-every-time it will take to generate a rainbow table... Yes it does expose a DOS vulnerability but it also prevents brute force attacks..
Best to use Private methods or Protected methods? http://stackoverflow.com/questions/419844/best-to-use-private-methods-or-protected-methods code. I'm not convinced however and agree that you should expose only what you really need to. The exception would be a library..
Force SSL/https using .htaccess and mod_rewrite [duplicate] http://stackoverflow.com/questions/4398951/force-ssl-https-using-htaccess-and-mod-rewrite for defending against configuration errors that expose stuff that should be protected. When this directive is present..
Doctrine 2 Whats the Recommended Way to Access Properties? http://stackoverflow.com/questions/4461296/doctrine-2-whats-the-recommended-way-to-access-properties not set properties fields public. How then would you expose these fields The sandbox used get set methods. Is that the best..
What's the difference between PHP's DOM and SimpleXML extensions? http://stackoverflow.com/questions/4803063/whats-the-difference-between-phps-dom-and-simplexml-extensions Node but the point is an attribute node would not expose that method in the first place. But that's just my 2c. Make..
Encoding cookies so they cannot be spoofed or read etc http://stackoverflow.com/questions/5009685/encoding-cookies-so-they-cannot-be-spoofed-or-read-etc fully trust data that leaves your web server. So don't expose your user's info like that. It's not worth it. However I did..
Is it ever ok to store password in plain text in a php variable or php constant? http://stackoverflow.com/questions/568657/is-it-ever-ok-to-store-password-in-plain-text-in-a-php-variable-or-php-constant misconfiguration or an echo in the wrong place could expose it to the world. If you MUST store a password which is possible..
PhpUnit private method testing http://stackoverflow.com/questions/5937845/phpunit-private-method-testing for the sake of testing or as Mom used to say don't expose your privates . Most of the time you should be able to test..
Path of assets in CSS files in Symfony2 http://stackoverflow.com/questions/9500573/path-of-assets-in-css-files-in-symfony2 came because I did not want the individual original files exposed to the public specially if I wanted to play with less filter.. To be comppiled respect the path to the images and do not expose the original source to the public. Winner is C Arrgg after spending..
|