-1

I have dynamic IP address and I am trying to find the solution to limit the access to wp-admin. It seems that the only option is to block the access by domain name by using a Dynamic DNS Manager instead of IP address. Are there any alternatives?

3
  • What has the dynamic IP? The client or the server?
    – schroeder
    Commented Aug 27, 2019 at 6:31
  • I have dynamic IP address and I would like to limit access to wp-admin. The website is hosted on shared server.
    – elievi
    Commented Aug 30, 2019 at 13:12
  • "I have" -- my question is who the "I" is. The server or the client?
    – schroeder
    Commented Aug 30, 2019 at 13:14

1 Answer 1

1

What about using client certificates for the particular URI?

eg: Access to https://example.com/ is allowed, but for https://example.com/wp-admin the client needs to provide a valid certificate.

https://httpd.apache.org/docs/2.4/ssl/ssl_howto.html#accesscontrol https://nginx.org/en/docs/http/ngx_http_ssl_module.html#ssl_client_certificate

2
  • 1
    You can also use a basic HTTP authentication for this location.
    – binarym
    Commented Aug 27, 2019 at 9:09
  • Thats true, but most people would use the same as the wp admin password, so when you got one you can login to wp.
    – RolfRisiko
    Commented Aug 27, 2019 at 11:56

Not the answer you're looking for? Browse other questions tagged .