PDA

View Full Version : seeing your own web pages


rtwilson
Sep 29, 2009, 07:24 PM
HCAWeb allows for the possibility of displaying web pages made by HCA users.

in the My Documents directory there is a directory HCA\Web\Files. this directory is the "root" directory of HCAWeb in that any files in this directory or any sub-directory can be "seen" using HCAWeb and your browser.

For discussion, let's say that you have a security camera system that can place files in a directory. we would like to see these snapshots of the system cameras.

we create a directory "cameras" in the Files directory.

we then have the security system store the snapshots as cam1.jpg,cam2.jpg etc. in the Files/cameras directory.

at any time during your web session with hca you can change the URL to point to your files. for instance, to see camera 1 in the above example you would go from something like http://10.1.10.135:9955/HCAEXEC/0/1xxxxxx to http://10.1.10.135:9955/Files/cameras/cam1.jpg.

if you had a web page of your own that had the images named securecams.html, you could see that by http://10/1/10/135:9955/Files/cameras/securecams.html.

there are restrictions as to what can be in the web pages that mostly are involved with something called server side components....there arent any. the pages are simply streamed to the browser as found.

one last point is security using this method. the remote password is for control and access of your house design. there is no security applied to the user web pages at the hcaweb level.