<?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>Planet of Coders </title>
	<atom:link href="http://planetofcoders.com/feed/" rel="self" type="application/rss+xml" />
	<link>http://planetofcoders.com</link>
	<description>Web Design &#38; Development Articles, Question-Answers, etc...</description>
	<lastBuildDate>Fri, 24 May 2013 02:30:20 +0000</lastBuildDate>
	<language>en-US</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<item>
		<title>What’s the difference between code-based security and role-based security? Which one is better?</title>
		<link>http://planetofcoders.com/whats-difference-code-based-security-role-based-security-better/</link>
		<comments>http://planetofcoders.com/whats-difference-code-based-security-role-based-security-better/#comments</comments>
		<pubDate>Fri, 24 May 2013 02:30:20 +0000</pubDate>
		<dc:creator>Gaurav Agrawal</dc:creator>
				<category><![CDATA[.Net Programming]]></category>
		<category><![CDATA[.Net]]></category>

		<guid isPermaLink="false">http://planetofcoders.com/?p=2599</guid>
		<description><![CDATA[Code security is the approach of using permissions and permission sets for a given code to run. The admin, for example, can disable running executable off the Internet or restrict access to corporate database to only few applications. Role-based security most of the time involves the code running with the privileges of the current user. This way the code cannot supposedly do more harm than mess up a single user account. There’s no better, or 100% thumbs-up approach, depending on the nature of deployment, both code-based and role-based security could be implemented to an extent.]]></description>
				<content:encoded><![CDATA[
<!-- SEO Ultimate (http://www.seodesignsolutions.com/wordpress-seo/) - Code Inserter module -->
<div id="adsenseads"><script type="text/javascript"><!--
google_ad_client = "ca-pub-9726510606115889";
/* LeaderBoard 728X90 */
google_ad_slot = "8724452453";
google_ad_width = 728;google_ad_height = 90;
//--></script>
<script type="text/javascript"
src="http://pagead2.googlesyndication.com/pagead/show_ads.js">
</script></div>
<!-- /SEO Ultimate -->

<p>Code security is the approach of using permissions and permission sets for a given code to run. The admin, for example, can disable running executable off the Internet or restrict access to corporate database to only few applications. Role-based security most of the time involves the code running with the privileges of the current user. This way the code cannot supposedly do more harm than mess up a single user account. There’s no better, or 100% thumbs-up approach, depending on the nature of deployment, both code-based and role-based security could be implemented to an extent.</p>

<!-- SEO Ultimate (http://www.seodesignsolutions.com/wordpress-seo/) - Code Inserter module -->
<div id="adsenseads"><script type="text/javascript"><!--
google_ad_client = "ca-pub-9726510606115889";
/* Links 728X15 */
google_ad_slot = "8712986633";google_ad_width = 728;google_ad_height = 15;
//--></script>
<script type="text/javascript"
src="http://pagead2.googlesyndication.com/pagead/show_ads.js">
</script></div>
<script type="text/javascript" src="http://ap.lijit.com/www/delivery/fpi.js#?z=179706&u=planetofcoders&width=728&height=90"></script>
<!-- /SEO Ultimate -->

]]></content:encoded>
			<wfw:commentRss>http://planetofcoders.com/whats-difference-code-based-security-role-based-security-better/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>How can you work with permissions from your .NET application?</title>
		<link>http://planetofcoders.com/work-permissions-net-application/</link>
		<comments>http://planetofcoders.com/work-permissions-net-application/#comments</comments>
		<pubDate>Thu, 23 May 2013 02:30:12 +0000</pubDate>
		<dc:creator>Gaurav Agrawal</dc:creator>
				<category><![CDATA[.Net Programming]]></category>
		<category><![CDATA[.Net]]></category>

		<guid isPermaLink="false">http://planetofcoders.com/?p=2597</guid>
		<description><![CDATA[You can request permission to do something and you can demand certain permissions from other apps. You can also refuse permissions so that your app is not inadvertently used to destroy some data.]]></description>
				<content:encoded><![CDATA[
<!-- SEO Ultimate (http://www.seodesignsolutions.com/wordpress-seo/) - Code Inserter module -->
<div id="adsenseads"><script type="text/javascript"><!--
google_ad_client = "ca-pub-9726510606115889";
/* LeaderBoard 728X90 */
google_ad_slot = "8724452453";
google_ad_width = 728;google_ad_height = 90;
//--></script>
<script type="text/javascript"
src="http://pagead2.googlesyndication.com/pagead/show_ads.js">
</script></div>
<!-- /SEO Ultimate -->

<p>You can request permission to do something and you can demand certain permissions from other apps. You can also refuse permissions so that your app is not inadvertently used to destroy some data.</p>

<!-- SEO Ultimate (http://www.seodesignsolutions.com/wordpress-seo/) - Code Inserter module -->
<div id="adsenseads"><script type="text/javascript"><!--
google_ad_client = "ca-pub-9726510606115889";
/* Links 728X15 */
google_ad_slot = "8712986633";google_ad_width = 728;google_ad_height = 15;
//--></script>
<script type="text/javascript"
src="http://pagead2.googlesyndication.com/pagead/show_ads.js">
</script></div>
<script type="text/javascript" src="http://ap.lijit.com/www/delivery/fpi.js#?z=179706&u=planetofcoders&width=728&height=90"></script>
<!-- /SEO Ultimate -->

]]></content:encoded>
			<wfw:commentRss>http://planetofcoders.com/work-permissions-net-application/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>How can C# app request minimum permissions?</title>
		<link>http://planetofcoders.com/c-app-request-minimum-permissions/</link>
		<comments>http://planetofcoders.com/c-app-request-minimum-permissions/#comments</comments>
		<pubDate>Wed, 22 May 2013 02:30:38 +0000</pubDate>
		<dc:creator>Gaurav Agrawal</dc:creator>
				<category><![CDATA[.Net Programming]]></category>
		<category><![CDATA[.Net]]></category>

		<guid isPermaLink="false">http://planetofcoders.com/?p=2595</guid>
		<description><![CDATA[using System.Security.Permissions; [assembly:FileDialogPermissionAttribute(SecurityAction.RequestMinimum, Unrestricted=true)]]]></description>
				<content:encoded><![CDATA[
<!-- SEO Ultimate (http://www.seodesignsolutions.com/wordpress-seo/) - Code Inserter module -->
<div id="adsenseads"><script type="text/javascript"><!--
google_ad_client = "ca-pub-9726510606115889";
/* LeaderBoard 728X90 */
google_ad_slot = "8724452453";
google_ad_width = 728;google_ad_height = 90;
//--></script>
<script type="text/javascript"
src="http://pagead2.googlesyndication.com/pagead/show_ads.js">
</script></div>
<!-- /SEO Ultimate -->

<blockquote><p><code>using System.Security.Permissions;<br />
[assembly:FileDialogPermissionAttribute(SecurityAction.RequestMinimum, Unrestricted=true)]</code></p></blockquote>

<!-- SEO Ultimate (http://www.seodesignsolutions.com/wordpress-seo/) - Code Inserter module -->
<div id="adsenseads"><script type="text/javascript"><!--
google_ad_client = "ca-pub-9726510606115889";
/* Links 728X15 */
google_ad_slot = "8712986633";google_ad_width = 728;google_ad_height = 15;
//--></script>
<script type="text/javascript"
src="http://pagead2.googlesyndication.com/pagead/show_ads.js">
</script></div>
<script type="text/javascript" src="http://ap.lijit.com/www/delivery/fpi.js#?z=179706&u=planetofcoders&width=728&height=90"></script>
<!-- /SEO Ultimate -->

]]></content:encoded>
			<wfw:commentRss>http://planetofcoders.com/c-app-request-minimum-permissions/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Explain what is a diffgram is, and a good use for one?</title>
		<link>http://planetofcoders.com/explain-what-is-a-diffgram-is-and-a-good-use-for-one/</link>
		<comments>http://planetofcoders.com/explain-what-is-a-diffgram-is-and-a-good-use-for-one/#comments</comments>
		<pubDate>Tue, 21 May 2013 16:01:24 +0000</pubDate>
		<dc:creator>Gaurav Agrawal</dc:creator>
				<category><![CDATA[.Net Programming]]></category>
		<category><![CDATA[.Net]]></category>
		<category><![CDATA[Asp.Net]]></category>

		<guid isPermaLink="false">http://planetofcoders.com/?p=2593</guid>
		<description><![CDATA[A DiffGram is a XML format that is used to identify current and original versions of data elements. The DataSet uses the DiffGram format to load and persist its contents, and to serialize its contents for transport across a network connection. When a DataSet is written as a DiffGram, it populates the DiffGram with all the necessary information to accurately recreate the contents, though not the schema, of the DataSet, including column values from both the Original and Current row versions, row error information, and row order.]]></description>
				<content:encoded><![CDATA[
<!-- SEO Ultimate (http://www.seodesignsolutions.com/wordpress-seo/) - Code Inserter module -->
<div id="adsenseads"><script type="text/javascript"><!--
google_ad_client = "ca-pub-9726510606115889";
/* LeaderBoard 728X90 */
google_ad_slot = "8724452453";
google_ad_width = 728;google_ad_height = 90;
//--></script>
<script type="text/javascript"
src="http://pagead2.googlesyndication.com/pagead/show_ads.js">
</script></div>
<!-- /SEO Ultimate -->

<p>A DiffGram is a XML format that is used to identify current and original versions of data elements. The DataSet uses the DiffGram format to load and persist its contents, and to serialize its contents for transport across a network connection. When a DataSet is written as a DiffGram, it populates the DiffGram with all the necessary information to accurately recreate the contents, though not the schema, of the DataSet, including column values from both the Original and Current row versions, row error information, and row order.</p>

<!-- SEO Ultimate (http://www.seodesignsolutions.com/wordpress-seo/) - Code Inserter module -->
<div id="adsenseads"><script type="text/javascript"><!--
google_ad_client = "ca-pub-9726510606115889";
/* Links 728X15 */
google_ad_slot = "8712986633";google_ad_width = 728;google_ad_height = 15;
//--></script>
<script type="text/javascript"
src="http://pagead2.googlesyndication.com/pagead/show_ads.js">
</script></div>
<script type="text/javascript" src="http://ap.lijit.com/www/delivery/fpi.js#?z=179706&u=planetofcoders&width=728&height=90"></script>
<!-- /SEO Ultimate -->

]]></content:encoded>
			<wfw:commentRss>http://planetofcoders.com/explain-what-is-a-diffgram-is-and-a-good-use-for-one/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>What is the difference between Finalize and Dispose?</title>
		<link>http://planetofcoders.com/difference-finalize-dispose/</link>
		<comments>http://planetofcoders.com/difference-finalize-dispose/#comments</comments>
		<pubDate>Mon, 20 May 2013 16:00:19 +0000</pubDate>
		<dc:creator>Gaurav Agrawal</dc:creator>
				<category><![CDATA[.Net Programming]]></category>
		<category><![CDATA[.Net]]></category>

		<guid isPermaLink="false">http://planetofcoders.com/?p=2591</guid>
		<description><![CDATA[Class instances often encapsulate control over resources that are not managed by the runtime, such as window handles (HWND), database connections, and so on. Therefore, you should provide both an explicit and an implicit way to free those resources. Provide implicit control by implementing the protected Finalize Method on an object (destructor syntax in C# and the Managed Extensions for C++). The garbage collector calls this method at some point after there are no longer any valid references to the object. In some cases, you might want to provide programmers using an object with the ability to explicitly release these … <a href="http://planetofcoders.com/difference-finalize-dispose/">Click here to continue reading. <span class="meta-nav">&#8594; </span></a>]]></description>
				<content:encoded><![CDATA[
<!-- SEO Ultimate (http://www.seodesignsolutions.com/wordpress-seo/) - Code Inserter module -->
<div id="adsenseads"><script type="text/javascript"><!--
google_ad_client = "ca-pub-9726510606115889";
/* LeaderBoard 728X90 */
google_ad_slot = "8724452453";
google_ad_width = 728;google_ad_height = 90;
//--></script>
<script type="text/javascript"
src="http://pagead2.googlesyndication.com/pagead/show_ads.js">
</script></div>
<!-- /SEO Ultimate -->

<p>Class instances often encapsulate control over resources that are not managed by the runtime, such as window handles (HWND), database connections, and so on. Therefore, you should provide both an explicit and an implicit way to free those resources. Provide<span style="text-decoration: underline;"> implicit control </span>by implementing the protected Finalize Method on an object (destructor syntax in C# and the Managed Extensions for C++). The garbage collector calls this method at some point after there are no longer any valid references to the object.<br />
In some cases, you might want to provide programmers using an object with the ability to explicitly release these external resources before the garbage collector frees the object. If an external resource is scarce or expensive, better performance can be achieved if the programmer explicitly releases resources when they are no longer being used. To provide <span style="text-decoration: underline;">explicit control</span>, implement the Dispose method provided by the IDisposable Interface. The consumer of the object should call this method when it is done using the object. <strong>Dispose</strong> can be called even if other references to the object are alive.<br />
Note that even when you provide explicit control by way of <strong>Dispose</strong>, you should provide implicit cleanup using the <strong>Finalize</strong> method. <strong>Finalize</strong> provides a backup to prevent resources from permanently leaking if the programmer fails to call <strong>Dispose</strong>.</p>

<!-- SEO Ultimate (http://www.seodesignsolutions.com/wordpress-seo/) - Code Inserter module -->
<div id="adsenseads"><script type="text/javascript"><!--
google_ad_client = "ca-pub-9726510606115889";
/* Links 728X15 */
google_ad_slot = "8712986633";google_ad_width = 728;google_ad_height = 15;
//--></script>
<script type="text/javascript"
src="http://pagead2.googlesyndication.com/pagead/show_ads.js">
</script></div>
<script type="text/javascript" src="http://ap.lijit.com/www/delivery/fpi.js#?z=179706&u=planetofcoders&width=728&height=90"></script>
<!-- /SEO Ultimate -->

]]></content:encoded>
			<wfw:commentRss>http://planetofcoders.com/difference-finalize-dispose/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
