2 个仓库
Security implementations for Node.js servers to control external domain access and HTTP method permissions.
Distinguishing note: None of the candidates cover the broad application of API security specifically for the Node.js runtime.
Explore 2 awesome GitHub repositories matching security & cryptography · Node.js API Security. Refine with filters or upvote what's useful.
This is a Node.js middleware for Express and Node.js servers that manages Cross-Origin Resource Sharing policies. It functions as a policy manager and origin validator to define which origins, HTTP methods, and headers are permitted to access server resources. The project provides mechanisms for dynamic origin validation, allowing request origins to be checked against custom logic or databases. It also acts as an HTTP preflight request handler to process OPTIONS requests and verify server permissions before complex cross-site interactions occur. Its capability surface covers the management o
Controls which external domains can access server resources by validating request origins and managing allowed HTTP methods.
Kraken-js 是一个配置驱动的服务器管理器和应用框架,用于引导 Node.js Web 应用。它提供了一个系统,通过 JSON 文件而非手动编写代码来定义服务器行为、中间件链和环境变量。 该框架专注于将应用逻辑与基础设施设置分离,通过解析外部配置并将中间件注入请求链来实现。它利用基于环境的配置合并,在启动时用特定上下文的值覆盖基准设置。 该系统通过自动应用安全标头和防范常见漏洞来涵盖服务器安全。它还管理应用生命周期,包括处理未捕获异常、触发生命周期事件以及通过系统终止信号执行优雅停机。
Provides a centralized configuration system for implementing standard security headers and protecting against common web vulnerabilities.