CSP: Allow inline scripts while blocking javascript: in iframe src

We wan’t to prevent attacks comming in from src attribute "javascript:" but still allow lnline script tags.
Currently the only option is to add sha-hash’s but there are too many inline scripts to do this.
Unfortunately we can’t m… Continue reading CSP: Allow inline scripts while blocking javascript: in iframe src

Best practices for access and refresh tokens timeout lengths [duplicate]

I’m currently working on an international marketplace website and trying to decide the appropriate timeout lengths for access and refresh tokens.
We try to do the timeouts to be as strict as possible to make it more difficult for bad actor… Continue reading Best practices for access and refresh tokens timeout lengths [duplicate]

How to isolate VMs with internet exposed websites on my home network?

I want to host some websites served from an isolated VM which is on my home network through port forwarding.
Although I believe this is reasonably safe, I want to physically segment internet-exposed VMs from my main home network. What is t… Continue reading How to isolate VMs with internet exposed websites on my home network?

Is it possible to disallow external IPs from accessing a page of a React site? [migrated]

I’m currently learning React to host a personal website (on an Ubuntu server) and am port forwarding it to allow access from the internet.
However, for security reasons, I’d like one or more pages to only be accessed on my LAN. If an exter… Continue reading Is it possible to disallow external IPs from accessing a page of a React site? [migrated]