window.open() with username and password

Discussion in 'Javascript' started by mamin, Jun 2, 2006.

  1. mamin

    mamin Guest

    I have the following problem: There's a shared folder on computer A,
    and on another one computer B in local network I'm trying to execute js
    code:
    window.open('\\\\computer_A\\shared_folder\\').
    All works properly if user of computer B is logged as user of the
    domain where computer A exists. But when the user is logged in "this
    computer" (not in domain), he doesn't have access rights to folder B.
    Of course, writing
    \\computer_A\shared_folder\
    in web browser will ask me about the password and user name, but when
    js script window.open() is executed it won't. So the result of
    executing window.open() function is exception. Anybody knows the way to
    foce window.open() to use logging form.
     
    mamin, Jun 2, 2006
    #1
    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. Arjen
    Replies:
    2
    Views:
    4,269
    Joe Fallon
    Apr 18, 2004
  2. AAaron123
    Replies:
    2
    Views:
    2,376
    AAaron123
    Jan 16, 2009
  3. AAaron123
    Replies:
    1
    Views:
    1,427
    Oriane
    Jan 16, 2009
  4. Shailesh Patel
    Replies:
    0
    Views:
    493
    Shailesh Patel
    Nov 8, 2006
  5. Sylvia
    Replies:
    3
    Views:
    218
    John Bokma
    Sep 3, 2005
Loading...

Share This Page