如何在PHP中使用键盘简单地键入用户? [英] How can I restrict user's from simply type using keyboard in PHP?

查看:210
本文介绍了如何在PHP中使用键盘简单地键入用户?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

如何限制用户只使用键盘输入?我希望该用户只允许使用网站提供的定义的屏幕键盘在php脚本中输入他们的登录凭据,这可能吗?它会完全消除键盘记录器漏洞吗?



我尝试过的事情:



我还没有尝试任何东西....我正在尝试实现这个概念

解决方案

引用:

如何限制用户在PHP中使用键盘进行简单输入?



简答:你不是用PHP。

PHP是服务器端语言,用户看不到任何PHP。

用户看到的任何内容都是HTML。

W3Schools在线网络教程 [ ^ ]


How can I restrict user's from simply type using keyboard? I want that user's will only allowed to use a defined on-screen keyboard provided by the site to enter their login credentials in a php script, is it possible? and will it remove the key-logger vulnerability completely?

What I have tried:

I haven't tried anything.... I'm trying to implement this concept

解决方案

Quote:

How can I restrict user's from simply type using keyboard in PHP?


Short answer: you don't in PHP.
PHP is server side language, user don't see anything PHP.
Anything user sees is HTML.
W3Schools Online Web Tutorials[^]


这篇关于如何在PHP中使用键盘简单地键入用户?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆