Php photo gallery TWG | JFUploader | TWG Flash upload | WFU | Forum
https://www.tinywebgallery.com/forum/

Problem password protect folders
https://www.tinywebgallery.com/forum/viewtopic.php?f=1&t=3578
Page 1 of 1

Author:  heja70 [ 25. Aug 2013, 22:58 ]
Post subject:  Problem password protect folders

I have turned on user_login_mode and added two users to private.txt in the pictures directory. The problem is that when logging in with either user I seem to have access to all folders within the pictures folder, even some with private.txt files without the user which I have logged in with.

The private.txt in the pictures folder seems to work since if I exclude a user from this file its no longer possible to login with that user. But successful login to the pictures folder seems to unlock all folders within regardless if they are protected with private.txt?

Maybe I am missing something but I don't understand how to restrict access to a few folders to only one user?

Author:  TinyWebGallery [ 26. Aug 2013, 11:55 ]
Post subject:  Re: Problem password protect folders

private.txt files work recursive. So if you allow a user in the upper folder access he has access to all subfolders also. In a private.txt in a sub folder you can only add additional users.

Best, Michael

Page 1 of 1 All times are UTC + 1 hour [ DST ]
Powered by phpBB® Forum Software © phpBB Group
http://www.phpbb.com/