Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

> 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



As 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.


I can see at: https://deno.land/manual@v1.28.0/basics/permissions, that I can set permissions through parameters.




Consider applying for YC's Fall 2025 batch! Applications are open till Aug 4

Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: