Shield, A Security-Minded PHP Microframework
1–10 of 13 posts
Re: Shield, A Security-Minded PHP Microframework
#2Striptags is not a security tool, it is a presentation tool.
> Output filtering on all values (preventing XSS)
I'm still trying to figure out how you've implemented this.
Re: Shield, A Security-Minded PHP Microframework
#3Re: Shield, A Security-Minded PHP Microframework
#4> Filter values based on filter types (supported are: email, striptags) Striptags is not a security tool, it is a presentation tool. > Output filtering on all values (preventing XSS) I'm still trying to figure out how you've implemented this.
https://github.com/enygma/shieldframework/blob/master/Shield...
at this line :
$value = htmlspecialchars($value);
Re: Shield, A Security-Minded PHP Microframework
#5> Filter values based on filter types (supported are: email, striptags) Striptags is not a security tool, it is a presentation tool. > Output filtering on all values (preventing XSS) I'm still trying to figure out how you've implemented this.
Here is the escaping : https://github.com/enygma/shieldframework/blob/master/Shield... at this line : $value = htmlspecialchars($value);
Re: Shield, A Security-Minded PHP Microframework
#6Re: Shield, A Security-Minded PHP Microframework
#7Clearly, if after it's pointed out that DES is a bad idea he still doesn't know why, but he also refuses to fix it or take it down, the rest of this should be trusted too.
Re: Shield, A Security-Minded PHP Microframework
#8Before 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.
Not every library can be saved.
Re: Shield, A Security-Minded PHP Microframework
#9Earlier quoted context omitted.
Here is the escaping : https://github.com/enygma/shieldframework/blob/master/Shield... at this line : $value = htmlspecialchars($value);
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.
That's the worst.
Re: Shield, A Security-Minded PHP Microframework
#10Yes, let's all use a security framework by a guy who thinks DES is a good choice, and who openly admits that this is a learning experience for him, this security framework he's giving to others. Clearly, if after it's pointed out that DES is a bad idea he still doesn't know why, but he also refuses to fix it or take it down, the rest of this should be trusted too.