.htaccess hosting service

Basic password

With rewrite engine restrict access to https

Shared SSL（https）is provided by almost all hosting service. But private SSL + dedicated IP, which are necessary to get private ssl, needs lots of money. We can use query rewrite it to shared https of hosting service.