SitePoint Sponsor

User Tag List

Results 1 to 7 of 7
  1. #1
    SitePoint Member
    Join Date
    Jun 2012
    Posts
    3
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    does fb see file directory when u upload

    like when u upload a photo to fb
    does it see ur complete file directory, user name, etc.
    or just file name?

  2. #2
    Programming Team silver trophybronze trophy
    Mittineague's Avatar
    Join Date
    Jul 2005
    Location
    West Springfield, Massachusetts
    Posts
    17,140
    Mentioned
    190 Post(s)
    Tagged
    2 Thread(s)
    Hi personguy666, welcome to the forums.

    Interesting thought. It needs to know the physical path to the file. But just what does the browser and OS FILE input provide?

    My instinct says it doesn't allow recursive directory searching, but that's pure speculation.

  3. #3
    SitePoint Member
    Join Date
    Jun 2012
    Posts
    3
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    my q is whether it sees all my folder names and if theyre saved on servers of fb
    i got mixed answers on another forum...

  4. #4
    . shoooo... silver trophy logic_earth's Avatar
    Join Date
    Oct 2005
    Location
    CA
    Posts
    9,013
    Mentioned
    8 Post(s)
    Tagged
    0 Thread(s)
    You are using a form correct? If so...Facebook and any other website will never see anything of your computer only the file that you send. If it is some Flash or Java applet that can be different. In either case, I am positive it all happens client-side, with the only thing Facebook seeing is the file you pick and send to them.
    Logic without the fatal effects.
    All code snippets are licensed under WTFPL.


  5. #5
    SitePoint Member
    Join Date
    Jun 2012
    Posts
    3
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Quote Originally Posted by logic_earth View Post
    You are using a form correct? If so...Facebook and any other website will never see anything of your computer only the file that you send. If it is some Flash or Java applet that can be different. In either case, I am positive it all happens client-side, with the only thing Facebook seeing is the file you pick and send to them.
    what about other sites?
    when you upload pics and they are located in c:\users\****, etc.
    does it see your user name?

  6. #6
    . shoooo... silver trophy logic_earth's Avatar
    Join Date
    Oct 2005
    Location
    CA
    Posts
    9,013
    Mentioned
    8 Post(s)
    Tagged
    0 Thread(s)
    No.
    Logic without the fatal effects.
    All code snippets are licensed under WTFPL.


  7. #7
    SitePoint Author silver trophybronze trophy
    wwb_99's Avatar
    Join Date
    May 2003
    Location
    Washington, DC
    Posts
    10,629
    Mentioned
    4 Post(s)
    Tagged
    0 Thread(s)
    Actually, the correct answer is "it depends on what the browser gives them" -- some older browsers give full paths, some newer ones give "c:\fakepath" for example.

    Easy way to see exactly what facebook uses would be to fire up a http debugger and watch the traffic. The filename bit in the header is what your browser sends.

    In any case, facebook probably doesn't even look at the filename at all. They just grab the bytes -- probably after inspecting the header -- and stuff it into their rather insane image storage system.


Bookmarks

Posting Permissions

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