[EMAIL PROTECTED]
To: REALbasic NUG realbasic-nug@lists.realsoftware.com
Sent: Tuesday, May 02, 2006 5:47 PM
Subject: Re: PASSWORD PROTECTED data in Text file saved how?
Keith,
Got it and thanks.
I have the UPC app done and if anyone cares to look at it, email me off
line and I will attach
Subject: Re: PASSWORD PROTECTED data in Text file saved how?
OOPS!
Please disregard last e-mail on this subject.
did not mean to send it to the NUG
Sorry :-(
___
Unsubscribe or switch delivery mode:
http://www.realsoftware.com/support/listmanager
I'm not sure, but when I write to a file that already exists, it simply
overwrites that file. Maybe that doesn't work on Mac or Linux, but on
windows you don't have to delete the file first.
Maarten
On 02/05/06, [EMAIL PROTECTED] [EMAIL PROTECTED] wrote:
if f Nil then
f will never be
In reference to: if f.exists then f.Delete
I did have to modify this as it was deleting the UPC.ini file, when I tried
to Change the password. But when it was to create a NEW user I left it as
it would erase any files making the text file cleared if any garbage was in
it.
Jonathon
--
strin.Close
end if
End if
Ok, now what do I do?
Jonathon
- Original Message -
From: [EMAIL PROTECTED]
To: REALbasic NUG realbasic-nug@lists.realsoftware.com
Sent: Monday, May 01, 2006 10:07 PM
Subject: Re: PASSWORD PROTECTED data in Text file saved how?
On May 02, 2006, at 01:19
On May 2, 2006, at 9:58 AM, Jonathon Bevar wrote:
Joe,
Thanks for the answer to question one.
(I'm assuming that you have gone through the tutorials that come
with RB, and mastered the basics of reading and writing files,
designing windows and menus, etc.) Now as for reading the LR, umm
userPassword.text = strin.ReadLine
strin.Close
end if
End if
Ok, now what do I do?
Jonathon
- Original Message -
From: [EMAIL PROTECTED]
To: REALbasic NUG realbasic-nug@lists.realsoftware.com
Sent: Monday, May 01, 2006 10:07 PM
Subject: Re: PASSWORD PROTECTED data in Text file saved
it to a new one)? U not good!
Jonathon
- Original Message -
From: Maarten de Vries [EMAIL PROTECTED]
To: REALbasic NUG realbasic-nug@lists.realsoftware.com
Sent: Tuesday, May 02, 2006 10:47 AM
Subject: Re: PASSWORD PROTECTED data in Text file saved how?
I don't wan't to spoil
On 2 May 2006, at 18:28, Jonathon Bevar wrote:
This brings up the question, is there a safe place on a Win, Mac
and Linux system to hold a UPC (UserPasswordCode) file in? Without
a serious issue of someone deleting the file or 'snooping' through it?
The only really safe place AFAIK is to
[EMAIL PROTECTED]
To: REALbasic NUG realbasic-nug@lists.realsoftware.com
Sent: Tuesday, May 02, 2006 10:47 AM
Subject: Re: PASSWORD PROTECTED data in Text file saved how?
I don't wan't to spoil everything, but if it's so important to keep
the user
data safe, I wouldn't store it in an ini
On May 02, 2006, at 13:58 UTC, Jonathon Bevar wrote:
Thanks for the answer to question one.
Always happy to help when I can.
(I'm assuming that you have gone through the tutorials that come with RB,
and mastered the basics of reading and writing files, designing windows and
menus, etc.)
On May 02, 2006, at 21:05 UTC, Jonathon Bevar wrote:
If f.exists and f Nil then
strin = f.OpenAsTextFile
userName = strin.ReadLine
userPassword = strin.ReadLine
Why don't you call this MD5ofUserPassword instead of userPassword? I think
that will make it clearer to you why
Please learn to quote.
http://en.wikipedia.org/wiki/Netiquette
When following up on an article, quote the minimum text necessary to give
some context to your reply and be careful to attribute the quote to the
correct person.
Cheers,
Knut
___
Joe,
if uName.text = UserName and uPassword.text = userPassword then
You're comparing the MD5 of the previously entered password, to the
password entered by the user. Of course these will never be equal.
Ok then, how am I to get the password checked against the one saved to the
one the
I am lost, we are NOT on a IRC chat line. This, for what I thought is a
forum.
--
No virus found in this outgoing message.
Checked by AVG Free Edition.
Version: 7.1.385 / Virus Database: 268.5.1/328 - Release Date: 5/1/2006
___
Unsubscribe or
On May 02, 2006, at 21:44 UTC, Jonathon Bevar wrote:
I have tried this:
if uName.text = UserName and uPassword.text = MD5(userPassword) then
But it too does not work.
You've got it backwards, now comparing the password to the MD5 of the MD5 of
the previous password. Try renaming the
Ok I figured it out myself.
// Read User/Password Code from text file
Dim strin As TextInputStream
Dim f As FolderItem
Dim userName, userPassword1, userPassword2 as String
f = GetFolderItem(PatientLog_UPC.ini)
If f.exists and f Nil then
strin = f.OpenAsTextFile
userName =
On May 2, 2006, at 6:08 PM, Jonathon Bevar wrote:
Ok I figured it out myself.
// Read User/Password Code from text file
Dim strin As TextInputStream
Dim f As FolderItem
Dim userName, userPassword1, userPassword2 as String
f = GetFolderItem(PatientLog_UPC.ini)
If f.exists and f Nil
On May 2, 2006, at 6:08 PM, Jonathon Bevar wrote:
Ok I figured it out myself.
// Read User/Password Code from text file
Dim strin As TextInputStream
Dim f As FolderItem
Dim userName, userPassword1, userPassword2 as String
f = GetFolderItem(PatientLog_UPC.ini)
If f.exists and f
Thanks Charles as I will read this article
Jonathon
- Original Message -
From: Charles Yeomans [EMAIL PROTECTED]
To: REALbasic NUG realbasic-nug@lists.realsoftware.com
Sent: Tuesday, May 02, 2006 5:54 PM
Subject: Re: PASSWORD PROTECTED data in Text file saved how?
On May 2, 2006
Keith,
Got it and thanks.
I have the UPC app done and if anyone cares to look at it, email me off line
and I will attach it to the reply email.
I have also added a New Password and Change Password functions.
Thank you,
Jonathon
--
No virus found in this outgoing message.
Checked by
Jonathon Bevar wrote:
If I wanted to save a User and Password editfields, mind you I am using the
Password mask in the Password editfield, how would the password editfield be
saved?
Save the MD5 hash of it. Then, to check the user's entered password against
what's saved in the file,
Jonathan,
Since you said you are writing something for patients you might
want to
either market it as something else (personal diary) or check the HIPPA
regulations. HIPPA imposes some rather strict requirements even though
your software is for the patient and not the health-care provider.
for the heads up.
Jonathon
- Original Message -
From: Jamie Lay [EMAIL PROTECTED]
To: REALbasic NUG realbasic-nug@lists.realsoftware.com
Sent: Monday, May 01, 2006 8:58 AM
Subject: Re: PASSWORD PROTECTED data in Text file saved how?
Jonathan,
Since you said you are writing something
,
Jonathon
- Original Message -
From: [EMAIL PROTECTED]
To: REALbasic NUG realbasic-nug@lists.realsoftware.com
Sent: Monday, May 01, 2006 8:54 AM
Subject: Re: PASSWORD PROTECTED data in Text file saved how?
Jonathon Bevar wrote:
If I wanted to save a User and Password editfields, mind you I am
On May 02, 2006, at 00:46 UTC, Jonathon Bevar wrote:
But, what in the world is MD5?
It's a one-way hash function... that means that it takes a string of text, and
converts it to a string of gibberish, in a way that (1) is unlikely to produce
the same gibberish for two different pieces of
it?
Questions, questions, questions... lol
Jonathon
- Original Message -
From: [EMAIL PROTECTED]
To: REALbasic NUG realbasic-nug@lists.realsoftware.com
Sent: Monday, May 01, 2006 6:59 PM
Subject: Re: PASSWORD PROTECTED data in Text file saved how?
On May 02, 2006, at 00:46 UTC
On May 02, 2006, at 01:19 UTC, Jonathon Bevar wrote:
Ok, tell me this about the line of code:
myOutputStream.WriteLine MD5( thePassword )
thePassword? Is this the Editfield text, like this - thePassword.text?
Yes, or whatever variable or property you've previously stored the password in.
28 matches
Mail list logo