is it possible to limit access to website to speci

2019-08-29 10:59发布

Note: I am not asking how to limit asking to a site by means of a static IP address, this is already done in my .htaccess file. I have a particular site I will need to access on the road often but will only be doing so from a particular machine.

In short, is it possible to limit access to a particular website based on something specific within a pc other than IP?

标签: php .htaccess ip
3条回答
乱世女痞
2楼-- · 2019-08-29 11:39

Pehaps you could manually create a cookie just for you and then your site will let you in?

查看更多
唯我独甜
3楼-- · 2019-08-29 11:39

do authentications on the site..quick form that requires a specific username and password, once its set, create a session that keeps the information.. all the pages you dont want others to see just check if the session is present if not send them to the login form..

查看更多
\"骚年 ilove
4楼-- · 2019-08-29 11:54

Set up SSL on the web server and authenticate to it using a certificate that only exists on that particular machine.

Have a look at this article for an introduction.

查看更多
登录 后发表回答