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 19. Apr 2024, 18:14

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  [ 5 posts ] 
Author Message
PostPosted: 2. Apr 2012, 16:00 
Offline

Joined: 16. Jul 2007, 22:46
Posts: 25
Hi,

Just noticed that when I enter the twg URL and add /pictures I can browse through all of my images!

#removed_broken_link
Gives me a web-based (non-TWG) interface to the folder structure where you can open private.txt files and browse the entire folder structure below /pictures.

Is there something I have to do to prevent this from happening? Or is there a setting I have overlooked?
(maybe place an empty index.html?)

If you have to use .htaccess files for this, does anyone have an example?


Cheers
DJ


Top
 Profile  
 
PostPosted: 3. Apr 2012, 13:11 
Offline
Site Admin
User avatar

Joined: 1. Aug 2005, 12:53
Posts: 11232
Please see howto 1 of the TWG howtos.

an example e.g. can be found in the inc folder.

Just wondering why not many people seems to read the howtos - they are really helpful ;).


Best,
Michael


Top
 Profile  
 
PostPosted: 4. Apr 2012, 10:16 
Offline

Joined: 16. Jul 2007, 22:46
Posts: 25
I've read every single how-to. Think that I just might be to stupid ;-)

When looking at the .htaccess from the inc folder [b]I was under the impression that would block [i]*ALL*[/i] access[/b].. (so I never tried)
After testing it looks like this will [i]not[/i] block TWG from showing pictures but it will block anyone else from viewing the file structure in a browser (for example).

Is that correct?

This means I have to copy this .htaccess file to each folder?

DJ


Top
 Profile  
 
PostPosted: 4. Apr 2012, 11:07 
Offline
Site Admin
User avatar

Joined: 1. Aug 2005, 12:53
Posts: 11232
;).

No - .htaccess files work recursively. simply put it in the pictures folder.

Best, Michael


Top
 Profile  
 
PostPosted: 5. Apr 2012, 13:37 
Offline

Joined: 16. Jul 2007, 22:46
Posts: 25
Thank you!


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

All times are UTC + 1 hour [ DST ]


Who is online

Users browsing this forum: No registered users and 27 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