简体   繁体   中英

Secure a remote access with IP address

I want to prevent people to access my website outside my home and my father's home. Is it a good idea to check the IP of the connection and to grant the access or is it easily breachable ?

As Jon Egerton already said, your method will work only if IP from your and your father homes are static.

Two other methods for checking allowed connections comes to my mind.

A Login Page requesting for username & password. The example assume you can use php.

Allow only clients with a Certificate installed. The example assume you're using and you can alter configuration of an Apache webserver.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM