Skip to content

Commit 3eeb055

Browse files
committed
documentation update
1 parent c6d42ee commit 3eeb055

File tree

2 files changed

+6
-5
lines changed

2 files changed

+6
-5
lines changed

ACKNOWLEDGEMENTS

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11

2-
PERL EXECUTING BROWSER -
2+
PERL EXECUTING BROWSER (PEB) -
33
THANKS, ACKNOWLEDGEMENTS AND REFERENCES
44
================================
55

@@ -19,7 +19,7 @@ Special thanks to Stack Overflow user peppe for answering competently and swiftl
1919
http://stackoverflow.com/questions/20640862/how-to-read-post-data-sent-from-my-own-qtwebkit-application
2020

2121
I am also thankfull to Stack Overflow users Piotr Dobrogost and Fèlix Galindo Allué
22-
for their code, which I adopted and modified:
22+
for their code, which I adopted and modified for an important part of PEB:
2323
http://stackoverflow.com/questions/4575245/how-to-tell-qwebpage-not-to-load-specific-type-of-resources
2424
http://stackoverflow.com/questions/10775154/get-raw-packet-data-from-qt-application
2525

README.md

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -217,7 +217,7 @@ JavaScript-based settings are created to facilitate the development of fully tra
217217

218218

219219
## Security
220-
Being a small GUI framework for Perl 5 desktop applications, PEB executes only Perl scripts distributed with the browser binary. All Perl scripts executed by PEB are treated as ordinary desktop applications with normal user privileges. Reasonable security restrictions are implemented in both C++ and Perl code, but they do not constitute a sandbox for Perl scripts. PEB users can not endanger the opreating system or fall victims to remote or arbitrary Perl code, but they still have full access to their own local data.
220+
Being a GUI for Perl 5 desktop applications, PEB executes only Perl scripts distributed with the browser binary and they are treated as ordinary desktop programs with normal user privileges. Reasonable security restrictions are implemented in both C++ and Perl code, but they do not constitute a sandbox for Perl scripts. PEB users can not endanger the opreating system or fall victims to remote or arbitrary Perl code, but they still have full access to their own local data.
221221

222222
**Security features based on C++ code:**
223223
* PEB can not and does not download remote files on hard disk and can not execute any Perl scripts from remote locations.
@@ -339,15 +339,16 @@ JavaScript-based settings are created to facilitate the development of fully tra
339339
## What Perl Executing Browser Is Not
340340

341341
* PEB is not a general purpose web browser and does not have all traditional features of general purpose web browsers.
342-
* Unlike JavaScript in general purpose web browsers, Perl scripts executed by PEB have no direct access to the HTML DOM tree of any page.
343342
* PEB is not an implementation of the CGI protocol. It uses only three environment variables together with the GET and POST methods from the CGI protocol in a purely local context without any attempt to communicate with the outside world.
344343
* PEB does not embed any Perl interpreter in itself and rellies on an external Perl distribution, which could be easily changed or upgraded independently.
344+
* Perl scripts executed by PEB, unlike JavaScript in general purpose web browsers, have no direct access to the HTML DOM tree of any page.
345345

346346
## Limitations
347347

348348
* No history and cache.
349349
JavaScript functions ```window.history.back()```, ```window.history.forward()``` and ```window.history.go()``` are disabled.
350-
* No page produced by a local Perl script can be reloaded, but local HTML pages, as well as web pages, can be reloaded using the JavaScript function ```location.reload()```.
350+
* No page produced by a local Perl script can be reloaded.
351+
Local HTML pages, as well as web pages, can be reloaded using the JavaScript function ```location.reload()```.
351352
* No file can be downloaded on hard disk.
352353
* No support for plugins and HTML 5 video.
353354

0 commit comments

Comments
 (0)