Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Enable search for not-logged users in shared folders #1794

Open
SlavikCA opened this issue Oct 19, 2016 · 16 comments
Open

Enable search for not-logged users in shared folders #1794

SlavikCA opened this issue Oct 19, 2016 · 16 comments
Labels

Comments

@SlavikCA
Copy link

Steps to reproduce

  1. Share folder with files via the link
  2. While not logged, as a user - open the link (or in Incognito mode)

Expected behaviour

I expect, that search bar will be available, so I can search for files

Actual behaviour

There is no search bar. It only shown for authenticated users.

Server configuration

Operating system:
Ubuntu 16.04

Web server:
Apache 2.4.7

Database:
MySQL

PHP version:
7.0

Nextcloud version: (see Nextcloud admin page)
10.0.1

Updated from an older Nextcloud/ownCloud or fresh install:
Fresh install

Where did you install Nextcloud from:
From the https://download.nextcloud.com/server/releases/nextcloud-10.0.1.zip

Signing status:

Signing status

http://backup.slavikf.com/index.php/settings/integrity/failed
No errors have been found.

List of activated apps:
Default set of apps for clean install

Are you using external storage, if yes which one: local/smb/sftp/...
Only local

Are you using encryption: yes/no
No

Are you using an external user-backend, if yes which one: LDAP/ActiveDirectory/Webdav/...
No

Client configuration

Browser:
Chrome 53

Operating system:
Windows 10

image

@fakemoth
Copy link

fakemoth commented Sep 7, 2017

This is a must, it would bring up the potential of NC: if public visitors via a shared folder would be able to search we would have an awesome download manager. Just think about all the paperwork in an institution for example - how would one find something?
Also it would help if we could hide/disable the "Download" button in order for the visitors to download only specific files and not the whole directory. Or did I miss such a setting?

@leonidasv
Copy link

There's a pull request merged on Owncloud 7 for file search in shared folders. Maybe this could help to implement this function.

https://github.com/owncloud/core/pull/10287/files

@jospoortvliet
Copy link
Member

The issue is that people then would be able to see information that they should not: the search shows all files a user has access to.

First, they are anonymous users so the don't have access to anything. You could give them access to the files of the user who shared those files but then they can see everything - not just the shared files. That is quite a security and privacy problem. You could limit it to only what is publicly shared, that would fix this, but even that is usually not what you want: I share a public link with my parents, and another with a colleague. I don't want that colleague to find the public sharing link I shared with my parents, that is none of their business!

So what exactly is this search supposed to find? Just the files in that single shared folder? That might work... But do you need search for a single share? Maybe for big ones, yes, that might be interesting, certainly a feature that could be developed if somebody is interested (or has the money to pay for it, as usual).

@SlavikCA
Copy link
Author

Yes, your last paragraph is correct: search files just in single share folder.
Do I need it? Of course, that's what the issue is about.

My use case:
I'm hosting music sheets (notes) for our churches. That's thousands of files, so I need search functionality for web site visitors. And that's public share:
https://notes.propovednik.com/

Since there is no built-in NC search, I installed Nextant. It works, but takes too much resources and seems to be overkill for the job.

@jospoortvliet
Copy link
Member

Ok, makes sense! Then the question is who wants to work on it.

btw @leonidasv as that code went in years ago, that is certainly already part of Nextcloud ;-)

@kaysond
Copy link

kaysond commented Aug 20, 2018

Is anyone working on this? If I'm interested in contributing where would I start?

@nextcloud-bot nextcloud-bot removed the stale Ticket or PR with no recent activity label Aug 20, 2018
@tuxcrafter
Copy link

I would also like to see a search in shared folders, but only reaching the files within the scope of the share. Maybe an implementation with a quick index search (find output?) when first using the search and then parsing the index quickly on subsequent searches?

@fakemoth
Copy link

I see people are flocking around this :) Just wanted to say that I still think about and miss this feature, a longer explanation here on the forum https://help.nextcloud.com/t/search-in-public-shared-folders-and-option-for-disabling-the-download-button/20624

@jospoortvliet
Copy link
Member

@kaysond you can perhaps ask @daita - he's done some search work and might be able to give some pointers on where to start?!?!

@Tanarri
Copy link

Tanarri commented May 12, 2020

Any news here? The search at Shared-Links is a feature, which many people will miss

@skjnldsv
Copy link
Member

We could maybe make unified search available on public pages too and only allows some search providers?
@jancborchardt ?

@agustinjm
Copy link

i need this feature -->@Tanarri, any news here? The search at Shared-Links is a feature, which many people will miss , best wishes

@Tanarri
Copy link

Tanarri commented Sep 21, 2022

@agustinjm I haven't heard anything
btw: I am only a user of nextcloud, not in the programmer team

@Practicalbutterfly5
Copy link

Any updates on this? Recently I had shared a large folder with friends, and they had difficulty finding the file they were looking for. This would be the most important feature for my use case of Nextcloud as file server.

@JuliaGilmore
Copy link

Echoing @Practicalbutterfly5 ... are there any plans to add this functionality? We're encouraging more use of Nextcloud for file management and this has come up several times as a request from our teams.

@jospoortvliet
Copy link
Member

@JuliaGilmore if you have a Nextcloud account manager, best ask them - that might put it on the agenda of engineering. Otherwise, it simply depends on a volunteer, as always.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests