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
User entry control example

User entry control
The example shows how access to protected files on a site can be managed by a script through the use of the Server.EnableUser method.

Once the user has entered a correct username and password, the protected files can be unlocked; otherwise they are unintelligible. The protected files can be encrypted with a different username and password to that entered by the user.

The username and password are stored in a Cookie so that the user does not need to enter them again when re-starting Dynamic-CD.

View a private file as a URL (The username / password are SecureCDuser#1 / SecureCDpwd#1).
View a private file in NotePad (This views the raw unencrypted file).
Enter your userName :
Enter your password :
(The username / password are safeUser / safePwd)

no form userName
no Cookie
The Cookies are: