Should direct access to file location be hidden from the end user?

Serge D
Serge D's picture

Joined: 2009-06-11
Posts: 2466
Posted: Sat, 2009-06-27 04:24

Should direct access to file location be hidden from the end user?
At the moment right-click on the picture gives you all usual operations and exposes a full path. I kind of liked an old /dowload/N/N.jpg reference

Any comments why it was decided to "simplify" things

 
nivekiam
nivekiam's picture

Joined: 2002-12-10
Posts: 16504
Posted: Sat, 2009-06-27 05:15

Simply, performance and it's not to "simplify" things, it really does simplify things. Gallery doesn't have to do extra work translating that info or serving up the images.

Want more, search the forums.

Images can be made just as secure as in G2 with G2's image firewall.

http://gallery.menalto.com/node/87609
http://gallery.menalto.com/gallery_3.0_alpha_2_feedback

____________________________________________
Like Gallery? Like the support? Donate now!!! See G2 live here

 
Serge D
Serge D's picture

Joined: 2009-06-11
Posts: 2466
Posted: Sat, 2009-06-27 06:06

harsh... missed 87609, but did not have an intention to read info on Alpha thinking that it is more productive to spend time on customization questions.

yes "G2 image firewall" could be used, but it complicates thing as far as configuration of the site and may not be available to some people. and I have set .htaccess to prevent hot-linking...
To do more with .htaccess where do I set a path instead of ./var? Didn't find it under Advanced_settings

probably would be nice to start collect FAQ for G3 :)

 
nivekiam
nivekiam's picture

Joined: 2002-12-10
Posts: 16504
Posted: Sat, 2009-06-27 13:50
Quote:
harsh... missed 87609, but did not have an intention to read info on Alpha thinking that it is more productive to spend time on customization questions

I simply used this handy feature: http://gallery.menalto.com/search :D

Quote:
and I have set .htaccess to prevent hot-linking...
To do more with .htaccess where do I set a path instead of ./var? Didn't find it under Advanced_settings

Right now, since G3 hasn't been finalized yet and is still being worked on, you'll have to manually edit .htaccess

For example, the ability for G3 to utilize mod_rewrite was just added to the code base a couple days ago. I haven't even had a chance to check it out, just saw that it was committed by bharat.
____________________________________________
Like Gallery? Like the support? Donate now!!! See G2 live here

 
floridave
floridave's picture

Joined: 2003-12-22
Posts: 27300
Posted: Sat, 2009-06-27 14:03
Quote:
probably would be nice to start collect FAQ for G3

http://codex.gallery2.org/Gallery3:FAQ
Feel free to add to it as required. Docs are for users by users so your contribution will be appreciated.

Dave
_____________________________________________
Blog & G2 || floridave - Gallery Team

 
cowlemon

Joined: 2009-06-18
Posts: 13
Posted: Sun, 2009-07-12 15:38

what should the content of the .htaccess file be?

 
nivekiam
nivekiam's picture

Joined: 2002-12-10
Posts: 16504
Posted: Sun, 2009-07-12 15:45

If you get the latest code, the .htaccess that's included has an example
____________________________________________
Like Gallery? Like the support? Donate now!!! See G2 live here