My Intranet Website

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • DavidM

    My Intranet Website

    Hello - I have an Intranet website that our corporate users and customers
    access to pull up information on various things. I now have to publish
    content that should only be available to corporate users. I do not want to
    create another website or use host headers... there is no login page or
    anything today within the ASP pages.

    What is the best way for me to host content that only internal users can
    see?

    I thought about removing all NTFS permissions to the "private" directory
    where I plan on having web pages... thinking that IIS would prompt users
    when trying to access pages within this directory. For some reason, IIS
    still displays the page. I'm not sure what I'm missing.

    Does anyone have any ideas?


  • Evertjan.

    #2
    Re: My Intranet Website

    DavidM wrote on 18 sep 2004 in microsoft.publi c.inetserver.as p.general:
    [color=blue]
    > Hello - I have an Intranet website that our corporate users and
    > customers access to pull up information on various things. I now have
    > to publish content that should only be available to corporate users.
    > I do not want to create another website or use host headers... there
    > is no login page or anything today within the ASP pages.
    >
    > What is the best way for me to host content that only internal users
    > can see?
    >[/color]

    If others than internal uses can see it, it is not an intranet website.

    If you have internet and LAN access to your site, you can detect a local
    customer by his IP address.

    Try, depending on the LAN ip structure:

    <%
    ip = request.serverv ariables("remot e_addr")
    if ip < "168.192.0. 0" or ip > "168.192.255.25 5" then
    server.transfer "\404.asp"
    end if
    %>
    <html>
    .....


    Even better, use this code in an include file.

    not tested

    --
    Evertjan.
    The Netherlands.
    (Please change the x'es to dots in my emailaddress,
    but let us keep the discussions in the newsgroup)

    Comment

    • Jeff Cochran

      #3
      Re: My Intranet Website

      On Fri, 17 Sep 2004 20:51:40 -0500, "DavidM" <spam@spam.ne t> wrote:
      [color=blue]
      >Hello - I have an Intranet website that our corporate users and customers
      >access to pull up information on various things. I now have to publish
      >content that should only be available to corporate users. I do not want to
      >create another website or use host headers... there is no login page or
      >anything today within the ASP pages.
      >
      >What is the best way for me to host content that only internal users can
      >see?[/color]

      See:


      [color=blue]
      >I thought about removing all NTFS permissions to the "private" directory
      >where I plan on having web pages... thinking that IIS would prompt users
      >when trying to access pages within this directory. For some reason, IIS
      >still displays the page. I'm not sure what I'm missing.
      >
      >Does anyone have any ideas?[/color]

      Disable anonymous access.

      Jeff

      Comment

      • na

        #4
        Re: My Intranet Website

        Not really ASP related but...

        make sure you uncheck - allow annonymous access on the top folder of that
        tree..

        cheers

        "DavidM" <spam@spam.ne t> wrote in message
        news:%2384tcISn EHA.3900@TK2MSF TNGP10.phx.gbl. ..[color=blue]
        > Hello - I have an Intranet website that our corporate users and customers
        > access to pull up information on various things. I now have to publish
        > content that should only be available to corporate users. I do not want
        > to create another website or use host headers... there is no login page
        > or anything today within the ASP pages.
        >
        > What is the best way for me to host content that only internal users can
        > see?
        >
        > I thought about removing all NTFS permissions to the "private" directory
        > where I plan on having web pages... thinking that IIS would prompt users
        > when trying to access pages within this directory. For some reason, IIS
        > still displays the page. I'm not sure what I'm missing.
        >
        > Does anyone have any ideas?
        >
        >[/color]


        Comment

        Working...