Velocity Reviews - Computer Hardware Reviews

Velocity Reviews > Newsgroups > Programming > Javascript > window.open() with username and password

Reply
Thread Tools

window.open() with username and password

 
 
mamin
Guest
Posts: n/a
 
      06-02-2006
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.

 
Reply With Quote
 
 
 
Reply

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Change a users password without knowing the old password nor the answer to the password question AAaron123 ASP .Net 1 01-16-2009 02:56 PM
Changing a users password without knowing the old password nor the answer to the password question AAaron123 ASP .Net 2 01-16-2009 02:08 PM
loginview control displays network username instead of (web) username Shailesh Patel ASP .Net Web Controls 0 11-08-2006 08:19 PM
automatic fill in username and password ngoc Firefox 0 09-27-2005 04:46 PM
Change the username found in "C:\Documents and Settings\Username" The Reluctant Robot Named Jude Computer Support 1 05-05-2004 07:11 AM



Advertisments