1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

Attachments and permissions

Discussion in 'XenForo Pre-Sales Questions' started by Erel, Jul 7, 2013.

  1. Erel

    Erel Member

    I guess that we can choose where are attachments stored (file system or database). It that correct?

    Can we set permissions to attachments stored in the file system? I tried to search for it and didn't find.

    Last question, we will migrate from VB 3.6. In our previous installation the attachments were stored in the database. Can we change it after the import?
  2. Lisa

    Lisa Well-Known Member

    Tize likes this.
  3. Mike

    Mike XenForo Developer Staff Member

    Attachments are always stored in the file system.

    When you say permissions, are you referring to file permissions? You can set these, though you generally don't need to - the system figures out what's appropriate.
    Tize likes this.
  4. Liam W

    Liam W Well-Known Member

    I think he's referring to permissions to download/upload certain files?

    In that case, then I don't think you can.
    Tize likes this.
  5. Erel

    Erel Member

    That is correct. For example I would like to only allow users from a specific user group to download attachments (maybe we should use Resource Manager for that?).
  6. Liam W

    Liam W Well-Known Member

    There is a single download attachment permission. There arent any per extension permissions.

    You have to make sure the attachment directory isn't accessible from the server.
  7. Erel

    Erel Member

    Thank you. I will explain my use case. Maybe someone has any suggestion. Currently we are running vb 3.6. We have a special "licensed" group which is a group of users who bought our product.
    One of the sub-forums includes resources which only licensed customers can download. Is this something that can be achieved with the resource manager (we will build the group ourselves)?
    Tize likes this.
  8. Jeremy

    Jeremy Well-Known Member

    You can achieve that by one of three ways:
    (a) Limiting viewing of the specific sub-forum
    (b) Revoking the view attachment permission
    (c) Using the Resource Manager and only granting the licensed users download permissions.
    Tize likes this.
  9. Erel

    Erel Member

    After 8 years with vb 3.6 I'm happy to start a new journey...
    Tize, Robert F Schmitz and TsuChi like this.

Share This Page