Jump to content

Backoffice: Allow access only from my ip


Recommended Posts

Is there a way to allow access to backoffice only from an specific ip?

 

Assuming you are using Apache (similar exist for other servers) and your hosting co allows local .htaccess files, create a .htaccess file with the content below and add it to your, possibly renamed, PS admin directory:

 

Order Allow, Deny

Allow from allowed_IP_address_or range

 

This is only one way, you could also implement HTTP basic authentication, but assuming you have a static IP, above will suffice.

 

Marty Shue

Link to comment
Share on other sites

  • 2 years later...
×
×
  • Create New...