Live data from Hacker News

Shield, A Security-Minded PHP Microframework

github.com

11–13 of 13 posts

Re: Shield, A Security-Minded PHP Microframework

#11
post #5

Earlier quoted context omitted.

That could do with being mentioned in the README, a large part of the problem with PHP is developers not knowing what method to use to sanitise strings. After seeing striptags mentioned explicitly, I expected the worst.

He used DES for session security. That's the worst.

https://github.com/enygma/shieldframework/commit/44d9fc7e981...

Re: Shield, A Security-Minded PHP Microframework

#12
It seems that Chris is just introducing this project to the community. Maybe there are flaws, I admit that I'm not the best one to judge that. But to focus on those flaws seems to miss the point.

Chris is trying to build a PHP framework where security is the prime consideration. To my knowledge, a project like this doesn't exist already. This is an open source project, and by Chris's own admission, a learning experience. This is an opportunity for the PHP community to have a discussion that is centered around the best way to solve the myriad of security issues that plague PHP frameworks and applications. The knowledge and experience generated from this project can be used to the benefit of other frameworks and applications in the PHP ecosystem.

I applaud Chris from undertaking this effort to challenge and improve his knowledge of web application security in a public way so that others may benefit from his experiences.

And shame on those who are trying to kill this project with negativity and condescension before it even starts.

Re: Shield, A Security-Minded PHP Microframework

#13

Before anyone else brings it up, there are some issues with the session handler function. I'm working on a write-up and pull-request for them to fix the broken cryptography used there.

That's the least of the problems here. Not every library can be saved.

I think it is possible to fix the DES thing without tearing the rest down...
Post reply on HN