Javascript locks the webpage and password (similar to the screen protection effect of the system), and javascript locks

Source: Internet
Author: User

Javascript locks the webpage and password (similar to the screen protection effect of the system), and javascript locks

Function Description: Open a Web page of a website. After five minutes, the page is locked and the content container is hidden. A container is displayed to enter the password and enter the correct password to unlock the page. After the lock, the user refresh the page and retains the original status. If it has been locked, you must continue to lock it; otherwise, the content is displayed.
 
The sample code is as follows. The document. onmouseover method is used to realize no action for several minutes and the timer is used.

<! DOCTYPE html PUBLIC "-// W3C // dtd xhtml 1.0 Transitional // EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> 


Is there a way to set a password to lock the computer and unlock it only by yourself?

I have watched an impressive movie. There was an intelligence department employee who needed fingerprint recognition to use the computer before using the computer. At that time, I felt quite strange, this is because the user's fingerprint is stored in the computer in advance. When the user puts his/her palm on the fingerprint recognition device, the scanned fingerprint will be compared with the fingerprint pre-stored in the computer fingerprint database through specialized software. When the fingerprint is consistent, the user can have the right to use the computer. This type of technology has been applied to laptops of brands such as IBM and Fujitsu to protect data security. However, for general desktops, it seems that there are some "things to be done", but using a small camera to bring the "door" to the computer is a cheap and practical method, and the implementation process is also very easy. If you have a camera, use it with the name "Alparysoft VideoLock for Webcam" (www.alparysoft.com/file.php? Id = 47) The software allows your camera to firmly hold the "door" for you. There is no need to worry about stealing passwords for others, because you are the "password" of the System user ". 1. set the unlock account and password. After downloading and installing the software, connect the camera to your computer and run the "Alparysoft Video Lock" shortcut icon created on the desktop. Then, "VideLock: the Tip Of The Day tips window. If you want to know how to use it, click "Close" and then open The "Enter Your Name and Password" window. Here, you need to set the User Name and Password of the Software User respectively in "User Name" and "Password" Tips: The role of setting this Password is to prevent the camera from accidentally failing to recognize you, you can use the Force Method to unlock your computer. We will also introduce how to unlock it in detail below. If the camera is connected, click "OK" to open the software operation interface. If no camera is detected, the software operation interface window cannot be opened normally. You can re-connect the camera interface to the computer. If not, change the USB interface. In addition, re-installing or upgrading the camera driver can also solve some camera compatibility problems. 2. set the camera detection accuracy. Click "Training" on the software operation interface. In the current video window, we will see a yellow box to calibrate our face, in order for the software to obtain a high security factor in the recognition process, we also need to set the camera's detection accuracy. The specific method can be adjusted under the "Calibrate" column in the right window. Here we will see three scales: "0", "1", and "2". If you move the slider to "0", it indicates the highest recognition accuracy, although safe, it is not easy to be recognized; move to "2" to indicate the lowest recognition accuracy. Although easy to identify, it has the lowest security factor, moving to "1" indicates that the recognition accuracy and safety factor are both in the middle, so we want to obtain a more reasonable precision range, we can move the slider to the left of the "1" scale. If the video screen is not good, for example, the video window screen, the display speed is slow, and the video screen is black/white or the light is insufficient, it will seriously affect the future detection effect. So here we provide some solutions for different problems: (1) if the video screen is displayed as a flat screen, this may be caused by incompatibility between the driver installed on the camera and the video card driver, upgrade the driver of the video card or camera. In addition, the camera may conflict with other devices in use (such as digital cameras). In this case, you need to stop the devices that are prone to conflict. (2) If the video refresh speed is slow, it may be caused by low computer performance and the system needs to be properly optimized, if too many programs are opened or infected with viruses, the system performance may also degrade ,...... remaining full text>
 
After Windows 7 System screen saver runs, the computer automatically locks the input password to unlock the original hidden program, and the high score is displayed.

Right-click the desktop, open personalization, and go to screen saver settings. You can choose to disable screen saver, or uncheck "display logon screen upon recovery ".




Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.