<?xml version="1.0" encoding="UTF-8"?><rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom">
<channel>
	<title>jQuery Grid Plugin - jqGrid - Topic: Security with URL used in jqgrid</title>
	<link>http://www.trirand.com/blog/?page_id=393/help/security-with-url-used-in-jqgrid</link>
	<description><![CDATA[Grid plugin]]></description>
	<generator>Simple:Press Version 5.7.5.3</generator>
	<atom:link href="http://www.trirand.com/blog/?page_id=393/help/security-with-url-used-in-jqgrid/rss" rel="self" type="application/rss+xml" />
        <item>
        	<title>thlas77 on Security with URL used in jqgrid</title>
        	<link>http://www.trirand.com/blog/?page_id=393/help/security-with-url-used-in-jqgrid#p19797</link>
        	<category>Help</category>
        	<guid isPermaLink="true">http://www.trirand.com/blog/?page_id=393/help/security-with-url-used-in-jqgrid#p19797</guid>
        	        	<description><![CDATA[<p>Thanks Olegk for your answer.</p>
<p>Just for your information, I want to use JQgrid with joomla.</p>
<p>In fact, I should verify that the user id is authorised to consult the data of the groupe with id 105. If not, an error message will be displayed.</p>
<p>I have a datasource.php where the query is coded to access to the database to retrieve the data for my grid.</p>
<p>Is it in this file that I have to code the request that userid and groupeid are compatible just before my query for the data?</p>
<p>To get the user id, I usually use in joomla &#160;&#160; &#160;&#160;&#160;&#160; $user&#160;&#160; &#160;=&#38; JFactory::getUser(); and $current_user = (int) $user-&#62;get(&#39;id&#39;); How can I do here ? (sorry if my questions are basics...)</p>
<p>If a joomla expert could help me, It will be nice(I have already downloaded component and module from <a href="http://www.dunia-azka.co.cc/)" rel="nofollow" target="_blank"></a><a href="http://www.dunia-azka.co.cc/" rel="nofollow" target="_blank">http://www.dunia-azka.co.cc/</a>)</p>
<p>Thanks</p>
<p>Thierry</p></p>
]]></description>
        	        	<pubDate>Wed, 15 Sep 2010 20:37:40 +0300</pubDate>
        </item>
        <item>
        	<title>OlegK on Security with URL used in jqgrid</title>
        	<link>http://www.trirand.com/blog/?page_id=393/help/security-with-url-used-in-jqgrid#p19792</link>
        	<category>Help</category>
        	<guid isPermaLink="true">http://www.trirand.com/blog/?page_id=393/help/security-with-url-used-in-jqgrid#p19792</guid>
        	        	<description><![CDATA[<p>You should use server side user authentication and verify on every request whether it is allowed for him to&#160;retrieve&#160;the data or not. If you want that url with filter_var1_id=105&#160;will be prohibited for all users you can also do this very simple on the server side.</p>
<p>If you only want to disallow to use filter_var1_id=105 in the url you can use in jqGrid and on the server HTTP POST instead of GET. In the case to get the data user need a tool like Fiddler (see <a href="http://www.fiddler2.com/fiddler2/" target="_blank">http://www.fiddler2.com/fiddler2/</a>) to get the data. Nevertheless such change will give you not really much more security.</p>
<p>So my answer: this should be a functionality of the <strong>server side</strong> of your code. So it is not a question to jqGrid. All client side validation in the case are unsafe.</p>
<p>Best regards<br />Oleg&#160;</p>
]]></description>
        	        	<pubDate>Wed, 15 Sep 2010 17:25:47 +0300</pubDate>
        </item>
        <item>
        	<title>thlas77 on Security with URL used in jqgrid</title>
        	<link>http://www.trirand.com/blog/?page_id=393/help/security-with-url-used-in-jqgrid#p19791</link>
        	<category>Help</category>
        	<guid isPermaLink="true">http://www.trirand.com/blog/?page_id=393/help/security-with-url-used-in-jqgrid#p19791</guid>
        	        	<description><![CDATA[<p>Hi all,</p>
<p>I have a question about security in JQGRID.</p>
<p>When I display my grid, the URL generated can be copy/paste in Firebug. for example :</p>
<p><a href="http://www.totosico.com/components/com_myfirstgrid/datasource.php?filter_grille_id=102&#038;filter_grpuser_id=2&#038;_search=false&#038;nd=1284554414177&#038;rows=10&#038;page=1&#038;sidx=clg_place&#038;sord=asc" rel="nofollow" target="_blank"><a href="http://www.totosico.com/compon" rel="nofollow">http://www.totosico.com/compon</a>.....8;sord=asc</a></p>
<p>If I change filter_var1_id = 105 instead of 102, I can retrieve some data I&#39;m not allowed to see (displayed in an XML format, not in the grid...)</p>
<p>So my questions are :</p>
<p>- How to prevent this ?</p>
<p>- Is it the right way to concat the variables in the URL ?</p>
<p>Thanks for your Help</p>
<p>Thierry</p></p>
]]></description>
        	        	<pubDate>Wed, 15 Sep 2010 16:23:40 +0300</pubDate>
        </item>
</channel>
</rss>