Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
howto:linuxapps [2021/04/24 14:03] – remember this script is shared publically so remove profanity :-) mortifis | howto:linuxapps [2022/02/08 07:03] (current) – [Links2 Web Browser] Added a "security considerations" section for the Links2 script. Andre | ||
---|---|---|---|
Line 17: | Line 17: | ||
$ sudo apt-get install links2 | $ sudo apt-get install links2 | ||
</ | </ | ||
+ | |||
+ | === Links2 Security Considerations === | ||
+ | |||
+ | :!: Note that links2 can give access to the host OS, such as with "OS Shell" from the File menu, which gives the BBS user a shell as the OS user the BBS runs as. At the very least this will likely give someone access to your [[util: | ||
+ | |||
+ | Using the script below, anyone with a sysop [[access: | ||
+ | |||
+ | Anyone without a sysop security level will run Links2 with the " | ||
+ | |||
+ | < | ||
+ | -anonymous | ||
+ | Restrict links so that it can run on an anonymous account. No local file browsing. No downloads. Executing of viewers is allowed, but user can't add or modify entries in association table. | ||
+ | </ | ||
+ | |||
+ | This may be sufficient to secure the BBS' host system, but the user will still be allowed to browse the web from your system, potentially doing questionable things that could be attributed to your IP address. | ||
=== Add links2 to SBBS === | === Add links2 to SBBS === | ||
Line 48: | Line 63: | ||
=== Add to Synchronet Command Shell === | === Add to Synchronet Command Shell === | ||
- | edit your *.src command shell script and add: | + | edit your *.src [[custom: |
ie: cmdkey /B | ie: cmdkey /B | ||
exec_bin " | exec_bin " | ||
Line 158: | Line 173: | ||
var infile = system.ctrl_dir+' | var infile = system.ctrl_dir+' | ||
var outfile = system.ctrl_dir+' | var outfile = system.ctrl_dir+' | ||
- | var weechat = '/ | + | var weechat = '/ |
- | var wc_bup = '/ | + | var wc_bup = '/ |
var save_prefs = system.data_dir+' | var save_prefs = system.data_dir+' | ||