<?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/"
	xmlns:georss="http://www.georss.org/georss" xmlns:geo="http://www.w3.org/2003/01/geo/wgs84_pos#" xmlns:media="http://search.yahoo.com/mrss/"
	>

<channel>
	<title>BlackBerry Developer Blog &#187; it-policy</title>
	<atom:link href="http://devblog.blackberry.com/tag/it-policy/feed/" rel="self" type="application/rss+xml" />
	<link>http://devblog.blackberry.com</link>
	<description></description>
	<lastBuildDate>Wed, 22 May 2013 19:49:17 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.com/</generator>
<cloud domain='devblog.blackberry.com' port='80' path='/?rsscloud=notify' registerProcedure='' protocol='http-post' />
<image>
		<url>http://1.gravatar.com/blavatar/9ef0a66c09615fa946c4179662398878?s=96&#038;d=http%3A%2F%2Fs2.wp.com%2Fi%2Fbuttonw-com.png</url>
		<title>BlackBerry Developer Blog &#187; it-policy</title>
		<link>http://devblog.blackberry.com</link>
	</image>
	<atom:link rel="search" type="application/opensearchdescription+xml" href="http://devblog.blackberry.com/osd.xml" title="BlackBerry Developer Blog" />
	<atom:link rel='hub' href='http://devblog.blackberry.com/?pushpress=hub'/>
		<item>
		<title>Explaining BlackBerry Security for Developers: Application Control</title>
		<link>http://devblog.blackberry.com/2009/09/explaining-blackberry-security-for-developers-application-control/</link>
		<comments>http://devblog.blackberry.com/2009/09/explaining-blackberry-security-for-developers-application-control/#comments</comments>
		<pubDate>Mon, 28 Sep 2009 17:39:01 +0000</pubDate>
		<dc:creator>Brian Z.</dc:creator>
				<category><![CDATA[How-to]]></category>
		<category><![CDATA[Interviews/Thought Leadership]]></category>
		<category><![CDATA[API]]></category>
		<category><![CDATA[application-control]]></category>
		<category><![CDATA[BES]]></category>
		<category><![CDATA[it-policy]]></category>
		<category><![CDATA[ReasonProvider]]></category>
		<category><![CDATA[Security]]></category>

		<guid isPermaLink="false">http://blackberrydev.edstaging.com/?p=380</guid>
		<description><![CDATA[In part one of our three-part series on BlackBerry® security, we discussed the nuances of enterprise IT policy. Today, we&#8217;ll discuss application control. In contrast to IT policy, which IT administrators use to manage and control employee use of BlackBerry smartphones, application control refers to a security setting that can be managed by the end-user and/or the [&#8230;]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=devblog.blackberry.com&#038;blog=17235680&#038;post=380&#038;subd=rimdevblog&#038;ref=&#038;feed=1" width="1" height="1" />]]></description>
				<content:encoded><![CDATA[<p><img src="http://rimdevblog.files.wordpress.com/2009/09/original-317.jpg?w=480&#038;h=320" alt="" title="Explaining BlackBerry Security for Developers: Application Control" width="480" height="320" class="aligncenter size-full wp-image-5866" /></p>
<p style="text-align:left;">In part one of our three-part series on BlackBerry® security, we discussed the nuances of <a title="enterprise IT policy" href="http://supportforums.blackberry.com/t5/BlackBerry-Developer-s-Blog/Explaining-BlackBerry-Security-for-Developers-IT-Policy/ba-p/338714#A142" target="_blank">enterprise IT policy</a>. Today, we&#8217;ll discuss application control.</p>
<p style="text-align:left;">In contrast to IT policy, which IT administrators use to manage and control employee use of BlackBerry smartphones, <strong>application control refers to a security setting that can be managed by the end-user and/or the IT administrator (if the user is connected to a BlackBerry Enterprise Server) that defines application behavior on BlackBerry® smartphones.</strong>Specifically, application control allows IT administrators to define whether or not applications can make network connections, play media, access the BlackBerry® Calendar… etc.<span id="more-380"></span></p>
<p style="text-align:left;">These settings are configurable by either the end user or the BlackBerry Enterprise Server admin. It’s important to note this subtle difference: because application control can be configured by the user, the BlackBerry smartphone does not need to be connected to a BlackBerry Enterprise Server to use them (whereas for IT policy to be applied the BlackBerry smartphone has to be connected to a BlackBerry Enterprise Server).</p>
<p style="text-align:left;">BlackBerry smartphone users with experience installing applications are likely familiar with application control. In BlackBerry® Device Software 4.6 (first introduced with the BlackBerry® Bold™ smartphone) and above, users encounter application control as soon as the installed application is first executed:</p>
<p style="text-align:left;"><em><strong>&#8220;Would you like to grant [Application Name] Trusted Application status?&#8221;</strong></em></p>
<p style="text-align:left;">If the user selects &#8220;Yes&#8221;, then your application will be given all the permissions commonly needed for normal execution, i.e. all permissions will be set to “Allow” with the exception of:</p>
<ul>
<li>Prompt &#8211; Recording, Security Timer Reset</li>
<li>Deny &#8211; Input Simulation, Browser Filtering, Display Information While Locked</li>
</ul>
<p>Alternatively, if the user selects &#8220;No&#8221;, it&#8217;s not the end of the world; it just means that your application will be given the default set of permissions. For BlackBerry smartphones that are connected to a BlackBerry Enterprise Server, all permissions are set to “Allow” with the exception of:</p>
<ul>
<li>Prompt &#8211; Recording, Phone, Location Data, Server Network, Internet</li>
<li>Deny &#8211; Browser Filtering, Input Simulation, Security Timer Reset, Display Information While Locked</li>
</ul>
<p>For smartphones that are not connected to a BlackBerry Enterprise Server, all permissions are set to “Allow” with the exception of:</p>
<ul>
<li>Prompt &#8211; Recording, Phone, Location Data</li>
<li>Deny &#8211; Browser Filtering, Input Simulation, Security Timer Reset, Display Information While Locked</li>
</ul>
<p>Regardless of what the user selects, on first run of your application, it&#8217;s a good idea to check what permissions are assigned to your application, using ApplicationPermissionsManager.getApplicationPermissions(). All application permissions have a setting of “Allow” and “Deny”, and some have a tertiary setting:  “Prompt”. If a permission is set to “Prompt”, the user will receive a dialog like the one below when you use an API that triggers it:</p>
<p><em><strong>&#8220;The application [Application Name] has requested a http connection to [domain X]&#8220;</strong></em></p>
<p>At this point, the user is given the choice to “Allow” or “Deny” the request. If they select “Allow” (and check the box to not be asked again), the value of the permission will be changed from “Prompt” to “Allow” and your API call will succeed.  However, if the user selects “Deny”, then your application will receive either a ControlledAccessException or a SecurityException, depending on the method definition.</p>
<p>It is probably best to avoid these prompts in the first place. Since there&#8217;s no magic formula that will allow you to eliminate all these prompts, your best bet is to group them into a single request, using ApplicationPermissionsManager.invokePermissionRequest (ApplicationPermissions requestedPermissions) for the permission values your application will require. Calling this method will first present the user with a dialog indicating to the user that your application is attempting to change permissions, and then display a screen with all requested permissions, which requires the user to save the settings presented to them. Since developers don&#8217;t have the ability to control the user interface for either of these screens, it&#8217;s recommended that you inform the user what your application is about to do before blindly launching into the permission request.</p>
<p>Lastly, if despite all your best efforts, the user still hasn&#8217;t granted you permission access beyond “Prompt”, you do have the ability to provide more information to the user explaining your reasoning for leveraging a certain function. To explain, let&#8217;s return to the http message we got:</p>
<p><em><strong>&#8220;Would you like to grant [Application Name] Trusted Application status?&#8221;</strong></em></p>
<p>Using the ReasonProvider API, you can attach your own message to this dialog prompt, contained within a link for &#8220;Details&#8230;&#8221;. If the user clicks this link, your message will be displayed to the user, allowing you to explain why your application needs this permission:</p>
<p><strong><em>&#8220;My application needs to open a network connection so that it can download pictures from your favorite website.&#8221;</em></strong></p>
<p><img src="http://rimdevblog.files.wordpress.com/2009/09/original-417.jpg?w=435&#038;h=159" alt="" title="Explaining BlackBerry Security for Developers: Application Control" width="435" height="159" class="aligncenter size-full wp-image-5868" /></p>
<p style="text-align:left;">This approach eases the minds of your users by providing them all the information they need to make confident decisions about your application.</p>
<p style="text-align:left;">For more information on the various application control settings that can be applied to your application, see the Javadoc for the ApplicationPermissions class, which defines constants for each permission.</p>
<p style="text-align:left;">In part three of this series, we&#8217;ll address the topic of code signing. Stay tuned!</p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/rimdevblog.wordpress.com/380/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/rimdevblog.wordpress.com/380/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=devblog.blackberry.com&#038;blog=17235680&#038;post=380&#038;subd=rimdevblog&#038;ref=&#038;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://devblog.blackberry.com/2009/09/explaining-blackberry-security-for-developers-application-control/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/93c01acd537bfb61a304b73eef4fce76?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">brianzub1</media:title>
		</media:content>

		<media:content url="http://rimdevblog.files.wordpress.com/2009/09/original-317.jpg" medium="image">
			<media:title type="html">Explaining BlackBerry Security for Developers: Application Control</media:title>
		</media:content>

		<media:content url="http://rimdevblog.files.wordpress.com/2009/09/original-417.jpg" medium="image">
			<media:title type="html">Explaining BlackBerry Security for Developers: Application Control</media:title>
		</media:content>
	</item>
		<item>
		<title>Explaining BlackBerry Security for Developers: IT Policy</title>
		<link>http://devblog.blackberry.com/2009/09/explaining-blackberry-security-for-developers-it-policy/</link>
		<comments>http://devblog.blackberry.com/2009/09/explaining-blackberry-security-for-developers-it-policy/#comments</comments>
		<pubDate>Tue, 22 Sep 2009 15:38:38 +0000</pubDate>
		<dc:creator>Brian Z.</dc:creator>
				<category><![CDATA[How-to]]></category>
		<category><![CDATA[Interviews/Thought Leadership]]></category>
		<category><![CDATA[application-control]]></category>
		<category><![CDATA[BES]]></category>
		<category><![CDATA[it-policy]]></category>
		<category><![CDATA[Security]]></category>

		<guid isPermaLink="false">http://blackberrydev.edstaging.com/?p=391</guid>
		<description><![CDATA[So you’ve had your stroke of genius, you’ve developed the BlackBerry® smartphone application that’s going to sell a million copies on BlackBerry App World™, and you’re ready for your final end-to-end testing on a live device.  You put the application up on your web server, enter the URL into the BlackBerry® Browser, choose the option to [&#8230;]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=devblog.blackberry.com&#038;blog=17235680&#038;post=391&#038;subd=rimdevblog&#038;ref=&#038;feed=1" width="1" height="1" />]]></description>
				<content:encoded><![CDATA[<p><img src="http://rimdevblog.files.wordpress.com/2009/09/original-651.png?w=410&#038;h=410" alt="" title="Explaining BlackBerry Security for Developers: IT Policy" width="410" height="410" class="aligncenter size-full wp-image-5869" /></p>
<p style="text-align:left;">So you’ve had your stroke of genius, you’ve developed the BlackBerry® smartphone application that’s going to sell a million copies on <a title="BlackBerry App World" href="http://appworld.blackberry.com/webstore/" target="_blank">BlackBerry App World</a>™, and you’re ready for your final end-to-end testing on a live device.  You put the application up on your web server, enter the URL into the BlackBerry® Browser, choose the option to download, and then half way through, the download comes to a halt with this message:</p>
<p style="text-align:left;"><em><strong>“This application does not contain a signature. It might not be from a trusted source. Do you want to proceed?”<span id="more-391"></span><br />
</strong></em></p>
<p style="text-align:left;">Your mind starts racing.  “How are my users going to react?  How do I make this message go away?”</p>
<p style="text-align:left;">This is the first of a three-part series of blog posts that will outline how consumer applications are handled from a security perspective in the enterprise with BlackBerry Enterprise® Server.  <strong>First and foremost, it is important to understand that there are two categories of security to consider: IT policy and application control.</strong> In part one of this series, we’ll cover IT policy; in part two, we’ll cover application control; in part three, we’ll talk about code signing and how that affects application development regarding these two categories.</p>
<p style="text-align:left;">IT policy is a security setting in BlackBerry Enterprise Server that IT administrators in medium-to-large sized organizations use to manage and control employee use of BlackBerry smartphones.  For example, an IT administrator could set an IT policy that allows or prevents use of the camera, phone service, the browser, etc.  IT policy only applies to users who are connected to a BlackBerry® Enterprise Server.</p>
<p style="text-align:left;">When are you most likely to encounter IT policy? Typically only in organizations that require some level of security.  As an application developer, if you don’t have the time to learn about all of the various IT policy settings that can affect the use of your applicaton within these organizations, then at least <strong>take note of the big one: Disallow Third Party Application Download</strong>.  How will you know if you’ve run into this setting?  When downloading an application via over-the-air download, users will get the following error:</p>
<p style="text-align:left;"><em><strong>“Download Failed: 910 Application authorization failure.”</strong></em></p>
<p style="text-align:left;">In order to get your application on this user’s BlackBerry smartphone, you’ll need to convince the BES administrator to either relax this setting or white list your application.  The good news is that smartphone users are not likely to encounter this setting very often at all; most administrators will use the default IT policy settings that are set in BlackBerry Enterprise Server, and these settings are application friendly.</p>
<p style="text-align:left;">For more information on IT policy settings for BlackBerry smartphones connected to a BlackBerry Enterprise Server, please see the Bl<a title="ackBerry Enterprise Server Policy Reference Guide" href="http://na.blackberry.com/eng/deliverables/4222/index.jsp?name=BlackBerry+Enterprise+Solution+Security+-+Policy+Reference+Guide4.1.6&amp;language=English&amp;userType=2&amp;category=BlackBerry+Enterprise+Solution+Security&amp;subCategory=" target="_blank">ackBerry Enterprise Server Policy Reference Guide</a>.  Note:  Should you wish to query any IT policy values from within your application, see the javadoc for the ITPolicy class.</p>
<p style="text-align:left;">Stay tuned for part two of this series!</p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/rimdevblog.wordpress.com/391/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/rimdevblog.wordpress.com/391/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=devblog.blackberry.com&#038;blog=17235680&#038;post=391&#038;subd=rimdevblog&#038;ref=&#038;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://devblog.blackberry.com/2009/09/explaining-blackberry-security-for-developers-it-policy/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/93c01acd537bfb61a304b73eef4fce76?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">brianzub1</media:title>
		</media:content>

		<media:content url="http://rimdevblog.files.wordpress.com/2009/09/original-651.png" medium="image">
			<media:title type="html">Explaining BlackBerry Security for Developers: IT Policy</media:title>
		</media:content>
	</item>
	</channel>
</rss>
