Web Based Commands Feature

2 views
Skip to first unread message

VZGuy

unread,
Jan 11, 2007, 4:25:55 PM1/11/07
to AlarmTraq
I like the addition of issuing commands via the web interface. However,
it would be nice if it would required a login/password. To prevent
access by anyone that can reach the web service.
Can this be disabled?

jim

unread,
Jan 11, 2007, 6:37:59 PM1/11/07
to AlarmTraq
If you open the "\Web\SendCommands.asp" file using Notepad, and remove
the ' character from the begining of lines 6 through 16 you will be
redirected to the Logon.asp page where you will need to enter a
username (default: cust) and password (default: 1234) before access to
the SendCommands.asp page is allowed. This is also true for the
\Web\AlarmTraq.asp page as well.

__________________________________________________________________
Remove the ' character from the begining of the following lines:

'Validated = "OK"
'if Request.Cookies("ValidUser") <> Validated then
' dim s
' s = "https://"
' s = s & Request.ServerVariables("HTTP_HOST")
' s = s & Request.ServerVariables("URL")
' if Request.QueryString.Count > 0 THEN
' s = s & "?" & Request.QueryString
' end if
' Response.Redirect "Logon.asp?from=" &Server.URLEncode(s)
'End if
_________________________________________________________________

Hope this helps.

Jim

VZGuy

unread,
Jan 12, 2007, 5:29:13 PM1/12/07
to AlarmTraq
Thanks Jim.. like a charm.

Reply all
Reply to author
Forward
0 new messages