Php photo gallery TWG | JFUploader | TWG Flash upload | WFU | Forum

Get help for TinyWebGallery, the best image gallery. The forum is also home for the Joomla JFUploader, TWG Flash Uploader and the Wordpress flash uploader.
It is currently 20. Apr 2024, 13:08

This forum is readonly now. Please use the new forum if you don't find the answer to your question here. The new forum is at https://www.tinywebgallery.com/blog/forum/


All times are UTC + 1 hour [ DST ]




Post new topic Reply to topic  [ 3 posts ] 
Author Message
PostPosted: 8. Jun 2007, 10:20 
Offline

Joined: 8. Jun 2007, 10:16
Posts: 1
Short question, is there any limitation in the number passwords in the private.txt.

I will use this file for round about 400 passwords.

Buf it does not work.

:-((


Top
 Profile  
 
 Post subject:
PostPosted: 8. Jun 2007, 18:17 
Offline

Joined: 2. Feb 2007, 17:37
Posts: 35
I guess you have already read the how-to #12.. If not then perhaps that will help getting it to work.

Part of the how-to is kind of confusing to me though..
Quote:
By using multiple passwords you can give some friends access to some directories and e.g. your family access to other directories. The advantage is now that these two groups can now have access to the same galleries as well! Or you can protect all galleries with a kind of "super password" and a couple of directories with a 2nd password for access of only an area.

..I don't really understand how different passwords = different access rights. I thought that was only associated with different users.

I've not looked at the php that deals with private.txt but there very well may be a pw qty limit that isn't documented... In which case I guess you're in a position to be able to experiment and find out the limit. ;)


Top
 Profile  
 
 Post subject:
PostPosted: 14. Jun 2007, 23:32 
Offline
Site Admin
User avatar

Joined: 1. Aug 2005, 12:53
Posts: 11232
I have limited the reading to password files to 500 characters.

I have this on my odo list for 1.7 because I have this codesegment a couple of times.

there are 3-4 places where this is uses - search for

privatefilename

in the code in the inc folder - quite easy to extend.

/Michael


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 3 posts ] 

All times are UTC + 1 hour [ DST ]


Who is online

Users browsing this forum: No registered users and 26 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
cron
powered by phpbb | Datenschutz/ Privacy policy