[GH-ISSUE #513] Integrate authentication with site auth #379

Closed
opened 2026-03-02 15:58:16 +03:00 by kerem · 2 comments
Owner

Originally created by @ntskalman on GitHub (Mar 22, 2021).
Original GitHub issue: https://github.com/prasathmani/tinyfilemanager/issues/513

I'm looking for the possibility to use already in place authentication for a site with TinyFileManager.
My users are already logged in to the administration part of the site with teir MySQL username and passwords and the session cookies are set. Can these be used in conjunction with the $auth_users in the code - and if so - HOW?

Originally created by @ntskalman on GitHub (Mar 22, 2021). Original GitHub issue: https://github.com/prasathmani/tinyfilemanager/issues/513 I'm looking for the possibility to use already in place authentication for a site with TinyFileManager. My users are already logged in to the administration part of the site with teir MySQL username and passwords and the session cookies are set. Can these be used in conjunction with the $auth_users in the code - and if so - HOW?
kerem closed this issue 2026-03-02 15:58:17 +03:00
Author
Owner

@fab966 commented on GitHub (Jul 8, 2021):

Hi,
I have the same problem.
I'd like to use this FM in my PHP Application where Sessions already exist.

I get some Warnings:

Warning: session_cache_limiter(): Cannot change cache limiter when session is active in xxxxx.php on line 198
Warning: session_name(): Cannot change session name when session is active in xxxxx.php on line 199
Warning: Cannot modify header information - headers already sent by (output started at xxxxx/media.php:36) in xxxxx.php on line 2336

I'm trying to find a solution.

<!-- gh-comment-id:876390146 --> @fab966 commented on GitHub (Jul 8, 2021): Hi, I have the same problem. I'd like to use this FM in my PHP Application where Sessions already exist. I get some Warnings: ``` Warning: session_cache_limiter(): Cannot change cache limiter when session is active in xxxxx.php on line 198 Warning: session_name(): Cannot change session name when session is active in xxxxx.php on line 199 Warning: Cannot modify header information - headers already sent by (output started at xxxxx/media.php:36) in xxxxx.php on line 2336 ``` I'm trying to find a solution.
Author
Owner

@prasathmani commented on GitHub (Jul 9, 2021):

try this, https://github.com/prasathmani/tinyfilemanager/wiki/Embedding

<!-- gh-comment-id:876927831 --> @prasathmani commented on GitHub (Jul 9, 2021): try this, https://github.com/prasathmani/tinyfilemanager/wiki/Embedding
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/tinyfilemanager#379
No description provided.