niva
niva copied to clipboard
Feature Request: Add api permission control
Public Niva api to window, especially Niva.api.fs, Niva.api.process.exec, etc. Is very dangerous when having XSS attack.
Please consider add api permission control (maybe like Deno Permissions) in niva.json or somewhere else, for those apps that never used api like Niva.api.fs.
Great project, thanks.
API pression control and XSS protection will both be supported in version v1.0.0.