1. Home
  2. Computing & Technology
  3. Python

Programming Secure Web Applications in Python

From , former About.com Guide

3 of 10

Broken Access Controls

Obviously, OS-based file permissions are beyond the control of the programmer. However, it is encumbent upon the developer to open each file with the permissions needed and to close it as soon after using it as practicable. While this security policy must obviously be weighed against runtime efficiency, the best way to do this is to cluster one's file access as much as possible -- using periodic caching of small files or snippets of larger files in RAM as necessary.

Explore Python
About.com Special Features

Holiday Central

What to eat, where to go, fun things to do and how to save money on the perfect gifts. More >

Family Tech Center

Stay connected and entertained with reviews on tips on the latest HDTVs, cellphones and more. More >

  1. Home
  2. Computing & Technology
  3. Python

©2009 About.com, a part of The New York Times Company.

All rights reserved.