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 7. Apr 2025, 08:25

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  [ 4 posts ] 
Author Message
PostPosted: 13. Dec 2008, 16:43 
Offline

Joined: 13. Dec 2008, 16:38
Posts: 32
Hi,

first post. Am using TWG for my gallery and am loving it till now, I am creating a private gallery and will passwordprotect most of my files.

I read the howto, but this part i dont understand:

Quote:
You can now use several passwords for each directory. Simply create a normal password file and separate the different passwords with a ','. e.g. test,test2,test3. Make sure that there are no spaces between the commas and the passwords. If $encrypt_passwords=true you have to use the generated password!

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.


so if i use multiple passwords like test1,test2 for multiple folders, then how will TWG know which pass is for which folder?


thanks

_________________
Our Sweetest Songs Tell Of Saddest Thought.


Top
 Profile  
 
 Post subject:
PostPosted: 13. Dec 2008, 17:51 
Offline
Site Admin
User avatar

Joined: 1. Aug 2005, 12:53
Posts: 11232
each folder has his own password file.

if you specify 3 passwords then a user that enters one of the 3 passwords gets access.

The reason is the following. Normally you want one "master password" for you and the people who want to see all images. But if you have one folder only for a view users then you have the master passord + a different password in there.
and you only give this users the other password an then they only see this images.

/Michael


Top
 Profile  
 
 Post subject:
PostPosted: 13. Dec 2008, 17:56 
Offline

Joined: 13. Dec 2008, 16:38
Posts: 32
thanks michael,

so if i want to protect my entire gallery site, i create a private.txt with the pass.. say superman in it. so will this be the master password and will it protect my entire site? also how secure is this? can this be cracked easily?

i will the place this private.txt in my root? or should i place it in the pictures directory?

_________________
Our Sweetest Songs Tell Of Saddest Thought.


Top
 Profile  
 
 Post subject:
PostPosted: 13. Dec 2008, 18:03 
Offline
Site Admin
User avatar

Joined: 1. Aug 2005, 12:53
Posts: 11232
depends.
In the root it looks different than if you put it in a folder. simply try and then you see!

about security.
http://www.tinywebgallery.com/en/faq.php#h1 Point 6 and 7.

I provide a .htaccess as well you can use it's in the main folder. Then all xml and txt files are protected too.

/Michael


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

All times are UTC + 1 hour [ DST ]


Who is online

Users browsing this forum: No registered users and 37 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:
powered by phpbb | Datenschutz/ Privacy policy