• Authentication inside of VBScript? (VB/VBScript)

    Home » Forums » AskWoody support » Productivity software by function » Visual Basic for Applications » Authentication inside of VBScript? (VB/VBScript)

    Author
    Topic
    #377387

    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

    Viewing 0 reply threads
    Author
    Replies
    • #621550

      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…

      • #621606

        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

    Viewing 0 reply threads
    Reply To: Authentication inside of VBScript? (VB/VBScript)

    You can use BBCodes to format your content.
    Your account can't use all available BBCodes, they will be stripped before saving.

    Your information: