Thread: Saving files

    #1
  1. Contributing User
    Devshed Newbie (0 - 499 posts)

    Join Date
    Feb 2013
    Posts
    436
    Rep Power
    8

    Saving files


    hi,

    How do I securely save files, uploaded by the user?
  2. #2
  3. --
    Devshed Expert (3500 - 3999 posts)

    Join Date
    Jul 2012
    Posts
    3,959
    Rep Power
    1014
    Hi,

    what kind of files?
    The 6 worst sins of security ē How to (properly) access a MySQL database with PHP

    Why canít I use certain words like "drop" as part of my Security Question answers?
    There are certain words used by hackers to try to gain access to systems and manipulate data; therefore, the following words are restricted: "select," "delete," "update," "insert," "drop" and "null".
  4. #3
  5. Contributing User
    Devshed Newbie (0 - 499 posts)

    Join Date
    Feb 2013
    Posts
    436
    Rep Power
    8
    like "word" documents,

    oh and Jacques, would you please look at , I just can't figure out the fault...
    Last edited by derplumo; September 14th, 2013 at 11:14 AM.
  6. #4
  7. No Profile Picture
    Contributing User
    Devshed Frequenter (2500 - 2999 posts)

    Join Date
    Dec 2004
    Posts
    2,998
    Rep Power
    375
    securely save files?

    You could put them outside of your root folder then no one else would be able to access them and then you would need php script to access them, but then your login mechanism needs to also be secure!
  8. #5
  9. Contributing User
    Devshed Newbie (0 - 499 posts)

    Join Date
    Feb 2013
    Posts
    436
    Rep Power
    8
    well the whole point is that users can upload files, like word or jpeg etc. share them and also download them, like dropbox or something like that.

IMN logo majestic logo threadwatch logo seochat tools logo