3 ms·
> Building apps will be easier and _more secure than ever_ I assume it is because of the permissions feature of Deno. If so, at what extent(s) does Deno provid
by rickstanley 4y ago
> Building apps will be easier and _more secure than ever_
I assume it is because of the permissions feature of Deno. If so, at what extent(s) does Deno provide security if I have a deep, deep [npm] dependency that, for instance, reads file, i.e. needs file system permission? Do I have to specify every single permission for each dependency? Does Deno have some kind of "dependencies file" that allows to specify dependencies' permissions?
See: https://news.ycombinator.com/item?id=30703817 https://news.ycombinator.com/item?id=30703817
- rickstanley 4y agoI can see at: https://deno.land/manual@v1.28.0/basics/permissions https://deno.land/manual@v1.28.0/basics/permissions, that I can set permissions through parameters.
- amaranth 4y agoAs far as I know permissions are at a process level, not a module/dependency level. This means if something in your application needs to be able to read/write a file then all of your dependencies can as well.