News for hackers. Stuff that matters.
Re:Deno 2.4 by crabmusket on Monday July 07, 2025 @07:38AM (#44489232)
Deno can restrict access to filesystem files or directories, and to particular network domains, see docs for examples. https://docs.deno.com/runtime/fundamentals/security/#file-sy...

However in general I don't think Deno's permission system is all that amazing, and I am annoyed that people call it "capability-based" sometimes (I don't know if this came from the Deno team ever or just misinformed third parties).

I do like that "deno run https://example.com/arbitrary.js" has a minimum level of security by default, and I can e.g. restrict it to read and write my current working dir. It's just less helpful for combining components of varying trust levels into a single application.

Re:Deno 2.4 by bugtodiffer on Tuesday July 08, 2025 @03:45AM (#44497955)
Yes it says it can do it, but it has been broken many times because it is shit