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

Access restriction
https://www.tinywebgallery.com/forum/viewtopic.php?f=3&t=714
Page 1 of 1

Author:  ynitab [ 25. Dec 2006, 11:42 ]
Post subject:  Access restriction

Hello,
I have tried the access restriction with several groups of users.

So I have different private.txt in my 200 folders.

In each private.txt are crypted passwords seperated by ",".

It works very well, but I think it is difficult to chnange something because looking in the private.txt I cants see for which group the password is.

My Idea:

For each password (Group) a own file calle xxx.PRV
The xxx is for the Groupname, e.g. "Family", "Friends".
In each xxx.PEV exactly one password.

So when I am looking in a folder I can see which groups may have access.
And searching for xxx.PRV I fiend the all folders a Group has access to.

Regards, Axel

Author:  TinyWebGallery [ 25. Dec 2006, 22:17 ]
Post subject: 

not a bad idea.

But maybe I make it the other way.

You define the groups in the private.txt and define the password for a group at one single file - this makes is better to administrate! - and maybe this can be done in the backend quite nice.

Sound like a good enhancement for 1.7 ;).

/Michael

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