Skip to content

Disable encryption on external storage shared folders (dropbox, etc) #8460

Closed

Description

@xdmx

Steps to reproduce

  1. Enable encryption on owncloud
  2. Connect dropbox (or other services)
  3. Share a folder with that account
  4. Upload some files into that folder from owncloud

Expected behaviour

Files must be accessible by other users of that shared folder, skipping the owncloud encryption on those folders

Actual behaviour

Files are being encrypted and NOT accessible by other users, this way it's impossible to share files with other people on external storage services

Server configuration

Operating system: Linux

Web server: Apache

Database: Mysql

PHP version: 5.5

ownCloud version: (see ownCloud admin page) 6.0.3

Updated from an older ownCloud or fresh install: both

List of activated apps: default + encryption and external storage

Are you using external storage, if yes which one: dropbox

Are you using encryption: yes

Client configuration

Browser: firefox

Operating system: linux

Activity

  1. PVince81 commented on May 5, 2014

    @PVince81
    Contributor

    As far as I know it is currently not possible to selectively not encrypt files.
    But the use case you've mentioned makes sense.

    @schiesbn can you comment on this ?

    The ext storage API would also need to use the Dropbox API to find out whether a specific dir is shared (Dropbox-Share). We currently don't have that information in the file cache.

  2. pathomas commented on Jul 7, 2014

    @pathomas

    I'm a fairly new owncloud user. But how about giving an option to only encrypt certain external mount points. Like my S3 bucket would be encrypted, but Dropbox would not.

  3. PVince81 commented on Jul 7, 2014

    @PVince81
    Contributor

    A similar request here, for folders in general.

    I think the OC 7 code might already contains the necessary code to disable encryption for a specific storage (it is done when using server to server sharing). So it should be a matter of adding an option for every external storage.

  4. xdmx commented on Jul 30, 2014

    @xdmx
    Author

    This would work, I personally wouldn't care if all files in dropbox aren't encrypted, since I use it just for shared folders. All other files are in my owncloud storage (encrypted)

  5. karolherbst commented on Aug 11, 2014

    @karolherbst

    I ran into this issues today, my owncloud does encryption and uploaded all new data encrypted into my dropbox so I can't access them there right now.

    This problem is fatal, because you might have shared directories in your dropbox and changing files will lead to uploading decrypted file into a shared directory making the shared directory itself useless.

  6. PVince81 commented on Aug 29, 2014

    @PVince81
    Contributor

    CC @Xenopathic

  7. dmaroulidis commented on Aug 31, 2014

    @dmaroulidis

    OwnCloud encryption is used to secure the files on those external storage services. If you want to share some file from dropbox that you have uploaded from your owncloud server you should do show directly from owncloud, not dropbox because these files are encrypted. Sharing from your owncloud server ensures that the files will get decrypted by the server. The encryption app wasn't developed with sharing from external storage providers in mind.

  8. karolherbst commented on Aug 31, 2014

    @karolherbst

    yeah, but that's a big problem, because what happens after I got invited to a shared folder and edit files without knowing this, then I just upload decrytped files and mess it up for everyone else.

    Maybe a user of this features should be informed of that behaviour like when the external storage is added, there could be a information box with a little notice about this.

    Also I kind of wanted to ditch the dropbox client in favour of this external storage feature, but it seems like I can't and have to use the dropbox client again, if this can't be turned off.

  9. MikkiWells commented on Sep 18, 2014

    @MikkiWells

    For me, the big advantage to ownCloud encryption of files in dropbox, etc is that I don't trust dropbox.
    Surely if you want to share files on dropbox then just use dropbox? Why involve ownCloud at all?
    Having said that I can see the advantage of what the xdmx is asking for as it means there is no need to install a dropbox client or to visit the dropbox website.

    Having an option for encrypting an external storage is a good first step. However, I'd prefer an option where you can choose to encrypt on a folder-by-folder basis. This would be much more useful for me as I wouldn't have to create and manage multiple dropbox accounts.

  10. PVince81 commented on Oct 14, 2014

    @PVince81
    Contributor

    Another extra option for system-wide mount points: a checkbox whether recovery keys should be generated for that storage (since the files are shared between multiple users)
    CC @schiesbn as discussed

  11. schiessle commented on Oct 20, 2014

    @schiessle
    Contributor

    This is not a bug but the intended behaviour at the moment. Still I see the point, of making it configurable on a per mount point or even per folder basis, let's discuss it here: #10731

  12. locked as resolved and limited conversation to collaborators on Aug 15, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions