nextcloud / nextcloud/files_accesscontrol
Shareing web link, can’t restrict IP with “File access control”
Nobody has claimed this yet.
- Dominant language
- PHP
- Stars
- 60
- Forks
- 22
- Avg merge
- 2d 11h
- Merged PRs (30d)
- 34
Description
File access control
Hi, I have set up “File access control” to restrict access to files or folders permissions only to specific IP addresses.
However, today I found that when using the file sharing link feature, it does not block any IP addresses.
Is this a bug in the current version?
I have tested this before on version 18 or so, and at that time, the sharing link could not be accessed by IPs that were not specified in the access control settings.
But today I found that this feature is not working.
Is there a solution to this problem?
Thank you.
File access control version:1.15.1
Running Nextcloud 25.0.3.2
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start by reproducing the shared-link behavior with File access control 1.15.1 on Nextcloud 25.0.3.2, testing requests from both allowed and disallowed IP addresses. Compare this with normal file or folder access and confirm whether the restriction is applied to shared links; done means disallowed IPs are blocked consistently.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- php
- Domain
- authorization, security
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100