Monday, July 24, 2006

 

File Access Optimization

When you need to including file, please recheck file content that will be use. If file is not contains PHP codes, use readfile() function to increase performance.
Because files that including with readfile() does not parsing by PHP. It will be different with construction language include() and require(), and files will be evaluated before.

Consequence from using readfile() is increase attack risk. This risk will be happen when accessing file from URL.

Solution for the attack risk is by using File Handling.

6 Comments:

Blogger bartley said...

Thanks for the better security tip. I want to implement that.

Internet Marketing agency

2:33 AM 
Blogger Revon said...

It is really awesome to play with php.

seo services

4:48 AM 
Blogger Ancient Lahore said...

seriously, who think about performance over security ? no one.

Learn PHP Programming Online

2:37 AM 
Blogger Alieen Stewart said...

I truly like to reading your post. Thank you so much for taking the time to share such a nice information....
Web Designing Company in Chandigarh

1:57 AM 
Blogger uma jayakumar said...

"Nice blog.. Thanks for sharing this blog information with us…

Web Development Company Chennai

4:53 AM 
Blogger 3danimation said...

Thank for the php better tips of security.

PHP Traning in Chandigarh

12:03 AM 

Post a Comment

Links to this post:

Create a Link

<< Home