Windows Vista Tips

Windows Vista Tips > Newsgroups > Windows Server > Re: Safest Way to Invoke Remote Script Synchronously

Reply
Thread Tools Display Modes

Re: Safest Way to Invoke Remote Script Synchronously

 
 
Roger Abell [MVP]
Guest
Posts: n/a

 
      09-12-2007
"Will" <westes-> wrote in message
news: ...
> What is the safest way to invoke a script remotely on a Windows host
> synchronously, and retrieving a return code to the caller at program
> termination?
>
> Because the target system is in a no man's land, I do not want to open up
> RPC port, and God forbid with have to involve the abomination that is
> DCOM. I want something extremely simple and special purpose, with good
> authentication features on the program server.
>
> What are my options? Commercial software is okay.
>


Will

Is that a preplaced script, or ad hoc capability?
Do you have identified issues with .Net remoting ?
http://google.com/search?q=.net+remoting+authentication

Roger



 
Reply With Quote
 
 
 
 
Roger Abell [MVP]
Guest
Posts: n/a

 
      09-14-2007
"Will" <westes-> wrote in message
news: ...
> "Roger Abell [MVP]" <> wrote in message
> news:...
>> "Will" <westes-> wrote in message
>> news: ...
>> > What is the safest way to invoke a script remotely on a Windows host
>> > synchronously, and retrieving a return code to the caller at program
>> > termination?
>> >
>> > Because the target system is in a no man's land, I do not want to open

> up
>> > RPC port, and God forbid with have to involve the abomination that is
>> > DCOM. I want something extremely simple and special purpose, with good
>> > authentication features on the program server.
>> >
>> > What are my options? Commercial software is okay.
>> >

>>
>> Will
>>
>> Is that a preplaced script, or ad hoc capability?
>> Do you have identified issues with .Net remoting ?
>> http://google.com/search?q=.net+remoting+authentication

>
> Hi Roger. Yes, it would be a set of two preplaced scripts on the remote
> host.
>
> I don't want RPC or DCOM ports open on an Internet exposed computer, even
> with a firewall restriction on who gets to those paths.
>
> I find the number and types of objects listed in DCOMCNFG to be utterly
> incomprehensible. The number of objects, how they are used by remote
> users, and how to secure them, would take an army of security experts 10
> years to figure out. Forgive me but I want something stupid, simple, and
> virtually impossible to defeat without substantial resources. I just
> don't
> have the time or the resource to mess with that.
>


Understood from your first posting Will, but who said DCOM ?
I was speaking of a communication within SSL.

Roger


 
Reply With Quote
 
Roger Abell [MVP]
Guest
Posts: n/a

 
      09-16-2007
"Will" <westes-> wrote in message
news:sb6dnRgs-qE-...
> "Roger Abell [MVP]" <> wrote in message
> news:...
>> "Will" <westes-> wrote in message
>> news: ...
>>> "Roger Abell [MVP]" <> wrote in message
>>> news:...
>>>> "Will" <westes-> wrote in message
>>>> news: ...
>>>> > What is the safest way to invoke a script remotely on a Windows host
>>>> > synchronously, and retrieving a return code to the caller at program
>>>> > termination?
>>>> >
>>>> > Because the target system is in a no man's land, I do not want to
>>>> > open
>>> up
>>>> > RPC port, and God forbid with have to involve the abomination that is
>>>> > DCOM. I want something extremely simple and special purpose, with
>>>> > good authentication features on the program server.
>>>> >
>>>> > What are my options? Commercial software is okay.
>>>> >
>>>>
>>>> Will
>>>>
>>>> Is that a preplaced script, or ad hoc capability?
>>>> Do you have identified issues with .Net remoting ?
>>>> http://google.com/search?q=.net+remoting+authentication
>>>
>>> Hi Roger. Yes, it would be a set of two preplaced scripts on the
>>> remote
>>> host.
>>>
>>> I don't want RPC or DCOM ports open on an Internet exposed computer,
>>> even
>>> with a firewall restriction on who gets to those paths.
>>>
>>> I find the number and types of objects listed in DCOMCNFG to be utterly
>>> incomprehensible. The number of objects, how they are used by remote
>>> users, and how to secure them, would take an army of security experts 10
>>> years to figure out. Forgive me but I want something stupid, simple,
>>> and
>>> virtually impossible to defeat without substantial resources. I just
>>> don't
>>> have the time or the resource to mess with that.
>>>

>>
>> Understood from your first posting Will, but who said DCOM ?
>> I was speaking of a communication within SSL.

>
> As long as we are willing to rewrite the scripts in .NET, I guess this
> works. The scripts already exist as VBScript. Do you know if
> someone has already written a command line tool and server that use this
> interface but present it with a higher abstraction that would let you
> submit commands to execute remotely?
>

I was mostly considering the ad hoc capabilities of remoting, as you
do now with the added mention of a service I'll assume. The script
as a start is largely there, some syntax tweaks and new objects, chance
at basic design adjustment, etc.. How much do you plan to invest is at
some point the point. If only limited ad hoc & on the moment is needed a
simple service that can be authenticated by a means at your SQL server
satisfies.
You might find more in webservices by way of popular samples for
ways to trigger processing on the remote system, or of sending/receiving
work queue items to/at (at/to ?) the service. But really a language of few
action commands emitted by SQL when the service fires a proc is all you
really need (w/ authN handled).

Roger


 
Reply With Quote
 
 
 
Reply

Thread Tools
Display Modes

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
SNMP Service hang Giangi Windows Server 2 11-13-2006 08:20 AM
Re: Batch ntbackup to external hard drives (new version - Sept 2006) David Derkits Windows Server 1 09-09-2006 09:47 PM
remote assistance error Jim Windows Server 0 04-18-2005 06:04 PM
Remote Shutdown Batch Script Dave Leonardi Windows Server 2 10-25-2004 12:08 AM
remote access/vpn/intranet? rizz Windows Server 2 10-16-2004 03:35 AM



1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59