mirror of
https://github.com/prasathmani/tinyfilemanager.git
synced 2026-04-26 10:55:56 +03:00
[GH-ISSUE #825] Skipping login form for public users (but Admininstrator needs to log in to manage files) #555
Labels
No labels
Feature
Feature
Is It Really an Issue?
Need More Info
Request
Security
bug
duplicate
enhancement
enhancement
help wanted
invalid
pull-request
question
suggestion
wontfix
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
starred/tinyfilemanager#555
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @mrlawrencelam on GitHub (Jul 20, 2022).
Original GitHub issue: https://github.com/prasathmani/tinyfilemanager/issues/825
What I want:
The Administrator must log in to manage files.
Public users can only VIEW and DOWNLOAD files. They can't manage files.
Public users DO NOT need to log in (skip the login form). They can go directly to the file list.
I tried pointing to the URL */tinyfilemanager.php?fm_usr=user&fm_pwd=user123 but it didn't work.
@phken91 commented on GitHub (Jul 21, 2022):
hi @mythsmith ,
In your situation, it would be preferable to have a different page where the file is shown or listed to allow for public download.
@mrlawrencelam commented on GitHub (Jul 21, 2022):
Thanks for the hint.
I have just duplicated the script and renamed it view.php. I turn auth to OFF. But viewers, when arriving at the main file list, have the power to manage files. I guess I have to manually remove the codes for DELETE, RENAME, UPLOAD , SETTING etc. I wonder why users still have the power to manage files when global read-only is turned ON.