darto_security
library
Functions
-
dartoSecurity({bool blockUserAgents = true, bool ipBlock = true, bool corsEnabled = true, bool contentSecurityPolicy = true, bool frameGuard = true, bool hidePoweredBy = true, bool hstsEnabled = true, bool ieNoOpenEnabled = true, bool noCacheEnabled = true, bool noSniff = true, bool rateLimit = true, bool referrerPolicy = true, bool xssProtection = true, bool nonceCsp = false, List<String> blockedIps = const [], List<String> blockedAgents = const [], List<String> allowedOrigins = const ['*'], List<String> allowedMethods = const ['GET', 'POST', 'PUT', 'DELETE'], int rateLimitMaxRequests = 100, Duration rateLimitDuration = const Duration(minutes: 1)})
→ Middleware
-