Page level, IP based security...

Ask a Question related to ASP.NET General, Design and Development.

  1. #1

    Default Page level, IP based security...

    I have a Web Project containing two WebForms and one WebService.
    What's the best way to limit who is able to access those three items?
    I want the first WebForm to only be accessible by locahost, the WebService
    to only be accessible by a certain predefined IP and the second WebForm to
    be accessible by anyone.

    I could look at Request.UserHostAddress in the Page_Load events of my pages,
    but I would prefer to manage access in a more centralised location higher up
    the tree.
    Is Application_BeginRequest an appropriate place to be doing this?


    Nathan


    Nathan Baulch Guest

  2. Similar Questions and Discussions

    1. Redirect after login based on Access Level
      Hi All I have been working through the tutorial on http://dmxzone.com/showDetail.asp?TypeId=28&NewsId=7645 to try and work out how to redirect a...
    2. Folder level security Differences in Reader 8.0 && 9.0
      Does the following message mean that my users will need to all be running on Acrobat Reader 9.0 ? I have some javascripts that work in Acrobat 9.0...
    3. Forms-Based Security below Application Level
      If I have a site where I want to use Forms-Based security but only on one or two SUB-directories of the Application root, I'm confused about how...
    4. Applying security at folder level using forms authentication
      Hi I have two folders in the .net application,one can be accessed by everyone adn the other needs to be accessed only through submitting login and...
    5. Page Level role-based authentication
      I've set up and managed to use ASP.NET role-based authentication. I find the automatic checking and redirecting for unauthorized pages really...
  3. #2

    Default Re: Page level, IP based security...

    You can configure the permitted IP addresses within IIS.

    --
    I hope this helps,
    Steve C. Orr, MCSD
    [url]http://Steve.Orr.net[/url]


    "Nathan Baulch" <nathan.baulch@microsell.com.au> wrote in message
    news:OzsIvYyTDHA.2280@TK2MSFTNGP10.phx.gbl...
    > I have a Web Project containing two WebForms and one WebService.
    > What's the best way to limit who is able to access those three items?
    > I want the first WebForm to only be accessible by locahost, the WebService
    > to only be accessible by a certain predefined IP and the second WebForm to
    > be accessible by anyone.
    >
    > I could look at Request.UserHostAddress in the Page_Load events of my
    pages,
    > but I would prefer to manage access in a more centralised location higher
    up
    > the tree.
    > Is Application_BeginRequest an appropriate place to be doing this?
    >
    >
    > Nathan
    >
    >

    Steve C. Orr, MCSD Guest

  4. #3

    Default Re: Page level, IP based security...

    > You can configure the permitted IP addresses within IIS.

    On a page by page basis?


    Nathan Baulch Guest

Posting Permissions

  • You may not post new threads
  • You may post replies
  • You may not post attachments
  • You may not edit your posts

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139