Search : 
  Powered by FindinSite

• Examples home
• Getting started
• Automated encryption
• Compare ASP servers
• Cookies test centre
• Database browser
• Menuing system
• Office Web Components
• Searching CDs
• SecureCD
• Shopping cart
• Slide show
• Sync demo
• Timed passwords
• User entry control

• ASP support
• Database CDs
• Evaluation download

• Case studies
• Examples
• Features
• License and pricing
• What they say
Timed Password Example

This is example shows how control access to a CD within a range of dates.

Before a start date, access is prohibited. In the first time period after the start date, access is controlled by a initial password. The initial password expires at the end of the first period and the user is instructed to ask for an extension password from their supplier. At the end of the second period, all access is prohibited.

The possibility of the user cheating by modifying the dates on their computer is also caught.

The page "secured.htm" is password protected. To view this page, you need an appropriate password. If you view the page without the password, it is unintelligible - to prove the point, try viewing it here : secured.htm

Enter your password :


The first period password is first
The second period password is second

The time now is 9:33:02 AM on Thursday, October 19, 2017
The start time is 9:33:02 AM on Thursday, October 19, 2017
The initial period ends at 9:35:02 AM on Thursday, October 19, 2017
The second period ends at 9:37:02 AM on Thursday, October 19, 2017

(Press your Refresh button to update the times).

You have 120 seconds before the first period of use expires

Cookie values :

  1. timePwd(secondDateOut) ~ 10/19/2017 9:37:02 AM
  2. timePwd(firstDateOut) ~ 10/19/2017 9:35:02 AM
  3. timePwd(systemStartDate) ~ 10/19/2017 9:33:02 AM

View the implementation code

© Copyright 2000-2007 PHD Computer Consultants Ltd