Skip to content

Commit c43a91f

Browse files
authored
[Security] Add caution on symfony cli web server exposing env vars on private network
1 parent 425563d commit c43a91f

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

setup/symfony_server.rst

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,13 @@ other features that sooner or later you'll need when developing web projects.
1111
Moreover, the server is not tied to Symfony and you can also use it with any
1212
PHP application and even with HTML or single page applications.
1313

14+
.. caution::
15+
16+
This server will automatically expose all environment variables available
17+
in the CLI tool context, **which can lead to security issues**.
18+
One should assert that its server is not accesible on local network without
19+
consent.
20+
1421
Installation
1522
------------
1623

0 commit comments

Comments
 (0)