Hi,
I'm fairly new to developing Web Applications (this being my first) and I need some help with a tricky problem.
I have a web application running on our intranet which queries a database every 30 seconds and displays the output in a Datagrid. I have set a password on the page using IIS and this all works fine.
However to further limit access it needs to only run on particular workstations. The trouble all the users will be going through Citrix via WinTerms. I need to restrict access down to a few specific WinTerms but I have no idea of how to extract the WinTerm name. I think it should be held as an environment variable on the Citrix Server under CLIENTNAME but I don't know how to extract this from a web application running on a different server.
I have so far managed to extract the RemoteHost IP of the Citrix Server but have got no further.
I wonder is there anyway of using this
System.Environment.GetEnvironmentVariable("COMPUTERNAME")
to extract info from the client rather than the server.
Any ideas?
I'm fairly new to developing Web Applications (this being my first) and I need some help with a tricky problem.
I have a web application running on our intranet which queries a database every 30 seconds and displays the output in a Datagrid. I have set a password on the page using IIS and this all works fine.
However to further limit access it needs to only run on particular workstations. The trouble all the users will be going through Citrix via WinTerms. I need to restrict access down to a few specific WinTerms but I have no idea of how to extract the WinTerm name. I think it should be held as an environment variable on the Citrix Server under CLIENTNAME but I don't know how to extract this from a web application running on a different server.
I have so far managed to extract the RemoteHost IP of the Citrix Server but have got no further.
I wonder is there anyway of using this
System.Environment.GetEnvironmentVariable("COMPUTERNAME")
to extract info from the client rather than the server.
Any ideas?