?
Solved

How do I authenticate usage from an end user, not a user redirected from another website

Posted on 2004-08-29
5
Medium Priority
?
182 Views
Last Modified: 2010-03-04
I have a couple of websites that use frontpage under an apache web server. I also have a rival who has put links to my sites that puts my pages inside his formatting and he is removing all of the broswer navigattion buttons as well. Is there a way for me to stop him from displaying my pages within his? Asking him to stop didn't work.
0
Comment
Question by:wmt1954
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
5 Comments
 
LVL 38

Accepted Solution

by:
yuzh earned 252 total points
ID: 11928794
You can use .htaccess file to control access to your web dir.

Have a look at the followings to learn more about .htaccess file:

http://apache-server.com/tutorials/ATusing-htaccess.html
http://sniptools.com/vault/windows-apache-and-htaccess-authentication.htm

also:
http:Q_20768724.html
0
 
LVL 15

Assisted Solution

by:samri
samri earned 248 total points
ID: 11933337
You could check HTTP_REFERER header in the request.  This is taking into consideration that when you visited certain page, you may be following a link on that page to another link.  Which in this case, your "rival" may have a link or some method to "pull" your website and display in a frame, or a different browser window.  This would cause your Apache to get where the request is coming from.  You could examine this header, and act accordingly.

Most browser would provide this, but some may not, and some could be configured no to sent that at all.  And some proxy server may be blocking this too.   Bottom line is - it is possible to use HTTP_REFERER, but not that reliable.

Commonly this kind of blocking would be for images, but should be possible for other types as well.  Another difference with image theft is that, in image-theft prevention, you would be allowing REFERER from your own site, and blocking other, while in this case, you only want to block if the REFERER is coming from your rival site.

I do not have the code in handy (way too sleepy now :), but information on the following link should give you some idea.

http://www.allmyfaqs.com/faq.pl?action=browse&diff=1&id=Prevent_bandwidth_theft
http://www.bloglines.com/citations?siteid=34559&itemid=64

good luck.
0

Featured Post

Free learning courses: Active Directory Deep Dive

Get a firm grasp on your IT environment when you learn Active Directory best practices with Veeam! Watch all, or choose any amount, of this three-part webinar series to improve your skills. From the basics to virtualization and backup, we got you covered.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

It is possible to boost certain documents at query time in Solr. Query time boosting can be a powerful resource for finding the most relevant and "best" content. Of course the more information you index, the more fields you will be able to use for y…
If you are a web developer, you would be aware of the <iframe> tag in HTML. The <iframe> stands for inline frame and is used to embed another document within the current HTML document. The embedded document could be even another website.
Add bar graphs to Access queries using Unicode block characters. Graphs appear on every record in the color you want. Give life to numbers. Hopes this gives you ideas on visualizing your data in new ways ~ Create a calculated field in a query: …
This tutorial will teach you the special effect of super speed similar to the fictional character Wally West aka "The Flash" After Shake : http://www.videocopilot.net/presets/after_shake/ All lightning effects with instructions : http://www.mediaf…
Suggested Courses

771 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question