<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>Terminal Services Log - Blog &#187; Windows2008</title>
	<atom:link href="http://www.terminalserviceslog.com/blog/index.php/category/windows2008/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.terminalserviceslog.com/blog</link>
	<description></description>
	<lastBuildDate>Wed, 30 Nov 2011 15:08:17 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.2.1</generator>
		<item>
		<title>Windows 2008 Terminal Services RemoteApp user or group filtering &#8211; Part 1</title>
		<link>http://www.terminalserviceslog.com/blog/index.php/2009/06/30/windows-2008-terminal-services-remoteapp-user-or-group-filtering-part-1/</link>
		<comments>http://www.terminalserviceslog.com/blog/index.php/2009/06/30/windows-2008-terminal-services-remoteapp-user-or-group-filtering-part-1/#comments</comments>
		<pubDate>Tue, 30 Jun 2009 16:25:00 +0000</pubDate>
		<dc:creator>Frane Borozan</dc:creator>
				<category><![CDATA[remoteApp]]></category>
		<category><![CDATA[Windows2008]]></category>
		<category><![CDATA[filteriing]]></category>
		<category><![CDATA[how to]]></category>
		<category><![CDATA[publishing]]></category>

		<guid isPermaLink="false">http://www.terminalserviceslog.com/blog/?p=135</guid>
		<description><![CDATA[<p>The most wanted feature for Windows 2008 Terminal Services is RemoteApp user filtering. You don&#8217;t want all users to see all applications on the web portal. This feature will probably be released in Windows Server 2008 R2 but till then, you are out of luck.</p>
<p>Citrix Web Access and Grouping allows Citrix users to do the same, but this article I am going to focus on Window 2008 Terminal Services. I am going to describe how you could publish certain application to specific users or groups via RDP files.</p>
<p>To control published applications you could deploy:</p>
<ul>
<li>MSI files via GPO or</li>
<li>or simply inform&#8230;</li></ul>]]></description>
			<content:encoded><![CDATA[<p>The most wanted feature for Windows 2008 Terminal Services is RemoteApp user filtering. You don&#8217;t want all users to see all applications on the web portal. This feature will probably be released in Windows Server 2008 R2 but till then, you are out of luck.</p>
<p>Citrix Web Access and Grouping allows Citrix users to do the same, but this article I am going to focus on Window 2008 Terminal Services. I am going to describe how you could publish certain application to specific users or groups via RDP files.</p>
<p>To control published applications you could deploy:</p>
<ul>
<li>MSI files via GPO or</li>
<li>or simply inform end users about RDP files they need to run</li>
</ul>
<p>MSI approach works OK in the domains but in case you do not have a domain or you do not know how to configure group policies you will have to use RDP files. Distributing RDP files to your users might be a tricky business as these change over time and it might be too complicated to make sure everyone has the latest version.</p>
<h2>
<div>Publishing files to a centralized portal</div>
</h2>
<div>The easiest way to redistribute RDP files is to place these on the server (centralized portal). By default IIS does not support RDP file name extension. To solve this problem simply add the RDP extension in the MIME Types on the IIS server.</div>
<div>Follow these steps:</div>
<div>
<ol>
<li>Navigate to the IIS manager</li>
<li>Select your website</li>
<li>Find MIME Types</li>
<li>Add RDP extension in the following format (File name Extension:  .rdp ; MIME type: application/rdp)</li>
</ol>
<p style="text-align: center;"><img class="size-full wp-image-139  aligncenter" title="iis-configuration" src="http://www.terminalserviceslog.com/blog/wp-content/uploads/2009/06/iis-configuration.png" alt="iis-configuration" width="306" height="173" /></p>
</div>
<p>Now you are ready to deploy your RDP files from Program Files &gt; Packed Programs (note you will need to create .rdp file in TS RemoteApp Manager for every published application) to root or some virtual directories on the IIS server.</p>
<p>In order to run the application go to the <strong>http://yourservername/application123.rdp</strong> or <strong>http://remoteapp.yourdomain.com/application123.rdp</strong> and you will be able to start the published application.</p>
<h2>Configuring Portal Security</h2>
<p style="text-align: center;">
<div id="attachment_136" class="wp-caption aligncenter" style="width: 410px"><img class="size-full wp-image-150 " title="all-users-on-a-single-portal2" src="http://www.terminalserviceslog.com/blog/wp-content/uploads/2009/06/all-users-on-a-single-portal2.png" alt="all-users-on-a-single-portal2" width="400" height="318" align="center" /><br />
<p class="wp-caption-text">Problem: All applications are visible to the entire organization</p></div>
<p>When your RDP files are published to the server this might be a problem. Now every employee can connect to your server and run any RDP file you posted there.</p>
<p>In order to allow only a group of users to run an applications you will have to divide your applications to different subportals (virtual directories). As an example I created the following subportals:</p>
<ul>
<li>http://yourservername/sales</li>
<li>http://yourservername/support</li>
<li>http://yourservername/management</li>
</ul>
<p>These portals will be used by different groups of people. Each portal will contain different set applications as on picture below.</p>
<p style="text-align: center;"><img class="aligncenter size-full wp-image-151" title="multiple-portals2" src="http://www.terminalserviceslog.com/blog/wp-content/uploads/2009/06/multiple-portals2.png" alt="multiple-portals2" width="400" height="361" /></p>
<p class="MsoNormal">In order to secure your applications you will need configure security for these virtual folders. <span> </span>I have been using Basic Authentication but you may forms authentication, windows authentication or other.</p>
<p class="MsoNormal">When a user opens the <strong>http:// servername/management </strong>he(she) will be prompted for a username and password.</p>
<p class="MsoNormal" style="text-align: center;"><img class="size-full wp-image-142  aligncenter" title="image5" src="http://www.terminalserviceslog.com/blog/wp-content/uploads/2009/06/image5.png" alt="image5" width="326" height="347" /></p>
<p class="MsoNormal">Upon authentication the following screen will be shown to him:</p>
<p class="MsoNormal"><span> </span></p>
<p class="MsoNormal" style="text-align: center;"><img class="size-full wp-image-138  aligncenter" title="final-look" src="http://www.terminalserviceslog.com/blog/wp-content/uploads/2009/06/final-look.png" alt="final-look" width="409" height="407" /></p>
<p class="MsoNormal">So what&#8217;s shown at the picture above? It is a customized TSWeb Access portal that shows the list of applications you are allowed to use. In the next post I am going to <a href="http://www.terminalserviceslog.com/blog/index.php/2009/06/30/windows-2008-terminal-services-remoteapp-user-or-group-filtering-part-1/">describe how to build one on your own</a>.</p>
<h2>Conclusion</h2>
<p class="MsoNormal">Currently you cannot filter published applications by particular users. To overcome that limitation I created an RDP file for each published application and deployed these to a custom portal on your IIS. This method allows you to easily filter application by group or user.</p>
<p><a href="http://www.terminalserviceslog.com/blog/index.php/2009/06/30/windows-2008-terminal-services-remoteapp-user-or-group-filtering-part-1/">In the next post </a>I am going to describe how to build this portal step-by-step.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.terminalserviceslog.com/blog/index.php/2009/06/30/windows-2008-terminal-services-remoteapp-user-or-group-filtering-part-1/feed/</wfw:commentRss>
		<slash:comments>4</slash:comments>
		</item>
	</channel>
</rss>

