Slow page loads, possible security issue?

Discussion in 'ASP .Net' started by Scott F. Brown, Oct 21, 2003.

  1. Hello all,

    I am attempting to work on a project for work at home and I'm experiencing
    extremely slow page loads. These are pages that work fine in the office but
    when I try to work on the project at home on my laptop, the pages take
    upwards of 100+ seconds to load. I will try to give all the pertinent info
    below. I think it is probably a security issue which is why I am cross
    posting.

    My laptop is acting as my web server. I am using DSL to access the
    corporate network thru VPN. The site uses Windows auth, no anonymous
    authentication is allowed. The problem occurs between the
    PreRequestHandlerExecute and the PostRequestHandlerExecute. Like I said, a
    delay of at least 100 seconds. I am thinking that maybe it attempts to
    authenticate using one method to the corporate network and times out, then
    goes to another method and succeeds. Here is some more info... using 1.0
    framework. XP Pro, IE6.0. Once again, the only reason it is going back to
    the corporate network is to authenticate.

    When I run this on my desktop(with the desktop acting as the webserver) at
    work, it has absolutely no problems. The only major difference between what
    I have in the office, and what I have at home is going through VPN.

    Anyone able to help me with this? I am the first to admit that security
    is one of my weaker areas so any help would be greatly appreciated. If you
    need more info, let me know...

    Scott
     
    Scott F. Brown, Oct 21, 2003
    #1
    1. Advertising

  2. Scott F. Brown

    Guest

    Answering my own post here....

            The problem was a call to IsInRole.  The code checks the local machine to see if the authorized user is a member of a particular users group.  That group was not on the local box and it seems like rather than causing an exception, it just timed out.  There may also be a problem with connecting to the RPC server that I'm not going to worry about at this time.  So, what I did to get around the problem was to put in precompiler #if/else  to return true on the security check if in debug mode.  For my situation, this is an acceptable work around to get me back up and running.
     
    , Oct 22, 2003
    #2
    1. Advertising

Want to reply to this thread or ask your own question?

It takes just 2 minutes to sign up (and it's free!). Just click the sign up button to choose a username and then you can ask your own questions on the forum.
Similar Threads
  1. Alireza Jahangard

    Browser loads my app very slow in LAN

    Alireza Jahangard, Feb 15, 2006, in forum: ASP .Net
    Replies:
    2
    Views:
    1,356
    Alireza Jahangard
    Feb 16, 2006
  2. Kathy Burke
    Replies:
    3
    Views:
    412
    Kathy Burke
    Nov 24, 2003
  3. wizard04frms
    Replies:
    6
    Views:
    1,804
    wizard04frms
    Oct 12, 2005
  4. abcd

    Application loads very slow !

    abcd, Mar 10, 2006, in forum: ASP .Net
    Replies:
    0
    Views:
    430
  5. Scott F. Brown

    Slow page loads, possible security issue?

    Scott F. Brown, Oct 21, 2003, in forum: ASP .Net Security
    Replies:
    1
    Views:
    162
Loading...

Share This Page