Welcome to MobyThreads.com!
FAQFAQ      ProfileProfile    Private MessagesPrivate Messages   Log inLog in
All support for the MobyThreads Threaded phpBB MOD can now be found on welsolutions at this forum

Disallowing access

 
   Web Hosting and Web Master Forums (Home) -> Apache RSS
Next:  Combining a custom action handler with Deflate  
Author Message
veino

External


Since: Sep 24, 2004
Posts: 1



(Msg. 1) Posted: Fri Sep 24, 2004 5:14 pm
Post subject: Disallowing access
Archived from groups: alt>apache>configuration (more info?)

Is there any way to disallow the server to send content to another
domain besides the main address?

For example, say there's a site abc.com. Someone bought the domain name
ab.com and, for some reason or another, made it so their page is simply
a big frame that loads the content of abc.com.

If I'm abc.com, can I protect my site?

Thanks.

--
Matt
veino.DeleteThis@bc.edu
http://www.phishyphotos.com
rmp photo album: http://www.recmusicphish.com
IM: Dividedsky319

 >> Stay informed about: Disallowing access 
Back to top
Login to vote
davideyeahsure

External


Since: Nov 03, 2003
Posts: 2907



(Msg. 2) Posted: Sat Sep 25, 2004 9:09 am
Post subject: Re: Disallowing access [Login to view extended thread Info.]
Archived from groups: per prev. post (more info?)

On 2004-09-24, kiwi <veino RemoveThis @bc.edu> wrote:
 > If I'm abc.com, can I protect my site?

Put their IP in your firewall.
Davide

--
Q: What does the CE in Windows CE stand for?
A: Caveat Emptor.<!-- ~MESSAGE_AFTER~ -->

 >> Stay informed about: Disallowing access 
Back to top
Login to vote
hans1

External


Since: Mar 29, 2004
Posts: 672



(Msg. 3) Posted: Sat Sep 25, 2004 3:49 pm
Post subject: Re: Disallowing access [Login to view extended thread Info.]
Archived from groups: per prev. post (more info?)

"Davide Bianchi" <davideyeahsure.TakeThisOut@onlyforfun.net> schreef in bericht
news:slrncla2sf.1ik.davideyeahsure@fogg.onlyforfun.net...
  >> On 2004-09-24, kiwi <veino.TakeThisOut@bc.edu> wrote:
  >> For example, say there's a site abc.com. Someone bought the domain name
  >> ab.com and, for some reason or another, made it so their page is simply
  >> a big frame that loads the content of abc.com.
  >> If I'm abc.com, can I protect my site?
 > Put their IP in your firewall.
IMHO that will only work if ab.com is _proxying_ abc.com

If ab.com is _framing_ abc.com, a rewriterule with a referer based condition
is commonly advised.
<a style='text-decoration: underline;' href="http://httpd.apache.org/docs-2.0/misc/rewriteguide.html#access" target="_blank">http://httpd.apache.org/docs-2.0/misc/rewriteguide.html#access</a>

Next, to trap even those clients set not to sent a referrer, one might use
client side j(ava)script on every html-file to rewrite the document if the
top and self frame are not equal...

HansH<!-- ~MESSAGE_AFTER~ -->
 >> Stay informed about: Disallowing access 
Back to top
Login to vote
emcook

External


Since: Sep 25, 2004
Posts: 2



(Msg. 4) Posted: Sat Sep 25, 2004 11:37 pm
Post subject: Re: Disallowing access [Login to view extended thread Info.]
Archived from groups: per prev. post (more info?)

I think saw the answer to your question on a website the other day but
don't remember where.

See if this helps.

<a style='text-decoration: underline;' href="http://www.chaosreigns.com/adventures/entry.php?date=2001-11-28&num=1" target="_blank">http://www.chaosreigns.com/adventures/entry.php?date=2001-11-28&num=1</a>


On Fri, 24 Sep 2004 14:14:58 -0400, kiwi <veino.DeleteThis@bc.edu> wrote:

 >Is there any way to disallow the server to send content to another
 >domain besides the main address?
 >
 >For example, say there's a site abc.com. Someone bought the domain name
 >ab.com and, for some reason or another, made it so their page is simply
 >a big frame that loads the content of abc.com.
 >
 >If I'm abc.com, can I protect my site?
 >
 >Thanks.<!-- ~MESSAGE_AFTER~ -->
 >> Stay informed about: Disallowing access 
Back to top
Login to vote
user2952

External


Since: Aug 29, 2004
Posts: 2



(Msg. 5) Posted: Sun Sep 26, 2004 9:22 am
Post subject: Re: Disallowing access [Login to view extended thread Info.]
Archived from groups: per prev. post (more info?)

"Eb" <emcook DeleteThis @yahoo.com> wrote in message
news:b93cl0d09ppl7kk8h5kfa1jr1oo4qf4dao@4ax.com...
 > I think saw the answer to your question on a website the other day but
 > don't remember where.
 >
 > See if this helps.
 >
<font color=purple> > <a style='text-decoration: underline;' href="http://www.chaosreigns.com/adventures/entry.php?date=2001-11-28&num=1</font" target="_blank">http://www.chaosreigns.com/adventures/entry.php?date=2001-11-28&num=1</font</a>>
 >
 >
 > On Fri, 24 Sep 2004 14:14:58 -0400, kiwi <veino DeleteThis @bc.edu> wrote:
 >
  > >Is there any way to disallow the server to send content to another
  > >domain besides the main address?
  > >
  > >For example, say there's a site abc.com. Someone bought the domain name
  > >ab.com and, for some reason or another, made it so their page is simply
  > >a big frame that loads the content of abc.com.
  > >
  > >If I'm abc.com, can I protect my site?
  > >
  > >Thanks.
 >
put this in the head of your document/template

<script>

if (parent.frames.length > 0) {
parent.location.href = self.document.location
}

</script>

rhis will break your page out of the frames<!-- ~MESSAGE_AFTER~ -->
 >> Stay informed about: Disallowing access 
Back to top
Login to vote
Display posts from previous:   
Related Topics:
FTP access - I cannot use virtualhosts in my config due to my router so am using: http://domain/userdir How do I allow ftp access for that user for their own specific directory? (If so, can you show an example) My 2 books don't show a lot of examples so I keep..

Access log? - Sorry if this is the wrong group, but it appears the most appropriate. I've noticed a couple of entries in my access log that look like this: 61.144.100.66 - - [31/Jul/2003:13:51:43 -0700] "GET http://www.alltheweb.com/ HTTP/1.1" 200 294 61...

Access Denied - Hi!I'm testing my site over my lan and i notice that user can show the content of all subdirectory! The site have a tree like this /Web | +---- cgi-bin | +---- utility | +---- Script | | | +---- Admin | ...

access.log Interpreter? - Are there any good access.log (interpreters) out there that you guys would reccomend. I need an application (open-source, preferable), that will display in meaningful fashion visitor information such as hits per day/month/year per page, etc. I need to....

stop access to .jpg - hi all can i use mod_rewrite to stop access at .jpg files only if this are called via browser? example: not visible http://www.xxxx.com/pics/xxxx.jpg visible <?php readdir('http://www.xxxx.com/pics/xxxx.jpg');?> thank you :)
   Web Hosting and Web Master Forums (Home) -> Apache All times are: Pacific Time (US & Canada) (change)
Page 1 of 1

 
You can post new topics in this forum
You can 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



[ Contact us | Terms of Service/Privacy Policy ]