block direct linking

 
Post new topic   Reply to topic    Aprelium Forum Index -> General Questions
View previous topic :: View next topic  
Author Message
erislon
-


Joined: 12 Jan 2005
Posts: 3
Location: Nanaimo, BC Candada

PostPosted: Thu Jan 13, 2005 12:36 am    Post subject: block direct linking Reply with quote

I wanna block people from directly linking to images in my "images" folder....can this be done.....I have restricted the directory....asks for password and all that.........but if you go straight to a file it does not....

ie....link to http://mysite.com/images/
would ask for a password....but

http://mysite.com/images/somepic.jpg
will not ask.....

can this be blocked? a setting...? if not...anyone know of a PHP or CGI that can do this?
Back to top View user's profile Send private message Visit poster's website
Axis
-


Joined: 29 Sep 2003
Posts: 336

PostPosted: Thu Jan 13, 2005 1:48 am    Post subject: Reply with quote

Hello erislon--

Are you using Abyss's password protection? The Access control? The behavior you describe should not be happening. Access control should prompt for username and password at and inside any directory you protect.

Let us know.

Regards,
Axis
Back to top View user's profile Send private message
TRUSTAbyss
-


Joined: 29 Oct 2003
Posts: 3752
Location: USA, GA

PostPosted: Thu Jan 13, 2005 3:56 am    Post subject: Reply with quote

I think this sounds more like a Anti-Leech type of issue , you don't want any
one to directly link to your images from their website , you would need to try
the beta version of Abyss Web Server to do this , Have A Nice Day...

Note: www.aprelium.com uses the Beta of Abyss Web Server that can be
found in the Beta 2.0 forum , please try it out and see if you like it.
Back to top View user's profile Send private message Visit poster's website
Arctic
-


Joined: 24 Sep 2004
Posts: 560

PostPosted: Thu Jan 13, 2005 3:57 am    Post subject: Reply with quote

How do you work it?
Back to top View user's profile Send private message ICQ Number
TRUSTAbyss
-


Joined: 29 Oct 2003
Posts: 3752
Location: USA, GA

PostPosted: Thu Jan 13, 2005 3:59 am    Post subject: Reply with quote

Take a look at http://abyssws.cjb.net for a easy to follow tutorial , their is
a new parameter added to v2.0.0.18 that allows you to add allowed hosts.
Back to top View user's profile Send private message Visit poster's website
erislon
-


Joined: 12 Jan 2005
Posts: 3
Location: Nanaimo, BC Candada

PostPosted: Thu Jan 13, 2005 8:54 pm    Post subject: Reply with quote

TRUSTpunk wrote:
I think this sounds more like a Anti-Leech type of issue , you don't want any
one to directly link to your images from their website , you would need to try
the beta version of Abyss Web Server to do this , Have A Nice Day...

Note: www.aprelium.com uses the Beta of Abyss Web Server that can be
found in the Beta 2.0 forum , please try it out and see if you like it.


ok...so I went and got the beta....and set the anti-leech thingy....worked great. except....that it wouldn't even allow pages in my site to link to that directory. so onreading the manual....I find I can make it ignore my site.....cool.....oh wait...not cool....now people can type the exact url of the pic and viola...there it is...you see...it's not people using images on their site I'm trying to stop....it's people sharing directlinks to them I don't want....

I don't want people to be able to view http://mysite.com/images/picture.jpg
I want them to have to log in and use the gallery to view them.

ie. http://mysite.com/gallery.php will be able to display images in the ./images dirctory.....but http://mysite.com/images/picture.jpg will not...

any ideas
Back to top View user's profile Send private message Visit poster's website
Axis
-


Joined: 29 Sep 2003
Posts: 336

PostPosted: Thu Jan 13, 2005 9:43 pm    Post subject: Reply with quote

Hello erislon--

Please re-read my first response to your post. If you want to password protect the "images" directory you can do this through Abyss's Access Control settings and User and Groups settings.

Regards,
Axis
Back to top View user's profile Send private message
admin
Site Admin


Joined: 03 Mar 2002
Posts: 1295

PostPosted: Fri Jan 14, 2005 4:16 pm    Post subject: Reply with quote

erislon,

Use password protection as explained in http://www.aprelium.com/forum/viewtopic.php?t=544 .
Back to top View user's profile Send private message
erislon
-


Joined: 12 Jan 2005
Posts: 3
Location: Nanaimo, BC Candada

PostPosted: Fri Jan 14, 2005 11:23 pm    Post subject: Reply with quote

admin wrote:
erislon,

Use password protection as explained in http://www.aprelium.com/forum/viewtopic.php?t=544 .


ok...perhaps a few missed my first post...I setup the allow/deny access for the /images directory....and if you goto http://mysite.com/images/ it will pop up and ask for password...which is great. but if you goto http://mysite.com/images/image1.jpg does not ask for passwrod....it just goes to the image. this is what I want to stop. now I tried the beta at someones suggestion and it caused more issues...so I un/re-installed abyss ( not beta ) and seems to have fixed it. it does now ask for pass if you try http://mysite.com/images/image1.jpg . but now I have a new issue...it also ask for pass on pages that call for images from the protected directory.....ie (http://mysite.com/gallery.php calls images from http://mysite.com/images/ ) is there a way around this....or am I trying to have my cake an eat it too ;)
Back to top View user's profile Send private message Visit poster's website
olly86
-


Joined: 25 Apr 2003
Posts: 993
Location: Wiltshire, UK

PostPosted: Sat Jan 15, 2005 1:33 am    Post subject: Reply with quote

the anti-leeching option in the new beta allows you to set hosts that can link to the folder, and prevent requests with no referrer header. this is probably more of what you need.
_________________
Olly
Back to top View user's profile Send private message
senshi
-


Joined: 05 Nov 2003
Posts: 385
Location: UK

PostPosted: Sat Jan 15, 2005 1:49 pm    Post subject: Reply with quote

just use common or garden variety CGI, something that will process all URL with any cgi information.

Then you can move all data, invalidate a CGI value and allsorts of other things.

It would be the simplest soloution for you.

Even simpler would be NOT to put anything up on the net that you dont want stolen. That is the nature of the internet, if you put something up, someone will steal it, link to it or copy your site because they have no imagination and cant come up with something original.

Other things you can do to make your artwork less attractive is to introduce water marks, lower quality pictures and small sizes as well.

Use of no-right click scripts... Save yourself the bother because usiing them only alienates the visitor from your site, allot of people that brows allot have right click options that they have embedded themselves to make navigation and use of the web easier, if you add a no-right click script, you will be alienating something in the order of 21% of internet users as quoted on one of the many web developer sites I visit.

It also is easily got around by using another browser like firefox. So its pointless as I pointed out to a website by emailing them the entire content of their no-right click protected website. Not heard anything from them yet...
Back to top View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic    Aprelium Forum Index -> General Questions All times are GMT + 1 Hour
Page 1 of 1

 
Jump to:  
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 vote in polls in this forum


Powered by phpBB phpBB Group