This smart contract implements security policies on blockchain. The main.rs will provide methods that define security groups and define whitelisted IP adresses to provide network security preventing DDOS attacks and unauthorized access
- A list of whitelisted IP addresses
- Function to check whether ip address is in whitelist
- function to add Ip adress to whitelist
- function to remove Ip adrress to whitelist
- enum of resources/security groups to access by Ips
- function to add ip adress to specific security group
- function to take in ip and check if in whitelist, what security group then if fulfils conditions it avails resources