Here is a copy of some code I would like to partially hide.
<script language="JavaScript">
<!--
if ((navigator.appName == "Microsoft Internet Explorer"
&&(navigator.platform != "MacPPC"
)
{
document.write("<OBJECT ID=\"VAMCtrl\" WIDTH=330 HEIGHT=270"
;
document.write(" CLASSID=CLSID:85AC0EFC-2CA1-4C1C-82AE-5C31184A13EF"
;
document.write(" CODEBASE=\" document.write("<PARAM NAME=\"Url\" VALUE=\" document.write("<PARAM NAME=\"VSize\" VALUE=\"CMS\">"
;
document.write("<PARAM NAME=\"RemoteIP\" VALUE=\"-578877760\">"
;
document.write("<PARAM NAME=\"RemotePort\" VALUE=\"5001\">"
;
document.write("<PARAM NAME=\"RemoteID\" VALUE=\"4172\">"
;
document.write("</OBJECT>"
;
}
//-->
</script>
How do I hide the HTTP portions of the above code? Is this possible? We are currently using a D-Link web cam and I can't turn off the default web pages it ships with. I would like to keep someone from just browsing to this address and viewing the information. Currently we force users through a login page, but once they are there, they will be able to see where our web cam is actually located.
Any help or suggestions are appreciated!
Thanks,
John
<script language="JavaScript">
<!--
if ((navigator.appName == "Microsoft Internet Explorer"
{
document.write("<OBJECT ID=\"VAMCtrl\" WIDTH=330 HEIGHT=270"
document.write(" CLASSID=CLSID:85AC0EFC-2CA1-4C1C-82AE-5C31184A13EF"
document.write(" CODEBASE=\" document.write("<PARAM NAME=\"Url\" VALUE=\" document.write("<PARAM NAME=\"VSize\" VALUE=\"CMS\">"
document.write("<PARAM NAME=\"RemoteIP\" VALUE=\"-578877760\">"
document.write("<PARAM NAME=\"RemotePort\" VALUE=\"5001\">"
document.write("<PARAM NAME=\"RemoteID\" VALUE=\"4172\">"
document.write("</OBJECT>"
}
//-->
</script>
How do I hide the HTTP portions of the above code? Is this possible? We are currently using a D-Link web cam and I can't turn off the default web pages it ships with. I would like to keep someone from just browsing to this address and viewing the information. Currently we force users through a login page, but once they are there, they will be able to see where our web cam is actually located.
Any help or suggestions are appreciated!
Thanks,
John