Slow page loads, possible security issue?

Discussion in 'ASP .Net Security' 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

    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 F. Brown, Oct 21, 2003
    1. Advertisements

  2. 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
    1. Advertisements

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
    Alireza Jahangard
    Feb 16, 2006
  2. Scott F. Brown

    Slow page loads, possible security issue?

    Scott F. Brown, Oct 21, 2003, in forum: ASP .Net
  3. Kathy Burke
    Kathy Burke
    Nov 24, 2003
  4. wizard04frms
    Oct 12, 2005
  5. abcd

    Application loads very slow !

    abcd, Mar 10, 2006, in forum: ASP .Net

Share This Page