Default avatar
shadow
npub19ukt...h9k5
shadow 1 year ago
hostr needs protocol i propose these: web+hostr:/npub/d_tag hostr:/npub/d_tag web+hostr:/event_id hostr:/event_id
shadow 1 year ago
successfully loading media.html web app from nostr using extension idk what is in the picture image
shadow 1 year ago
firefox extension running full web page loaded from nostr event image
shadow 1 year ago
just hacking firefox extensions to allow inline scripts inline scripts are generally not allowed but its allowed to run script with browser.tabs.executeScript image
shadow 1 year ago
javascript security practices are so retarded just remember to always use .innerHTML += instead of .append() to prevent some cors errors
shadow 1 year ago
web browsers should have built in tor not for matters of privacy, but for accessing wider variety of websites when you want to protect your identity through tor, of course tor browser is best option
shadow 1 year ago
confirmed: it is possible to create hybrid-onion websites eg. your #nostr #web #client can load #images from .onion if user #browser resolves these (eg. tor browser) #onion #tor
shadow 1 year ago
so its snort again messing up with my notes
shadow 1 year ago
rabbit hole of system security goes far indeed optimal solution is ofc where you get near native performance from everything, everything is easy to use, yet achieve perfect user account isolation where you can process sensitive stuff under one account and run insecure stuff under another however, in the end we come to firmware and hw, where there is no control even in linux
shadow 1 year ago
setfacl is nice, because you dont need to mess your system files with chmod / chown. if you mess up, just remove setfacl rules and everything is back to normal chmod / chown can break the whole system if used wrong
shadow 1 year ago
to run webserver, you dont really need /usr/bin executables my webserver only need /usr/bin/env, all else can be blacklisted
shadow 1 year ago
linux user account isolation. remove /usr/bin permissions for specified user only set default as no permissions for new files: ```bash sudo setfacl -d -m u:untrusted:--- /usr/bin ``` remove all permissions from all files: ```bash find /usr/bin/ -type f | while read f; do sudo setfacl -m u:untrusted:--- $f; done ``` whitelist what you need: ```bash sudo setfacl -x u:untrusted /usr/bin/ls ```
shadow 1 year ago
wtf is snort messing up with my notes?