I hope my question is on topic. If not, please excuse me and point me into the right direction.
Is it possible to block a site with HTTPS?
I have a website that I would like to make accessible only to myself. Of course I could solve this programatically within the system, but I was asking myself whether it was possible to force HTTPS on port 443 for asking for a certain certificate and if not provided, then return some kind of 404 error or similar. So in other words I need to have the appropriate certificate on my client system in order to be able to access the site.
Is that generally possible? If yes, could someone point me to a documentation on that? Maybe for Apache if existent?
Answer
Yep it is possible.
Here is a good tutorial.
But another, simpler way of doing this would be with a .htaccess file.
No comments:
Post a Comment