Announcement

Collapse
No announcement yet.

File Sharing

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • Bacteria Man
    replied
    Just place your attachment directory above the root web directory and it will not be accessible from the web.

    That's a excellent point! I believe Apache (and probably most other web servers) can be configured to prevent hot linking as well.

    Leave a comment:


  • Steve Machol
    replied
    Actually they would have to know the exact location of the attachment on the serveer and since all the uploaded files have an 'attach' extension, it would not be obvious what it is they are downloading.

    However it is easy to stop even this. Just place your attachment directory above the root web directory and it will not be accessible from the web.

    Leave a comment:


  • Dennis Olson
    replied
    Nothing.

    Leave a comment:


  • Bacteria Man
    replied
    What prevents someone without the proper permissions of hot-linking a file? In other words, if they know the absolute URL?

    Leave a comment:


  • Steve Machol
    replied
    Yes. So attachments for user 1111, the directory will be:

    .../attachments/1/1/1/1/

    Leave a comment:


  • Dennis Olson
    replied
    Really! Damn, I learn something new here every day. So all attachments are stored in subd's by userID?

    Leave a comment:


  • Steve Machol
    replied
    You need to specify the full path to a directory on the server that is chmod'd to 777. vB will then create subdirectories for attachments based on userids.

    Leave a comment:


  • Dennis Olson
    replied
    They're all in one folder, the path of which you set in Options. The name is entirely arbitrary. Just make sure vB knows where it is...

    Leave a comment:


  • Bacteria Man
    replied
    Thanks for your replies. I have a follow-up question.

    My vB installation is configured (by default) to save attachments in the database. When stored in the file system, where in the directory hierarchy do files reside? Are they all lumped together or in individual folders? What's the naming convention?

    Leave a comment:


  • Dennis Olson
    replied
    Also, is there a way to upload a file to the system without being associated with a message?

    There are lots of FTP tools out there to push files up to the server. I have a directory (called "Mbrs_pics") where those kind of things are stored. They can then be referenced directly via a URL.

    Leave a comment:


  • Floris
    replied
    No, currently this is not possible. Nice suggestion though.
    A user can only view all the attachments he or she uploaded to all the forums, through the user control panel > view attachments

    Leave a comment:


  • Bacteria Man
    started a topic File Sharing

    File Sharing

    Is there a way (from the user's perspective) to view all file attachments uploaded to a forum? Also, is there a way to upload a file to the system without being associated with a message?

    Any suggestions/comments on vBulletin's file sharing capabilities in general would be greatly appreciated.

    Thank you.
widgetinstance 262 (Related Topics) skipped due to lack of content & hide_module_if_empty option.
Working...
X