I have a web server in an AWS VPC.
Only about 50 IP Addresses are open to see the page on this server. I filter the IP addresses through Security Group, so if someone is not authorized, they cannot touch the machine at all..
The issue I am running into is that all of the folks that cannot get in simply spin and timeout. I would like them to get a message "You are not authorized to view this site". How can I do that before I hit the page?
I need to be able to check with the users IP address.
Thank you ion advance,