Results 1 to 3 of 3

Thread: Secure a text file

  1. #1

    Thread Starter
    Hyperactive Member
    Join Date
    Oct 2000
    Posts
    303

    Secure a text file

    Hi all,

    What I have is a text file -- email list that is stored on the internet server. I have tried to encrypt the file but failed to decrypt the file correctly. So my question is what is a better way, beside using database, to store such a file and/or trying to do such a thing?

    Also is true that if I put a file, i.e., text file, on the server, anyone can
    look/copy/download it if they write program to scan/open the directory?

    Thanks for reading and hope someone can help.

    Regards,

  2. #2
    Addicted Member señorbadger's Avatar
    Join Date
    Oct 2003
    Location
    Mud pools of wellingborough
    Posts
    193
    http://uk.php.net/mcrypt

    read into this shows about how to perform 2 way encryption

  3. #3
    Addicted Member Phenix's Avatar
    Join Date
    Sep 2002
    Location
    Near A Cube
    Posts
    228

    Re: Secure a text file

    If your file is on an Apache web server and you are trying to secure it from different web surfers, then you can use htaccess. The file itself would not be encrypted, but the user would need a valid login to gain access to the directory.
    Circa 1995
    Engineer - I think we should put our website address on our paper catalogs.
    Vice President - Don't get too excited about this internet thing.


    I am sorry, but the Oracle was mistaken. You cannot help us.
    -Matrix video game


    I'm doing a (free) operating system (just a hobby, won't be big and professional like gnu) for 386(486) AT clones. ... and it probably never will support anything other than AT-harddisks, as that's all I have :-(.
    -Linus


    Question. Do you know that the character "?" means I'm asking a question? Question. Do you know that spoken inflection also provides the same cue? So please don't say, "Question" before you ask your question. Believe me I'll know.

    That said, I would have said this first if it had to precede what I'm telling you now. Having said that, what I'm telling you now is the same thing I just said about the annoying phrases "That said" and "Having said that".


    Are you threatening me, Master Jedi?
    -Chancellor Palpatine

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width