News for hackers. Stuff that matters.
Re:Show HN: I rolled my own simple support / Helpdesk SaaS a... by amanzi on Monday February 21, 2022 @08:48PM (#30423154)
I don't know much about Laravel or Symfony, but your error pages show a full stack trace with the source code of the PHP files. Might want to turn that off.
Re:Show HN: I rolled my own simple support / Helpdesk SaaS a... by gigamick on Tuesday February 22, 2022 @04:51AM (#30425919)
Hey thanks for this. Yeah I'm a bit cowboyish in that regard haha. I'll turnout off when I go to put it out into the world for real.

For now I'm really appreciating the feedback I'm getting (only started working on this 4 nights ago).

Re:Show HN: I rolled my own simple support / Helpdesk SaaS a... by samwillis on Tuesday February 22, 2022 @05:41AM (#30426249)
I understand the motivation to keep it in debug when you first put it online, but the HN community is rightly quite hawkish on this type of thing, it is a potentially massive security risk.

If your hope is that you could gain some initial customers from here, it will almost certainly put a significant number off of giving it a go. I know you are super early with a MVP but as you are asking people to consider paying you already, I hope you reconsider.

Re:Show HN: I rolled my own simple support / Helpdesk SaaS a... by justinholmes on Tuesday February 22, 2022 @06:23AM (#30426535)
Exactly won't be long before his Stripe environment variables are leaked through the debug error message.
Re:Show HN: I rolled my own simple support / Helpdesk SaaS a... by gigamick on Tuesday February 22, 2022 @06:26AM (#30426560)
Honestly, not looking for users - I'm looking for feedback, which I'm getting by the bucketload and it is amazing!
Re:Show HN: I rolled my own simple support / Helpdesk SaaS a... by justinholmes on Tuesday February 22, 2022 @06:21AM (#30426521)
Also running on single VM in a GCP zone is a disaster waiting to happen.
Re:Show HN: I rolled my own simple support / Helpdesk SaaS a... by stavros on Tuesday February 22, 2022 @06:26AM (#30426563)
Why? I've been running services on single instances for 13 years and it's been ok. Not everything has to be webscale.
Re:Show HN: I rolled my own simple support / Helpdesk SaaS a... by justinholmes on Tuesday February 22, 2022 @08:21AM (#30427568)
It's not about being webscale it's about being professional.
Re:Show HN: I rolled my own simple support / Helpdesk SaaS a... by stavros on Tuesday February 22, 2022 @08:24AM (#30427598)
It's not professionalism to increase the cost of your service regardless of your needs. Maybe 99.99% is good enough for the OP's price point, and if I want five nines I'll pay for Zendesk.
Re:Show HN: I rolled my own simple support / Helpdesk SaaS a... by chrismorgan on Tuesday February 22, 2022 @08:38AM (#30427758)
In this sort of situation, using multiple servers is likely to reduce reliability. Needless complexity is not a good thing. Making a system distributed has a real cost.
Re:Show HN: I rolled my own simple support / Helpdesk SaaS a... by jc_811 on Monday February 21, 2022 @10:25PM (#30423687)
Upping this. If you hit a 404 page it seems a ton of your server side source code is visible.
Re:Show HN: I rolled my own simple support / Helpdesk SaaS a... by ceejayoz on Monday February 21, 2022 @10:29PM (#30423703)
The code revealed there is basically all open source Laravel framework stuff, but yeah, having APP_DEBUG=true turned on has potential to expose other more meaningful vulnerabilities.
Re:Show HN: I rolled my own simple support / Helpdesk SaaS a... by jer0me on Monday February 21, 2022 @10:49PM (#30423804)
It also offers some performance benefits IIRC
Re:Show HN: I rolled my own simple support / Helpdesk SaaS a... by chrismorgan on Monday February 21, 2022 @11:19PM (#30423934)
I’m guessing it’s also the cause of the JavaScript using inline source maps, meaning that it’s shipping over 2MB to do⸺ I think it’s currently literally nothing but the click handler to expand the FAQs (which would be better not collapsed in the first place, or failing that, implemented with the <details> element).
Re:Show HN: I rolled my own simple support / Helpdesk SaaS a... by ceejayoz on Tuesday February 22, 2022 @09:32AM (#30428336)
No, that's (typically; in the default setup, at the very least; you could manage to make them related but it'd be a bit silly and take specific efforts) independent of APP_DEBUG.
Re:Show HN: I rolled my own simple support / Helpdesk SaaS a... by dachryn on Tuesday February 22, 2022 @01:13AM (#30424554)
the real danger is that app_debug does less security checks in the middleware layers.
Re:Show HN: I rolled my own simple support / Helpdesk SaaS a... by gigamick on Tuesday February 22, 2022 @06:27AM (#30426565)
Debug turned off :-)