For Programmers: Free Programming Magazines  


Home > Archive > Clarion > May 2006 > Simple way for user to password protect his data - Clarion 6 prof.









You are viewing an archived Text-only version of the thread. To view this thread in it's original format and/or if you want to reply to this thread please [click here]

 

Author Simple way for user to password protect his data - Clarion 6 prof.
nickthename

2006-05-10, 6:55 pm

Is there a simple way to provide the user with a way he can create his
own password and protect the files in a Clarion generated app? For
example, if the app had just a simple TPS file to store personal data
such as SSN, is there a way to provide him the ability to set his own
password? This would be a simple single user environment.

Thanks much.

SoftwareTailor@msn.com

2006-05-11, 6:55 pm

You would want to have a second table which would be encrypted; a good
filename would be Users.tps. The columns in this table would include
UserName and Password. You might want to include Name, AccessLevel,
NumberLogons, LastLogonDate, LastLogonTime, DatePasswordChanged. I also
include WindowsVersion, ScreenResolution, IpAddress, MachineName,
UserName, UserDomain, BuildDate. When I get a support call, I get
obtain information from the Users.tps file. Anyway, you can keep it
simple. When your generated application first opens, you need to open
this Users table and see if it has a record in it; if it doesn't, then
append a blank record. Then open a window to prompt the user for
his/her UserName and Pasword. Is this enough of a start?
HTH
Bob

Sponsored Links







Also available: Server administration forum archive | Web Design forum archive | Software forum archive | Hardware reviews archive

Copyright 2009 codecomments.com