Skip to content

Commit 4e82904

Browse files
authored
Update README.md
1 parent 129a40f commit 4e82904

1 file changed

Lines changed: 3 additions & 4 deletions

File tree

README.md

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -34,15 +34,14 @@ There is a sample Desktop application for Windows/Linux/MacOS using this plugin
3434
Javascript in [examples/plain-javascript](https://github.com/marcomq/tauri-plugin-python/tree/main/examples/plain-javascript)
3535

3636
## Security considerations
37-
Generally, this plugin has been created by "security by default" concept and is
38-
expected to be nearly as secure as normal tauri applications.
37+
Generally, this plugin has been created by "security by default" concept. Python functions can onl be called if registered from rust.
3938

40-
Keep in mind that this plugin can also make it possible to run arbitrary python code
39+
Keep in mind that this plugin can make it possible to run arbitrary python code.
4140
It is therefore highly recommended to **not make the user interface accessible by a network URL**.
4241

4342
The "runPython" command is disabled by default via permissions. If enabled, it is possible to
4443
inject python code via javascript.
4544
Also, the function "register" is disabled by default. If enabled, it can
46-
add control from javascript which functions can be called.
45+
add control from javascript which functions can be called. This avoids to modify rust code when changing or adding python code.
4746
Both functions can be enabled during development for rapid prototyping.
4847

0 commit comments

Comments
 (0)