Skip to content

u/teresko

In this archive from Apr 2011 to Aug 2026

6
posts
755
comments
0
media
1.4k
score
1 saved before deletion

Container tools are really good for both development and for deployment, but I would recommend to use something like podman instead ... or modify your default docker setup.

There is one major issue with how people tend to use docker system: it runs as root. What this means is that for a mounted volume, you container has full root-level access to it. This is a potential attack vector.

The solution is to either use something else (like podman, where entire infrastructure runs with user-level perms) or configure the docker container so that they dont have internally run everything as root.

1 points

"Debugging is twice as hard as writing the code in the first place. Therefore, if you write the code as cleverly as possible, you are, by definition, not smart enough to debug it." - Brian W. Kernighan.

That's the rule I go by.

27 points

What is that insecure code? Explain, please.
Which part of security problems is magically solved by Laravel? Just because your code is inside a "Laravel Controller" does it become instantly secure by the blessing of your patron saint?

Because what you are writing here are the copy-pasted talking points. Give examples.

1 points

How exactly using Laravel would make the code more secure? I mean, if you are unable to to write secure code, you should not be working as a developer. And if you are just now learning PHP, you should not start with any framework.

Or were you implying that PHP without Laravel is somehow intrinsically insecure?

P.S. your "wheel" is pear-shaped.

0 points

I'm sorry to tell you this, but what Laravel promotes are colloquially called "Anti Patterns". As in - thing that you really should not be using.

The prime example being what Laravel calls "facades", which are not actually Facade pattern but instead are just wrappers for global mutable state.

If you want to learn proper OOP, you will have to ditch it. I know it might sound harsh or inflammatory, but that is the sad reality.

12 points

Keyboard shortcuts

Move and act

jork
Next / previous post or comment
Enteroro
Open the post
f
Open the media viewer
s
Save
h
Hide (the toast has Undo)
Tab
Right after an action: the toast's Undo
x
Collapse the comment
v
Next layout: cards, compact, grid

Go to

/
Search
gthenh
Home
gthena
All
gthens
Subreddits
gthenl
Library
?
This list
Esc
Close a menu or this list

In the viewer

←or→
Previous / next file
↑or↓
Previous / next post
korj
Previous / next post
Space
Play / pause
m
Mute
z
Zoom
s
Save
o
Open the post (on its own page: back to it)
Esc
Close

Keys do nothing while you type in a box.