Home » RADICORE development » Framework » OWASP standards vs. Radicore Framework
OWASP standards vs. Radicore Framework [message #120] |
Thu, 29 June 2006 11:32  |
andy
Messages: 7 Registered: June 2006 Location: Reno, NV, USA
|
Junior Member |
|
|
Greetings,
Finally I have the opportunity to review this full release of the Marston web framework. I've been busy working with Python the last few months, giving me a new perspective on things .
Q: Recently I was taken to task for using extensions such as ".inc" rather than standard ".php". The problem, related to OWASP security recommendations for php applications, is that if your server is not configured correctly then .inc files will dump as plain text to the browser. This is a potential security hole. The premise of OWASP philosophy, for background here, is that one should never trust a server configuration. Being that web application code can be deployed on any server, many of which will be hosted and of course the developer may very likely have no influence on server (Apache) configuration settings.
Wondering why this framework code still uses the ".inc" extension?
Shouldn't the OWASP recommendation be heeded?
|
|
|
|
Re: OWASP standards vs. Radicore Framework [message #122 is a reply to message #121] |
Thu, 29 June 2006 12:09   |
andy
Messages: 7 Registered: June 2006 Location: Reno, NV, USA
|
Junior Member |
|
|
Hey Tony,
you are on top things, that was one fast reply
I am onboard with using extensions to differentiate file usage, it makes sense to me. However, my employer (as a company) is security paranoid (obsessed, maybe).
Your instructions do clearly layout the usage of non-web path placement of the includes folder.
But nonetheless, one must consider the programmers daily battle against the "idiot factor". Even that the idiot may be the next developer, who may not configure a server correctly.
I don't quite get this point,
Even if these instructions were to be ignored there should be no security issues as all the critical .inc files are held in a directory which is outside the web root and are therefore totally inaccessible even if Apache were to be mis-configured.
... when I did a simply unzip and drop into my web root, the "includes/config.inc" is readily viewable. The only thing stopping a text display of the is the .htaccess setttings.
IF (the bit about .inc files is omitted)you_have == trouble;
Don't get me wrong, I'm not trying to bash. I'm a fan of your work, have been for some years now. Just seems to me that by using the .php extensions, with entry point checks (not to get off on a tangent) one could have a framework that is secure regardless of server configurations.
|
|
|
|
Goto Forum:
Current Time: Sat Jul 05 03:10:29 EDT 2025
Total time taken to generate the page: 0.19224 seconds
|