IP Whitelist Check for Creating Credentials#49
IP Whitelist Check for Creating Credentials#49spiridonovpolytechnic wants to merge 3 commits intobemosior:developfrom
Conversation
…if an ip address is in an array of CIDR notation IP ranges
|
Thanks for contributing this! I'll take a look momentarily. |
|
Overall, this looks really good. I'd like to make two requests before merging this in:
|
|
Agreed on the default of having the whitelist disabled. |
|
Yes, understood! The changes I suggest should accomplish the same, just using pre-existing constructs that (I think) provide a slightly more consistent and user-friendly experience. No rush! |
…polytechnic in bemosior#49, while implementing the changes suggested by besmosior in bemosior#49 (comment) * Resolves bemosior#49
Dear Benjamin,
I have added a whitelist functionality for creating credentials. It is an additional (optional) layer of security and also allows a simple method of authentication (without logging in) by limiting creation of credentials to specific IP addresses.
The summary of additions are as follows:
config.php:
security.php:
pw.php:
edit:
cleaned up text formatting