Hey everyone. I am trying to make an instant messenger and I am worried about security. Currently I have all the messages in a "msgs" directory and each user has a txt file named username.txt and anyone can access anyones I need some way to have it so if someone goes directly into one of the text files they cant see what it says or mess with it. The same thing for the file with the passwords (all in one file) like a small code I can add to my scripts that will encrypt and another that can decrypt. If ANYONE can help make sure you E-MAIL me because I might not be able to check back at this forum so PLEASE e-mail me. THANKS!!! miketwalker@cfl.rr.com
Jul 21, 2001, 7:38 AM
Veteran (19537 posts)
Jul 21, 2001, 7:38 AM
Post #2 of 7
Views: 3945
Sorry I don't understand. How can they get "into" a text file?
Installations:http://www.wiredon.net/gt/
Installations:http://www.wiredon.net/gt/
Jul 21, 2001, 1:31 PM
Novice (23 posts)
Jul 21, 2001, 1:31 PM
Post #3 of 7
Views: 3933
By simply going to the url that the text file is at like http://www.theurl.com/whatever.txt They can see everything in there but if I can encrypt everything being written such as messages it will be a bunch of coding so they wont understand what is in the file. But in the same fashion I need to be able to decrypt it for when the user comes in so they can read the messages. Do you see what I mean now?