icon Get the most out of Surmunity, read our tips here! Need an interesting blog to read? You've got to read the Surpass Blog! | Welcome! Please register to access all of our features.
Old January 26th, 2005, 9:47 AM   #1 (permalink)
Registered User
Comfy Contributor
 
Mark.H's Avatar
 
Joined in Jan 2004
114 posts
Gave thanks: 0
Thanked 0 times
Hotlink protection

Two folders

http://www.domain.com/images
http://www.domain.com/pics

I see in the hotlink protection area that the domains

http://www.domain.com and
http://domain.com

are listed now. If I didn't want the images in the "images" folder to be use elsewhere, but allow the images in the "pics" folder to be used elsewhere, would I just have to add in the following:

http://www.domain.com/images and
http://domain.com/images

to where the hotlink protection is now and take out the other ones??

If that made any sense.
__________________
Pass27
72.29.68.180
Mark.H is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old January 26th, 2005, 12:14 PM   #2 (permalink)
Registered User
Comfy Contributor
 
Joined in Dec 2004
Lives in Fairfax, VA, USA
Hosted on sh57
247 posts
Gave thanks: 0
Thanked 0 times
No, the list you see in there currently is the list of areas that are allowed to hotlink the images.

For example, if http;//www.domain.com/pics.html includes an inline image, it's always allowed to work.

The only way it lets you specify which files are protected (from hotlinking) is by the file extension. (jpg,jpeg,gif,png,bmp)
__________________
Ben the Benly Benis: the greatest webcomic in existence. (on sh57)
graue is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old January 26th, 2005, 1:10 PM   #3 (permalink)
Registered User
Comfy Contributor
 
Mark.H's Avatar
 
Joined in Jan 2004
114 posts
Gave thanks: 0
Thanked 0 times
gotcha on that. is there any way of restricting what folders are allowed to hotlink??
__________________
Pass27
72.29.68.180
Mark.H is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old January 26th, 2005, 4:40 PM   #4 (permalink)
Registered User
Comfy Contributor
 
Joined in Dec 2004
Lives in Fairfax, VA, USA
Hosted on sh57
247 posts
Gave thanks: 0
Thanked 0 times
Not that I can see.
__________________
Ben the Benly Benis: the greatest webcomic in existence. (on sh57)
graue is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old January 26th, 2005, 7:59 PM   #5 (permalink)
Surpass Fan
Super #1
 
Joined in Aug 2004
Hosted on SH58
1,688 posts
Gave thanks: 6
Thanked 7 times
Yes. Inside each folder, create a separate .htaccess file and place your anti-hotlinking code there.
__________________
- Evan Charlton | [site] | Server - SH58
Kickersny.com is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old January 26th, 2005, 8:07 PM   #6 (permalink)
Registered User
Comfy Contributor
 
Joined in Dec 2004
Lives in Fairfax, VA, USA
Hosted on sh57
247 posts
Gave thanks: 0
Thanked 0 times
Ah, I didn't think of that... but there's no way to do it through cPanel, correct? You have to know what the .htaccess file does...
__________________
Ben the Benly Benis: the greatest webcomic in existence. (on sh57)
graue is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old January 28th, 2005, 7:48 AM   #7 (permalink)
Registered User
Comfy Contributor
 
Mark.H's Avatar
 
Joined in Jan 2004
114 posts
Gave thanks: 0
Thanked 0 times
and I don't know how those files work.

oh well, thanks for the help people
__________________
Pass27
72.29.68.180
Mark.H is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old January 28th, 2005, 3:23 PM   #8 (permalink)
Registered User
Comfy Contributor
 
Joined in Dec 2004
Lives in Fairfax, VA, USA
Hosted on sh57
247 posts
Gave thanks: 0
Thanked 0 times
Look at the .htaccess file it puts in your public_html directory, or google it. I bet it's not that hard to figure out.
__________________
Ben the Benly Benis: the greatest webcomic in existence. (on sh57)
graue is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Reply


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On