Webmaster Forum


Go Back   Webmaster Forum > Web Development > Web Design Lobby > Coding Forum
Register FAQ Members List Calendar Search Today's Posts Mark Forums Read

Coding Forum Problems with your code? Let's hear about it.

Easy Date   Perfect Money   V7N Directory

Reply
 
LinkBack Thread Tools Display Modes
Old 10-10-2004, 10:50 PM   #1 (permalink)
Inactive
 
Join Date: 10-10-04
Posts: 3
iTrader: 0 / 0%
Latest Blog:
None

imei is liked by many
Unhappy hotlink protection

hi!
first excuse me because I dont know english well

I want ot know that in ASP (Not .net) how I can make hotlink protection for images? is it possible?
thanks!
imei is offline  
Add Post to del.icio.us
Reply With Quote
Sponsored Links
SEO Hosting by HostGator  Advertise Here  Buy Blog Links
Old 10-11-2004, 03:24 PM   #2 (permalink)
Inactive
 
seonewbee's Avatar
 
Join Date: 05-12-04
Posts: 520
iTrader: 0 / 0%
Latest Blog:
None

seonewbee is just really niceseonewbee is just really niceseonewbee is just really niceseonewbee is just really niceseonewbee is just really niceseonewbee is just really niceseonewbee is just really niceseonewbee is just really nice
Hotlinking protection is best handled by the server.

Hotlink protection is easy. Just read this article.

http://www.alistapart.com/articles/hotlinking/

Hope that this helps you
seonewbee is offline  
Add Post to del.icio.us
Reply With Quote
Old 10-11-2004, 09:03 PM   #3 (permalink)
Inactive
 
Join Date: 10-10-04
Posts: 3
iTrader: 0 / 0%
Latest Blog:
None

imei is liked by many
THANKS but in ths page there was some codes for PHP
but i want some code in ASP classic and not asp.net!
thansk again for your feed back!
imei is offline  
Add Post to del.icio.us
Reply With Quote
Old 10-12-2004, 07:59 PM   #4 (permalink)
Inactive
 
seonewbee's Avatar
 
Join Date: 05-12-04
Posts: 520
iTrader: 0 / 0%
Latest Blog:
None

seonewbee is just really niceseonewbee is just really niceseonewbee is just really niceseonewbee is just really niceseonewbee is just really niceseonewbee is just really niceseonewbee is just really niceseonewbee is just really nice
This is the part of the article mentioned above that I thought might help you. Not the php part.





Quote:
The next step is to add the following code to your .htaccess file:

RewriteEngine On

RewriteCond %{REQUEST_FILENAME} .*jpg$|.*gif$|.*png$ [NC]
RewriteCond %{HTTP_REFERER} !^$
RewriteCond %{HTTP_REFERER} !yoursite\.com [NC]
RewriteCond %{HTTP_REFERER} !friendlysite\.com [NC]
RewriteCond %{HTTP_REFERER} !google\. [NC]
RewriteCond %{HTTP_REFERER} !search\?q=cache [NC]

RewriteRule (.*) /showpic.php?pic=$1
The last line can be changed to any file you wish. Does not have to be a php file.
Could be changed to an asp file or an image file if you wish
seonewbee is offline  
Add Post to del.icio.us
Reply With Quote
Old 10-13-2004, 08:41 AM   #5 (permalink)
Inactive
 
Join Date: 10-10-04
Posts: 3
iTrader: 0 / 0%
Latest Blog:
None

imei is liked by many
wow! .htaccess
thanks! i think that give my asnwer!
imei is offline  
Add Post to del.icio.us
Reply With Quote
Old 10-15-2004, 09:28 AM   #6 (permalink)
Inactive
 
Join Date: 07-13-04
Location: Albuquerque, New Mexico
Posts: 34
iTrader: 0 / 0%
Latest Blog:
None

nmgoodthing is liked by many
Send a message via AIM to nmgoodthing
Quote:
Originally Posted by seonewbee
This is the part of the article mentioned above that I thought might help you. Not the php part.







The last line can be changed to any file you wish. Does not have to be a php file.
Could be changed to an asp file or an image file if you wish
I could be wrong but I think .htaccess only works w/ Apache servers.
If he's using asp theres a pretty good chance it's and IIS Windows box unless hes on a apahce box running chile asp.
nmgoodthing is offline  
Add Post to del.icio.us
Reply With Quote
Go Back   Webmaster Forum > Web Development > Web Design Lobby > Coding Forum

Reply



Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes

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

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

Similar Threads
Thread Thread Starter Forum Replies Last Post
The best antivirus protection Kalina Computers & Internet 80 09-12-2007 04:29 AM
Virus protection andrewp Computers & Internet 23 10-27-2006 02:22 AM
Password Protection Aisne SEO Forum 11 08-11-2006 04:28 PM


Sponsor Links
Get exposure! Get exposure! Find Scripts Web Hosting Directory Get exposure! SEO Blog


All times are GMT -7. The time now is 10:09 AM.
© Copyright 2008 V7 Inc