Home All Groups Group Topic Archive Search About

Restricting access from my site to other sites

Author
7 Mar 2009 9:11 AM
Pinakee
I have my website hosted on IIS 6.0.
I want to restrict access from my site to other sites.
For Example, in IIS Configuration for the website, suppose I want to
restrict redirection to www.hotmail.com and www.yahoo.com.
Is this possible ? If not, is there any work around ?

Author
8 Mar 2009 9:05 AM
Grant Taylor
On 3/7/2009 3:11 AM, Pinakee wrote:
> I want to restrict access from my site to other sites.

Are you wanting to prevent other sites (IP networks) from being able to
get to your (web) site?

> For Example, in IIS Configuration for the website, suppose I want to
> restrict redirection to www.hotmail.com and www.yahoo.com.

Are you wanting to configure IIS so that it will not serve up redirects
to some sites (Hotmail / Yahoo / etc.)?

> Is this possible ? If not, is there any work around ?

I'm not sure what you are trying to accomplish, please try re-asking the
question differently or with examples of what is happening that you want
to not happen or happen in a different way.



Grant. . . .
Author
9 Mar 2009 11:06 AM
Pinakee
Hi Grant,

   No, I am not trying to prevent other sites (IP networks) from being able
to get to my (web) site.

   But, the reverse way.

   That means, none of my pages which may be in aspx, asp  or having client
side scripts in them should be able to execute scripts of other sites such as
"http://armsart.com/h.js".

   I will be specifying the sites which can be allowed the access and only
those to have the access.



Show quoteHide quote
"Grant Taylor" wrote:

> On 3/7/2009 3:11 AM, Pinakee wrote:
> > I want to restrict access from my site to other sites.
>
> Are you wanting to prevent other sites (IP networks) from being able to
> get to your (web) site?
>
> > For Example, in IIS Configuration for the website, suppose I want to
> > restrict redirection to www.hotmail.com and www.yahoo.com.
>
> Are you wanting to configure IIS so that it will not serve up redirects
> to some sites (Hotmail / Yahoo / etc.)?
>
> > Is this possible ? If not, is there any work around ?
>
> I'm not sure what you are trying to accomplish, please try re-asking the
> question differently or with examples of what is happening that you want
> to not happen or happen in a different way.
>
>
>
> Grant. . . .
>
Author
9 Mar 2009 12:02 PM
Daniel Crichton
Handling external references in xHTML is done by the browser, not your
server - a request for a page that includes external references will never
have those external references passed back to your server, the browser
itself will connect to the external URL.

If you want to stop external references in xHTML output (including output
from server side scripts) then you'll need to look at implementing a filter
of some kind to look for restricted URLs in the outgoing data to the browser
and change/remove/block as required. If you are using a CMS you could look
to see if that has a filtering system to prevent users from entering any
tags that reference external files.

Dan

Pinakee wrote  on Mon, 9 Mar 2009 04:06:01 -0700:

Show quoteHide quote
> Hi Grant,

>    No, I am not trying to prevent other sites (IP networks) from being
> able  to get to my (web) site.

>    But, the reverse way.

>    That means, none of my pages which may be in aspx, asp  or having
> client  side scripts in them should be able to execute scripts of other
> sites such as  "http://armsart.com/h.js".

>    I will be specifying the sites which can be allowed the access and
> only  those to have the access.



> "Grant Taylor" wrote:

>> On 3/7/2009 3:11 AM, Pinakee wrote:
>>> I want to restrict access from my site to other sites.

>> Are you wanting to prevent other sites (IP networks) from being able
>> to  get to your (web) site?

>>> For Example, in IIS Configuration for the website, suppose I want to
>>> restrict redirection to www.hotmail.com and www.yahoo.com.

>> Are you wanting to configure IIS so that it will not serve up
>> redirects  to some sites (Hotmail / Yahoo / etc.)?

>>> Is this possible ? If not, is there any work around ?

>> I'm not sure what you are trying to accomplish, please try re-asking
>> the  question differently or with examples of what is happening that
>> you want  to not happen or happen in a different way.



>> Grant. . . .