how to send commands to 'localhost' on the IIS server....
-
here's a small dillema i have.. done for the sole purpose of security.. i have a modified version of a program called 'browseamp' which installs a mini web browser onto winamp. i also have iis running on that web server (standard port.. port 80).. i have browseamp running on port 81 but i have bound it to LOCALHOST only, which means it will accept calls ONLY from that local machine (so say, no one tries to flood port 81 and crashing winamp) .. i run a huge internet radio station and the goal is to get the dj's to start their own shows by using this browseamp plugin.. i already have the 'commands' to pass to the browseamp plugin, buti want, perhaps through asp, IIS to pass those to localhost:81 etc etc... how can i do this.. is this some kind of redirect fuction? .. remember this will be a client from the outside, accessing the iis server (Which does accept the outside connections) and then the IIS server calling the browseamp server on localhost:81 ... i'm confused, perplexed, and just dumbfounded by how i could do this. any help would be appreciated. thanks! michelle bassdrive.com
-
here's a small dillema i have.. done for the sole purpose of security.. i have a modified version of a program called 'browseamp' which installs a mini web browser onto winamp. i also have iis running on that web server (standard port.. port 80).. i have browseamp running on port 81 but i have bound it to LOCALHOST only, which means it will accept calls ONLY from that local machine (so say, no one tries to flood port 81 and crashing winamp) .. i run a huge internet radio station and the goal is to get the dj's to start their own shows by using this browseamp plugin.. i already have the 'commands' to pass to the browseamp plugin, buti want, perhaps through asp, IIS to pass those to localhost:81 etc etc... how can i do this.. is this some kind of redirect fuction? .. remember this will be a client from the outside, accessing the iis server (Which does accept the outside connections) and then the IIS server calling the browseamp server on localhost:81 ... i'm confused, perplexed, and just dumbfounded by how i could do this. any help would be appreciated. thanks! michelle bassdrive.com
You could create a COM component (ActiveX DLL) in Visual Basic, call it from your ASP pages, and have it internally the [Microsoft Internet Transfer Control](use http://msdn.microsoft.com/library/default.asp?url=/library/en-us/inet98/html/vbobjInternetControl.asp?frame=true)[[^](use http://msdn.microsoft.com/library/default.asp?url=/library/en-us/inet98/html/vbobjInternetControl.asp?frame=true "New Window")] to make the requests to localhost:81. OR (my preferred method) use ATL in C++ and the HTTP API[^] to create the component do it. -- ian
"The greatest danger to humanity is humanity without an open mind."
- Ian Mariano
http://www.ian-space.com/