Results 1 to 3 of 3
  1. #1
    New Lounger
    Join Date
    Jun 2001
    Location
    Orlando, FL
    Posts
    17
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Authentication inside of VBScript? (VB/VBScript)

    Hi to all -- hope this makes some sense ....

    I'm working on a project where a user will be sending an email with a special Subject line and possible text in the body of the email. The email will be read by an Outlook client, who (perhaps thru Outlook Rules) will cause any number of different VBScript programs to be executed. OK, no trouble so far ..... The trouble begins with the actual VBScript program. The code in certain scripts are accessing some areas of the network where higher network rights are needed. Since the VBScript is inheriting the rights of the Outlook client when running (this account has limited rights), the VBScript will error out on a rights access issue.

    So, my question is: Can someone come up with a way in code that I can change the authentication access such that the VBScript program will complete OK? I do not want to give the Outlook client any kind of Supervisor access. I keep thinking there must be some way to do this ...... Any help or guidance is appreciated!

    Oops -- environment is Win2K and Office2K.

    Thanks!

    Andrew Harrell
    vb Padawan Learner

  2. #2
    New Lounger
    Join Date
    Jun 2001
    Location
    Orlando, FL
    Posts
    17
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Re: Authentication inside of VBScript? (VB/VBScript)

    Hey, I understand. When I posed this to my boss, he also had BIG security concerns. What I was thinking of was that since I have certain Admin rights, whenever I send an e-mail triggering a script to run, I wanted it to have MY rights to run, and not the default rights of the service that read the e-mail .... Long story, won't bore you w/details, but suffice to say that I have to go another route and see about how to authenticate e-mail senders ......

    Thanks for the reply anyway!

    Andrew

  3. #3
    Gold Lounger
    Join Date
    Dec 2000
    Location
    Hollywood (sorta), California, USA
    Posts
    2,759
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Re: Authentication inside of VBScript? (VB/VBScript)

    You could have the script execute on a web server. Without knowing what your script does, though, it's difficult to say if this would be satisfactory.

    But, if there's a way for a user to execute a script that changes server permissions, we're in big trouble.

    I wouldn't post that code if I had it...
    Kevin <IMG SRC=http://www.wopr.com/w3tuserpics/Kevin_sig.gif alt="Keep the change, ya filthy animal...">
    <img src=/w3timages/blackline.gif width=33% height=2><img src=/w3timages/redline.gif width=33% height=2><img src=/w3timages/blackline.gif width=33% height=2>

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •