Professional Web Applications Themes

ASP.Net, WebForms, JavaScript, and Security - ASP.NET General

"Bryan" <com> wrote in message news:016601c3659f$dc7f6dd0$gbl...  Bryan, what do you see on the client when you do a View Source? Is the <script> tag present? What kind of authentication are you using on the site? If it's windows authentication, then perhaps the anonymous user doesn't have access to the script file. Was the page was the page requested via an http: url? If so, then the script file also should have been requested via http:, since only the name is supplied. Check the IIS log file to see what IIS responded when the script file was requested. -- John Saunders ...

  1. #1

    Default Re: ASP.Net, WebForms, JavaScript, and Security

    "Bryan" <com> wrote in message
    news:016601c3659f$dc7f6dd0$gbl... 

    Bryan, what do you see on the client when you do a View Source? Is the
    <script> tag present?

    What kind of authentication are you using on the site? If it's windows
    authentication, then perhaps the anonymous user doesn't have access to the
    script file.

    Was the page was the page requested via an http: url? If so, then the script
    file also should have been requested via http:, since only the name is
    supplied. Check the IIS log file to see what IIS responded when the script
    file was requested.

    --
    John Saunders
    Internet Engineer
    com


    John Guest

  2. #2

    Default Re: ASP.Net, WebForms, JavaScript, and Security

    "Bryan" <com> wrote in message
    news:00bc01c365aa$d1b399c0$gbl... [/ref]
    > at 
    > >
    > >Bryan, what do you see on the client when you do a View[/ref]
    > Source? Is the 
    > it's windows 
    > have access to the 
    > so, then the script 
    > only the name is 
    > responded when the script 
    > ========
    > Thank you for your reply. We can communicate through e-
    > mail if it is easier. Here are my answers to your
    > questions.
    >
    > 1. View source shows the tags as I would expect to see
    > them: <LINK
    > href='\\<server>\data\sessioninfo\styles\style_<us erid>.css
    > ' type="text/css" rel="stylesheet">
    >
    > and
    >
    > <Script Language=javascript
    > src=\\<server>\data\sessioninfo\menus\menu_<userid >.js></sc
    > ript>[/ref]

    That's what I was afraid of. Why aren't you using an http:// url?

    If they client can't access those files from the command prompt without
    being logged in, then they won't be able to do so in the browser when not
    logged in.
     

    I mean, what is the setting in web.config under <authentication>?
     

    In IIS, right-click the web site and choose Properties from the menu. On the
    "Web site" tab, at the bottom, you'll see a checkbox to enable logging (make
    it checked), and a Properties button. Click the button and at the bottom of
    the "General Properties" tab, you'll see where the logs are stored. Note
    that times are usually GMT.
    --
    John Saunders
    Internet Engineer
    com



    John Guest

  3. #3

    Default Re: ASP.Net, WebForms, JavaScript, and Security

     [/ref][/ref]
    ignored [/ref][/ref]
    the 
    >> Source? Is the [/ref][/ref]
    If 
    >> have access to the [/ref][/ref]
    If 
    >> only the name is 
    >> responded when the script 
    >> ========
    >> Thank you for your reply. We can communicate through e-
    >> mail if it is easier. Here are my answers to your
    >> questions.
    >>
    >> 1. View source shows the tags as I would expect to see
    >> them: <LINK
    >>[/ref][/ref]
    href='\\<server>\data\sessioninfo\styles\style_<us erid>.css [/ref]
    src=\\<server>\data\sessioninfo\menus\menu_<userid >.js></sc 
    >
    >That's what I was afraid of. Why aren't you using an[/ref]
    http:// url? 
    prompt without 
    browser when not [/ref]
    the 
    >
    >I mean, what is the setting in web.config under[/ref]
    <authentication>? 
    >
    >In IIS, right-click the web site and choose Properties[/ref]
    from the menu. On the 
    enable logging (make 
    and at the bottom of 
    are stored. Note 
    =======

    Thanks. Changing to http url did it.

    Bryan Guest

Similar Threads

  1. CDONTS - WebForms - Pls Help
    By Bjarni in Paradise in forum ASP Components
    Replies: 3
    Last Post: February 5th, 04:48 PM
  2. Webforms and HotKeys
    By Shahram Khosraviani in forum ASP.NET General
    Replies: 0
    Last Post: July 15th, 11:56 PM
  3. Embedding Webforms
    By PsiMan in forum ASP.NET General
    Replies: 1
    Last Post: July 9th, 04:28 PM
  4. HELP - WebForms as HttpResponseHandlers
    By MD Cobb in forum ASP.NET General
    Replies: 0
    Last Post: June 27th, 04:24 PM
  5. WebForms as HttpResponseHandlers?
    By Marcus Cobb in forum ASP.NET General
    Replies: 0
    Last Post: June 27th, 02:37 AM

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not 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