How connecting a ActiveX-Object on server with authentication

Discussion in 'ASP General' started by DanC, Jan 29, 2005.

  1. DanC

    DanC Guest

    How connecting a ActiveX-Object on server with authentication.

    Situation.
    ASP-aplication calling a JScript-script.
    It has to do with permissions because the script run correct on the server.
    So who to authenticate as administrator in a script.

    The sollution can be to connect a ActiveXObject with authentication like
    a ADSI-object. But how?

    ADSI
    var adsNamespace = GetObject("LDAP:");
    var grp =adsNamespace.OpenDSObject("LDAP://cn=" +
    groepNameTeachersDS,admin,password,0);

    ActiveXObject
    var fs = new ActiveXObject("Scripting.FileSystemObject");
    scut = fs.GetFile(folderTeachersDS + "\\" + naam + ".lnk");
    ....
    Any tips?
    Greets
    DanC
     
    DanC, Jan 29, 2005
    #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. Replies:
    0
    Views:
    929
  2. Replies:
    2
    Views:
    418
  3. vml
    Replies:
    0
    Views:
    1,093
  4. Mark
    Replies:
    1
    Views:
    175
    Alek Davis
    Jan 21, 2004
  5. reddy
    Replies:
    0
    Views:
    153
    reddy
    Sep 12, 2003
Loading...

Share This Page