It's about ASP.NET MVC Suppose I have a web site, which is called "www.welcomeeveryone.com" Is publicly named as. There is also a web site name as "www.companyemployeeonly.com" which is only allowed for some specific IP address. To keep a link for "www.companyemployeeonly.com", the staff will have to go to "www.welcomeeveryone.com" first, here's my question, how can I find out if the user is in an approved IP and they are popups or somebody Warning like a notification type. When they are not in some IP addresses, they will have to use the VPN connection.
You can get access to the remote IP
request. After changing the white bible ["REMOTE_HOST"]
and then you can use it to change this function for long periods of time and compare
Public long-term addrToNum (IP address address) {Bite [B] = BitCointer Getbytes (address address); If (B-long == 8) returns (tall) ((16777216 * B [0]) + ((long) (65536 * B [1])) + ((long)) (256 * B [2]]) ) + B [3]); And return 0; }
provided that Remore_Host is not valid if it is behind the proxy, and you have to find out, and it can also be hacked.
Comments
Post a Comment