<?xml version="1.0" encoding="utf-8" ?>
<?xml-stylesheet type="text/xsl" href="RSS_xslt_style.asp" version="1.0" ?>
<rss version="2.0" xmlns:WebWizForums="http://syndication.webwiz.co.uk/rss_namespace/">
 <channel>
  <title>DevForce Community Forum : sql injection and more risk</title>
  <link>http://www.ideablade.com/forum/</link>
  <description>This is an XML content feed of; DevForce Community Forum : Community Forum : sql injection and more risk</description>
  <pubDate>Fri, 10 Apr 2026 19:27:29 -700</pubDate>
  <lastBuildDate>Sun, 04 Nov 2012 09:37:05 -700</lastBuildDate>
  <docs>http://blogs.law.harvard.edu/tech/rss</docs>
  <generator>Web Wiz Forums 9.69</generator>
  <ttl>360</ttl>
  <WebWizForums:feedURL>www.ideablade.com/forum/RSS_post_feed.asp?TID=3750</WebWizForums:feedURL>
  <image>
   <title>DevForce Community Forum</title>
   <url>http://www.ideablade.com/forum/forum_images/IdeaBlade_logo_tm.png</url>
   <link>http://www.ideablade.com/forum/</link>
  </image>
  <item>
   <title>sql injection and more risk : Hi kaanse -You are asking important...</title>
   <link>http://www.ideablade.com/forum/forum_posts.asp?TID=3750&amp;PID=15077#15077</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://www.ideablade.com/forum/member_profile.asp?PF=482" rel="nofollow">WardBell</a><br /><strong>Subject:</strong> 3750<br /><strong>Posted:</strong> 04-Nov-2012 at 9:37am<br /><br />Hi kaanse -<div><br></div><div>You are asking important questions. It is true that the path we show is a direct line from the database tables and columns to the JavaScript client. That is the easiest path and is typically harmless. While you may not need every column exposed as a property on the client, it is harmless to do so most of the time.</div><div><br></div><div>But sometimes it matters and matters a great deal. Then you have to take steps.</div><div><br></div><div>The <b>first </b>thing to understand is that you do not have to expose every server-side entity to the client. Personally, I would not ever send a credit card number to the client. If I accept a credit card from the client, I do so in a command from the client (via a separate API for that purpose). But I don't send it back and it would be no where in available for reading from my service API.</div><div><br></div><div><b>Second</b>, you can define types that exclude server-side entity properties that should not be sent to the client. My preferred practice is to split the table (or the entity type in the ORM) so sensitive information is in a related table (entity) in a 1-1 relationship. For example: <i>Customer </i>and <i>CustomerConfidential</i>. &nbsp;Following my first piece of advice, only the <i>Customer</i> entity would appear in my Service model.</div><div><br></div><div><b>Third</b>, you can define a projected type. Suppose that you cannot split <i>Customer</i>. You could define a projected type that has only the safe properties (call it&nbsp;<i>CustomerSafe</i>&nbsp;for this example). You'll have to do some processing to make this work; but you are already committed to writing that code by virtue of your concern for safety and the fact that you couldn't factor your original model. The work is no greater than if you resorted to traditional DTOs and at least you're doing this work for the few types that need this treatment; you are not imposing this tedium on <i>every </i>type, safe or not, as some other folks would have you do.</div><div><br></div><div>The strategy is roughly as follows:</div><div><br></div><div>1) define the <i>CustomerSafe </i>type.</div><div><br></div><div>2) define a Breeze controller method that exposes only the <i>CustomerSafe </i>type (not the full <i>Customer</i>); the implementation selects the data from the server-side <i>Customer </i>into new <i>CustomerSafe </i>objects. Make sure the property names on <i>CustomerSafe </i>are the same as on <i>Customer</i>.</div><div><br></div><div>3) On the JS client-side, add a <i>CustomerSafe </i>type to the <i>MetadataStore</i>. Yes you can define types on the JS client; they don't have to be in the metadata coming from the server. We haven't documented how to do this yet but we will.</div><div><br></div><div>4) Intercept saved changes to <i>CustomerSafe </i>entities in your server-side Breeze <i>SaveInterceptor</i>. Translate them into server-side Customer objects, save them yourself, remove them from the <i>SaveBundle</i>, and let the <i>EFContextProvider </i>save whatever else needs saving (optional).</div><div><br></div><div>I can think of other ways to do this too. Remember you can always step outside of the Breeze Query and SaveChanges mechanisms to get and put/post data through other service APIs. As long as you can define the type on client-side metadata (step #3 above), the entity can behave like any other Breeze entity while on the client. You just intervene at the query and save points to re-direct the data through some other API (perhaps with regular AJAX calls). Again, this is no worse than what'd you'd do if you had your own data layer. And the good news is that you're only doing this kind of thing at the boundaries of the system. You don't have to do it for any of the other types and the CustomerSafe gets to participate in the caching, entity navigation, validation, data binding, etc. that Breeze provides for all other entities.</div><div><br></div><div>Finally, if you just don't like the name "CreditCard" on the client because you think it sends the wrong message ... change the name. Do that on the server if you can. If you can't, you can change it on the Breeze client by defining your own <i>NamingConvention </i>to give it a different client-side name.</div><div><br></div><div>All of this is unnecessary 95% of the time. The property names and values of most entity types rarely pose a business risk. You shouldn't have to work hard 95% of the time just so you can cope with the rare 5%. But you should have a way to deal with the 5% when it occurs. And you do, even if it demands a bit more attention and work.</div><div><br></div><div>Hope this helps.</div>]]>
   </description>
   <pubDate>Sun, 04 Nov 2012 09:37:05 -700</pubDate>
   <guid isPermaLink="true">http://www.ideablade.com/forum/forum_posts.asp?TID=3750&amp;PID=15077#15077</guid>
  </item> 
  <item>
   <title>sql injection and more risk : Actually i agree with you that...</title>
   <link>http://www.ideablade.com/forum/forum_posts.asp?TID=3750&amp;PID=15042#15042</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://www.ideablade.com/forum/member_profile.asp?PF=1566" rel="nofollow">kaanse</a><br /><strong>Subject:</strong> 3750<br /><strong>Posted:</strong> 01-Nov-2012 at 1:46pm<br /><br />Actually i agree with you that sql injection seems to be technically impossible thanks to the data&lt;&gt;model abstraction.<div>However, my concern is more about possible security leak. That is, column names and table names are exposed generously and even the names in the model refer to the content that are stored in the database.</div><div><br></div><div>Let me give a specific example. &nbsp;Suppose that we are a e-commerce site. &nbsp;Suppose that we have a bit type column, namely CreditCard. &nbsp;We store if the customer used his/her CreditCard we save customer to somewhere if a person who look at js code when see something like&nbsp;</div><div><br></div><div>"<code =" keyword" style="text-align: left; white-space: pre; margin-top: 0px !imant; margin-right: 0px !imant; margin-bottom: 0px !imant; margin-left: 0px !imant; padding-top: 0px !imant; padding-right: 0px !imant; padding-bottom: 0px !imant; padding-left: 0px !imant; border-top-width: 0px !imant; border-right-width: 0px !imant; border-bottom-width: 0px !imant; border-left-width: 0px !imant; border-style: initial !imant; border-color: initial !imant; border-: initial !imant; outline-width: 0px !imant; outline-style: initial !imant; outline-color: initial !imant; font-size: 1em !imant; vertical-align: line !imant; font: inherit; font-family: C&#111;nsolas, 'Bitstream Vera Sans Mono', 'Courier New', Courier, monospace !imant; color: rgb0, 102, 153 !imant; border-top-left-radius: 0px !imant; border-top-right-radius: 0px !imant; border-bottom-right-radius: 0px !imant; border-bottom-left-radius: 0px !imant; -: n&#111;ne !imant; -attachment: initial !imant; -origin: initial !imant; -clip: initial !imant; : initial !imant; bottom: auto !imant; : n&#111;ne !imant; height: auto !imant; left: auto !imant; line-height: 1.1em !imant; overflow-x:  !imant; overflow-y:  !imant; : static !imant; right: auto !imant; top: auto !imant; width: auto !imant; -sizing: - !imant; font-weight: bold !imant; min-height: inherit !imant; ">var</code><span style="color: rgb68, 68, 68; font-family: C&#111;nsolas, 'Bitstream Vera Sans Mono', 'Courier New', Courier, monospace; line-height: 17px; text-align: left; white-space: pre; "> </span><code =" plain" style="text-align: left; white-space: pre; margin-top: 0px !imant; margin-right: 0px !imant; margin-bottom: 0px !imant; margin-left: 0px !imant; padding-top: 0px !imant; padding-right: 0px !imant; padding-bottom: 0px !imant; padding-left: 0px !imant; border-top-width: 0px !imant; border-right-width: 0px !imant; border-bottom-width: 0px !imant; border-left-width: 0px !imant; border-style: initial !imant; border-color: initial !imant; border-: initial !imant; outline-width: 0px !imant; outline-style: initial !imant; outline-color: initial !imant; font-size: 1em !imant; vertical-align: line !imant; font: inherit; font-family: C&#111;nsolas, 'Bitstream Vera Sans Mono', 'Courier New', Courier, monospace !imant; border-top-left-radius: 0px !imant; border-top-right-radius: 0px !imant; border-bottom-right-radius: 0px !imant; border-bottom-left-radius: 0px !imant; -: n&#111;ne !imant; -attachment: initial !imant; -origin: initial !imant; -clip: initial !imant; : initial !imant; bottom: auto !imant; : n&#111;ne !imant; height: auto !imant; left: auto !imant; line-height: 1.1em !imant; overflow-x:  !imant; overflow-y:  !imant; : static !imant; right: auto !imant; top: auto !imant; width: auto !imant; -sizing: - !imant; min-height: inherit !imant; ">query1b = EntityQuery.from(“Customers”)</code></div><div ="line number8 index7 alt1" style="margin-top: 0px !imant; margin-right: 0px !imant; margin-bottom: 0px !imant; margin-left: 0px !imant; padding-top: 0px !imant; padding-right: 1em !imant; padding-bottom: 0px !imant; padding-left: 1em !imant; border-top-width: 0px !imant; border-right-width: 0px !imant; border-bottom-width: 0px !imant; border-left-width: 0px !imant; border-style: initial !imant; border-color: initial !imant; border-: initial !imant; outline-width: 0px !imant; outline-style: initial !imant; outline-color: initial !imant; vertical-align: line !imant; font: inherit; font-family: C&#111;nsolas, 'Bitstream Vera Sans Mono', 'Courier New', Courier, monospace; color: rgb68, 68, 68; border-top-left-radius: 0px !imant; border-top-right-radius: 0px !imant; border-bottom-right-radius: 0px !imant; border-bottom-left-radius: 0px !imant; -: n&#111;ne !imant; -attachment: initial !imant; -origin: initial !imant; -clip: initial !imant; bottom: auto !imant; : n&#111;ne !imant; height: auto !imant; left: auto !imant; line-height: 17px; overflow-x:  !imant; overflow-y:  !imant; : static !imant; right: auto !imant; text-align: left; top: auto !imant; width: auto !imant; -sizing: - !imant; min-height: inherit !imant; white-space: pre !imant; "><code =" spaces" style="margin-top: 0px !imant; margin-right: 0px !imant; margin-bottom: 0px !imant; margin-left: 0px !imant; padding-top: 0px !imant; padding-right: 0px !imant; padding-bottom: 0px !imant; padding-left: 0px !imant; border-top-width: 0px !imant; border-right-width: 0px !imant; border-bottom-width: 0px !imant; border-left-width: 0px !imant; border-style: initial !imant; border-color: initial !imant; border-: initial !imant; outline-width: 0px !imant; outline-style: initial !imant; outline-color: initial !imant; font-size: 1em !imant; vertical-align: line !imant; font: inherit; font-family: C&#111;nsolas, 'Bitstream Vera Sans Mono', 'Courier New', Courier, monospace !imant; border-top-left-radius: 0px !imant; border-top-right-radius: 0px !imant; border-bottom-right-radius: 0px !imant; border-bottom-left-radius: 0px !imant; -: n&#111;ne !imant; -attachment: initial !imant; -origin: initial !imant; -clip: initial !imant; : initial !imant; bottom: auto !imant; : n&#111;ne !imant; height: auto !imant; left: auto !imant; line-height: 1.1em !imant; overflow-x:  !imant; overflow-y:  !imant; : static !imant; right: auto !imant; top: auto !imant; width: auto !imant; -sizing: - !imant; min-height: inherit !imant; ">&nbsp;&nbsp;&nbsp;&nbsp;</code><code =" plain" style="margin-top: 0px !imant; margin-right: 0px !imant; margin-bottom: 0px !imant; margin-left: 0px !imant; padding-top: 0px !imant; padding-right: 0px !imant; padding-bottom: 0px !imant; padding-left: 0px !imant; border-top-width: 0px !imant; border-right-width: 0px !imant; border-bottom-width: 0px !imant; border-left-width: 0px !imant; border-style: initial !imant; border-color: initial !imant; border-: initial !imant; outline-width: 0px !imant; outline-style: initial !imant; outline-color: initial !imant; font-size: 1em !imant; vertical-align: line !imant; font: inherit; font-family: C&#111;nsolas, 'Bitstream Vera Sans Mono', 'Courier New', Courier, monospace !imant; color: black !imant; border-top-left-radius: 0px !imant; border-top-right-radius: 0px !imant; border-bottom-right-radius: 0px !imant; border-bottom-left-radius: 0px !imant; -: n&#111;ne !imant; -attachment: initial !imant; -origin: initial !imant; -clip: initial !imant; : initial !imant; bottom: auto !imant; : n&#111;ne !imant; height: auto !imant; left: auto !imant; line-height: 1.1em !imant; overflow-x:  !imant; overflow-y:  !imant; : static !imant; right: auto !imant; top: auto !imant; width: auto !imant; -sizing: - !imant; min-height: inherit !imant; ">.where(“CreditCard”=="1");</code></div><div ="line number8 index7 alt1" style="margin-top: 0px !imant; margin-right: 0px !imant; margin-bottom: 0px !imant; margin-left: 0px !imant; padding-top: 0px !imant; padding-right: 1em !imant; padding-bottom: 0px !imant; padding-left: 1em !imant; border-top-width: 0px !imant; border-right-width: 0px !imant; border-bottom-width: 0px !imant; border-left-width: 0px !imant; border-style: initial !imant; border-color: initial !imant; border-: initial !imant; outline-width: 0px !imant; outline-style: initial !imant; outline-color: initial !imant; vertical-align: line !imant; font: inherit; font-family: C&#111;nsolas, 'Bitstream Vera Sans Mono', 'Courier New', Courier, monospace; color: rgb68, 68, 68; border-top-left-radius: 0px !imant; border-top-right-radius: 0px !imant; border-bottom-right-radius: 0px !imant; border-bottom-left-radius: 0px !imant; -: n&#111;ne !imant; -attachment: initial !imant; -origin: initial !imant; -clip: initial !imant; bottom: auto !imant; : n&#111;ne !imant; height: auto !imant; left: auto !imant; line-height: 17px; overflow-x:  !imant; overflow-y:  !imant; : static !imant; right: auto !imant; text-align: left; top: auto !imant; width: auto !imant; -sizing: - !imant; min-height: inherit !imant; white-space: pre !imant; "><code =" plain" style="margin-top: 0px !imant; margin-right: 0px !imant; margin-bottom: 0px !imant; margin-left: 0px !imant; padding-top: 0px !imant; padding-right: 0px !imant; padding-bottom: 0px !imant; padding-left: 0px !imant; border-top-width: 0px !imant; border-right-width: 0px !imant; border-bottom-width: 0px !imant; border-left-width: 0px !imant; border-style: initial !imant; border-color: initial !imant; border-: initial !imant; outline-width: 0px !imant; outline-style: initial !imant; outline-color: initial !imant; font-size: 1em !imant; vertical-align: line !imant; font: inherit; font-family: C&#111;nsolas, 'Bitstream Vera Sans Mono', 'Courier New', Courier, monospace !imant; color: black !imant; border-top-left-radius: 0px !imant; border-top-right-radius: 0px !imant; border-bottom-right-radius: 0px !imant; border-bottom-left-radius: 0px !imant; -: n&#111;ne !imant; -attachment: initial !imant; -origin: initial !imant; -clip: initial !imant; : initial !imant; bottom: auto !imant; : n&#111;ne !imant; height: auto !imant; left: auto !imant; line-height: 1.1em !imant; overflow-x:  !imant; overflow-y:  !imant; : static !imant; right: auto !imant; top: auto !imant; width: auto !imant; -sizing: - !imant; min-height: inherit !imant; "> </code></div><div ="line number8 index7 alt1" style="margin-top: 0px !imant; margin-right: 0px !imant; margin-bottom: 0px !imant; margin-left: 0px !imant; padding-top: 0px !imant; padding-right: 1em !imant; padding-bottom: 0px !imant; padding-left: 1em !imant; border-top-width: 0px !imant; border-right-width: 0px !imant; border-bottom-width: 0px !imant; border-left-width: 0px !imant; border-style: initial !imant; border-color: initial !imant; border-: initial !imant; outline-width: 0px !imant; outline-style: initial !imant; outline-color: initial !imant; vertical-align: line !imant; font: inherit; font-family: C&#111;nsolas, 'Bitstream Vera Sans Mono', 'Courier New', Courier, monospace; color: rgb68, 68, 68; border-top-left-radius: 0px !imant; border-top-right-radius: 0px !imant; border-bottom-right-radius: 0px !imant; border-bottom-left-radius: 0px !imant; -: n&#111;ne !imant; -attachment: initial !imant; -origin: initial !imant; -clip: initial !imant; bottom: auto !imant; : n&#111;ne !imant; height: auto !imant; left: auto !imant; line-height: 17px; overflow-x:  !imant; overflow-y:  !imant; : static !imant; right: auto !imant; text-align: left; top: auto !imant; width: auto !imant; -sizing: - !imant; min-height: inherit !imant; white-space: pre !imant; "><code =" plain" style="margin-top: 0px !imant; margin-right: 0px !imant; margin-bottom: 0px !imant; margin-left: 0px !imant; padding-top: 0px !imant; padding-right: 0px !imant; padding-bottom: 0px !imant; padding-left: 0px !imant; border-top-width: 0px !imant; border-right-width: 0px !imant; border-bottom-width: 0px !imant; border-left-width: 0px !imant; border-style: initial !imant; border-color: initial !imant; border-: initial !imant; outline-width: 0px !imant; outline-style: initial !imant; outline-color: initial !imant; font-size: 1em !imant; vertical-align: line !imant; font: inherit; font-family: C&#111;nsolas, 'Bitstream Vera Sans Mono', 'Courier New', Courier, monospace !imant; color: black !imant; border-top-left-radius: 0px !imant; border-top-right-radius: 0px !imant; border-bottom-right-radius: 0px !imant; border-bottom-left-radius: 0px !imant; -: n&#111;ne !imant; -attachment: initial !imant; -origin: initial !imant; -clip: initial !imant; : initial !imant; bottom: auto !imant; : n&#111;ne !imant; height: auto !imant; left: auto !imant; line-height: 1.1em !imant; overflow-x:  !imant; overflow-y:  !imant; : static !imant; right: auto !imant; top: auto !imant; width: auto !imant; -sizing: - !imant; min-height: inherit !imant; ">he /she maybe think about they are saving credicard information and he can share this information with differant</code></div><div ="line number8 index7 alt1" style="margin-top: 0px !imant; margin-right: 0px !imant; margin-bottom: 0px !imant; margin-left: 0px !imant; padding-top: 0px !imant; padding-right: 1em !imant; padding-bottom: 0px !imant; padding-left: 1em !imant; border-top-width: 0px !imant; border-right-width: 0px !imant; border-bottom-width: 0px !imant; border-left-width: 0px !imant; border-style: initial !imant; border-color: initial !imant; border-: initial !imant; outline-width: 0px !imant; outline-style: initial !imant; outline-color: initial !imant; vertical-align: line !imant; font: inherit; font-family: C&#111;nsolas, 'Bitstream Vera Sans Mono', 'Courier New', Courier, monospace; color: rgb68, 68, 68; border-top-left-radius: 0px !imant; border-top-right-radius: 0px !imant; border-bottom-right-radius: 0px !imant; border-bottom-left-radius: 0px !imant; -: n&#111;ne !imant; -attachment: initial !imant; -origin: initial !imant; -clip: initial !imant; bottom: auto !imant; : n&#111;ne !imant; height: auto !imant; left: auto !imant; line-height: 17px; overflow-x:  !imant; overflow-y:  !imant; : static !imant; right: auto !imant; text-align: left; top: auto !imant; width: auto !imant; -sizing: - !imant; min-height: inherit !imant; white-space: pre !imant; "><code =" plain" style="margin-top: 0px !imant; margin-right: 0px !imant; margin-bottom: 0px !imant; margin-left: 0px !imant; padding-top: 0px !imant; padding-right: 0px !imant; padding-bottom: 0px !imant; padding-left: 0px !imant; border-top-width: 0px !imant; border-right-width: 0px !imant; border-bottom-width: 0px !imant; border-left-width: 0px !imant; border-style: initial !imant; border-color: initial !imant; border-: initial !imant; outline-width: 0px !imant; outline-style: initial !imant; outline-color: initial !imant; font-size: 1em !imant; vertical-align: line !imant; font: inherit; font-family: C&#111;nsolas, 'Bitstream Vera Sans Mono', 'Courier New', Courier, monospace !imant; color: black !imant; border-top-left-radius: 0px !imant; border-top-right-radius: 0px !imant; border-bottom-right-radius: 0px !imant; border-bottom-left-radius: 0px !imant; -: n&#111;ne !imant; -attachment: initial !imant; -origin: initial !imant; -clip: initial !imant; : initial !imant; bottom: auto !imant; : n&#111;ne !imant; height: auto !imant; left: auto !imant; line-height: 1.1em !imant; overflow-x:  !imant; overflow-y:  !imant; : static !imant; right: auto !imant; top: auto !imant; width: auto !imant; -sizing: - !imant; min-height: inherit !imant; ">means such a bad meaning&nbsp;</code></div><div ="line number8 index7 alt1" style="margin-top: 0px !imant; margin-right: 0px !imant; margin-bottom: 0px !imant; margin-left: 0px !imant; padding-top: 0px !imant; padding-right: 1em !imant; padding-bottom: 0px !imant; padding-left: 1em !imant; border-top-width: 0px !imant; border-right-width: 0px !imant; border-bottom-width: 0px !imant; border-left-width: 0px !imant; border-style: initial !imant; border-color: initial !imant; border-: initial !imant; outline-width: 0px !imant; outline-style: initial !imant; outline-color: initial !imant; vertical-align: line !imant; font: inherit; font-family: C&#111;nsolas, 'Bitstream Vera Sans Mono', 'Courier New', Courier, monospace; color: rgb68, 68, 68; border-top-left-radius: 0px !imant; border-top-right-radius: 0px !imant; border-bottom-right-radius: 0px !imant; border-bottom-left-radius: 0px !imant; -: n&#111;ne !imant; -attachment: initial !imant; -origin: initial !imant; -clip: initial !imant; bottom: auto !imant; : n&#111;ne !imant; height: auto !imant; left: auto !imant; line-height: 17px; overflow-x:  !imant; overflow-y:  !imant; : static !imant; right: auto !imant; text-align: left; top: auto !imant; width: auto !imant; -sizing: - !imant; min-height: inherit !imant; white-space: pre !imant; "><code =" plain" style="margin-top: 0px !imant; margin-right: 0px !imant; margin-bottom: 0px !imant; margin-left: 0px !imant; padding-top: 0px !imant; padding-right: 0px !imant; padding-bottom: 0px !imant; padding-left: 0px !imant; border-top-width: 0px !imant; border-right-width: 0px !imant; border-bottom-width: 0px !imant; border-left-width: 0px !imant; border-style: initial !imant; border-color: initial !imant; border-: initial !imant; outline-width: 0px !imant; outline-style: initial !imant; outline-color: initial !imant; font-size: 1em !imant; vertical-align: line !imant; font: inherit; font-family: C&#111;nsolas, 'Bitstream Vera Sans Mono', 'Courier New', Courier, monospace !imant; color: black !imant; border-top-left-radius: 0px !imant; border-top-right-radius: 0px !imant; border-bottom-right-radius: 0px !imant; border-bottom-left-radius: 0px !imant; -: n&#111;ne !imant; -attachment: initial !imant; -origin: initial !imant; -clip: initial !imant; : initial !imant; bottom: auto !imant; : n&#111;ne !imant; height: auto !imant; left: auto !imant; line-height: 1.1em !imant; overflow-x:  !imant; overflow-y:  !imant; : static !imant; right: auto !imant; top: auto !imant; width: auto !imant; -sizing: - !imant; min-height: inherit !imant; "><br></code></div><div ="line number8 index7 alt1" style="margin-top: 0px !imant; margin-right: 0px !imant; margin-bottom: 0px !imant; margin-left: 0px !imant; padding-top: 0px !imant; padding-right: 1em !imant; padding-bottom: 0px !imant; padding-left: 1em !imant; border-top-width: 0px !imant; border-right-width: 0px !imant; border-bottom-width: 0px !imant; border-left-width: 0px !imant; border-style: initial !imant; border-color: initial !imant; border-: initial !imant; outline-width: 0px !imant; outline-style: initial !imant; outline-color: initial !imant; vertical-align: line !imant; font: inherit; font-family: C&#111;nsolas, 'Bitstream Vera Sans Mono', 'Courier New', Courier, monospace; color: rgb68, 68, 68; border-top-left-radius: 0px !imant; border-top-right-radius: 0px !imant; border-bottom-right-radius: 0px !imant; border-bottom-left-radius: 0px !imant; -: n&#111;ne !imant; -attachment: initial !imant; -origin: initial !imant; -clip: initial !imant; bottom: auto !imant; : n&#111;ne !imant; height: auto !imant; left: auto !imant; line-height: 17px; overflow-x:  !imant; overflow-y:  !imant; : static !imant; right: auto !imant; text-align: left; top: auto !imant; width: auto !imant; -sizing: - !imant; min-height: inherit !imant; white-space: pre !imant; "><code =" plain" style="margin-top: 0px !imant; margin-right: 0px !imant; margin-bottom: 0px !imant; margin-left: 0px !imant; padding-top: 0px !imant; padding-right: 0px !imant; padding-bottom: 0px !imant; padding-left: 0px !imant; border-top-width: 0px !imant; border-right-width: 0px !imant; border-bottom-width: 0px !imant; border-left-width: 0px !imant; border-style: initial !imant; border-color: initial !imant; border-: initial !imant; outline-width: 0px !imant; outline-style: initial !imant; outline-color: initial !imant; font-size: 1em !imant; vertical-align: line !imant; font: inherit; font-family: C&#111;nsolas, 'Bitstream Vera Sans Mono', 'Courier New', Courier, monospace !imant; color: black !imant; border-top-left-radius: 0px !imant; border-top-right-radius: 0px !imant; border-bottom-right-radius: 0px !imant; border-bottom-left-radius: 0px !imant; -: n&#111;ne !imant; -attachment: initial !imant; -origin: initial !imant; -clip: initial !imant; : initial !imant; bottom: auto !imant; : n&#111;ne !imant; height: auto !imant; left: auto !imant; line-height: 1.1em !imant; overflow-x:  !imant; overflow-y:  !imant; : static !imant; right: auto !imant; top: auto !imant; width: auto !imant; -sizing: - !imant; min-height: inherit !imant; "><br></code></div><div ="line number8 index7 alt1" style="margin-top: 0px !imant; margin-right: 0px !imant; margin-bottom: 0px !imant; margin-left: 0px !imant; padding-top: 0px !imant; padding-right: 1em !imant; padding-bottom: 0px !imant; padding-left: 1em !imant; border-top-width: 0px !imant; border-right-width: 0px !imant; border-bottom-width: 0px !imant; border-left-width: 0px !imant; border-style: initial !imant; border-color: initial !imant; border-: initial !imant; outline-width: 0px !imant; outline-style: initial !imant; outline-color: initial !imant; vertical-align: line !imant; font: inherit; font-family: C&#111;nsolas, 'Bitstream Vera Sans Mono', 'Courier New', Courier, monospace; color: rgb68, 68, 68; border-top-left-radius: 0px !imant; border-top-right-radius: 0px !imant; border-bottom-right-radius: 0px !imant; border-bottom-left-radius: 0px !imant; -: n&#111;ne !imant; -attachment: initial !imant; -origin: initial !imant; -clip: initial !imant; bottom: auto !imant; : n&#111;ne !imant; height: auto !imant; left: auto !imant; line-height: 17px; overflow-x:  !imant; overflow-y:  !imant; : static !imant; right: auto !imant; text-align: left; top: auto !imant; width: auto !imant; -sizing: - !imant; min-height: inherit !imant; white-space: pre !imant; "><code =" plain" style="margin-top: 0px !imant; margin-right: 0px !imant; margin-bottom: 0px !imant; margin-left: 0px !imant; padding-top: 0px !imant; padding-right: 0px !imant; padding-bottom: 0px !imant; padding-left: 0px !imant; border-top-width: 0px !imant; border-right-width: 0px !imant; border-bottom-width: 0px !imant; border-left-width: 0px !imant; border-style: initial !imant; border-color: initial !imant; border-: initial !imant; outline-width: 0px !imant; outline-style: initial !imant; outline-color: initial !imant; font-size: 1em !imant; vertical-align: line !imant; font: inherit; font-family: C&#111;nsolas, 'Bitstream Vera Sans Mono', 'Courier New', Courier, monospace !imant; color: black !imant; border-top-left-radius: 0px !imant; border-top-right-radius: 0px !imant; border-bottom-right-radius: 0px !imant; border-bottom-left-radius: 0px !imant; -: n&#111;ne !imant; -attachment: initial !imant; -origin: initial !imant; -clip: initial !imant; : initial !imant; bottom: auto !imant; : n&#111;ne !imant; height: auto !imant; left: auto !imant; line-height: 1.1em !imant; overflow-x:  !imant; overflow-y:  !imant; : static !imant; right: auto !imant; top: auto !imant; width: auto !imant; -sizing: - !imant; min-height: inherit !imant; ">i think this not be good for us&nbsp;</code></div><div ="line number8 index7 alt1" style="margin-top: 0px !imant; margin-right: 0px !imant; margin-bottom: 0px !imant; margin-left: 0px !imant; padding-top: 0px !imant; padding-right: 1em !imant; padding-bottom: 0px !imant; padding-left: 1em !imant; border-top-width: 0px !imant; border-right-width: 0px !imant; border-bottom-width: 0px !imant; border-left-width: 0px !imant; border-style: initial !imant; border-color: initial !imant; border-: initial !imant; outline-width: 0px !imant; outline-style: initial !imant; outline-color: initial !imant; vertical-align: line !imant; font: inherit; font-family: C&#111;nsolas, 'Bitstream Vera Sans Mono', 'Courier New', Courier, monospace; color: rgb68, 68, 68; border-top-left-radius: 0px !imant; border-top-right-radius: 0px !imant; border-bottom-right-radius: 0px !imant; border-bottom-left-radius: 0px !imant; -: n&#111;ne !imant; -attachment: initial !imant; -origin: initial !imant; -clip: initial !imant; bottom: auto !imant; : n&#111;ne !imant; height: auto !imant; left: auto !imant; line-height: 17px; overflow-x:  !imant; overflow-y:  !imant; : static !imant; right: auto !imant; text-align: left; top: auto !imant; width: auto !imant; -sizing: - !imant; min-height: inherit !imant; white-space: pre !imant; "><code =" plain" style="margin-top: 0px !imant; margin-right: 0px !imant; margin-bottom: 0px !imant; margin-left: 0px !imant; padding-top: 0px !imant; padding-right: 0px !imant; padding-bottom: 0px !imant; padding-left: 0px !imant; border-top-width: 0px !imant; border-right-width: 0px !imant; border-bottom-width: 0px !imant; border-left-width: 0px !imant; border-style: initial !imant; border-color: initial !imant; border-: initial !imant; outline-width: 0px !imant; outline-style: initial !imant; outline-color: initial !imant; font-size: 1em !imant; vertical-align: line !imant; font: inherit; font-family: C&#111;nsolas, 'Bitstream Vera Sans Mono', 'Courier New', Courier, monospace !imant; color: black !imant; border-top-left-radius: 0px !imant; border-top-right-radius: 0px !imant; border-bottom-right-radius: 0px !imant; border-bottom-left-radius: 0px !imant; -: n&#111;ne !imant; -attachment: initial !imant; -origin: initial !imant; -clip: initial !imant; : initial !imant; bottom: auto !imant; : n&#111;ne !imant; height: auto !imant; left: auto !imant; line-height: 1.1em !imant; overflow-x:  !imant; overflow-y:  !imant; : static !imant; right: auto !imant; top: auto !imant; width: auto !imant; -sizing: - !imant; min-height: inherit !imant; "><br></code></div><div ="line number8 index7 alt1" style="margin-top: 0px !imant; margin-right: 0px !imant; margin-bottom: 0px !imant; margin-left: 0px !imant; padding-top: 0px !imant; padding-right: 1em !imant; padding-bottom: 0px !imant; padding-left: 1em !imant; border-top-width: 0px !imant; border-right-width: 0px !imant; border-bottom-width: 0px !imant; border-left-width: 0px !imant; border-style: initial !imant; border-color: initial !imant; border-: initial !imant; outline-width: 0px !imant; outline-style: initial !imant; outline-color: initial !imant; vertical-align: line !imant; font: inherit; font-family: C&#111;nsolas, 'Bitstream Vera Sans Mono', 'Courier New', Courier, monospace; color: rgb68, 68, 68; border-top-left-radius: 0px !imant; border-top-right-radius: 0px !imant; border-bottom-right-radius: 0px !imant; border-bottom-left-radius: 0px !imant; -: n&#111;ne !imant; -attachment: initial !imant; -origin: initial !imant; -clip: initial !imant; bottom: auto !imant; : n&#111;ne !imant; height: auto !imant; left: auto !imant; line-height: 17px; overflow-x:  !imant; overflow-y:  !imant; : static !imant; right: auto !imant; text-align: left; top: auto !imant; width: auto !imant; -sizing: - !imant; min-height: inherit !imant; white-space: pre !imant; "><code =" plain" style="margin-top: 0px !imant; margin-right: 0px !imant; margin-bottom: 0px !imant; margin-left: 0px !imant; padding-top: 0px !imant; padding-right: 0px !imant; padding-bottom: 0px !imant; padding-left: 0px !imant; border-top-width: 0px !imant; border-right-width: 0px !imant; border-bottom-width: 0px !imant; border-left-width: 0px !imant; border-style: initial !imant; border-color: initial !imant; border-: initial !imant; outline-width: 0px !imant; outline-style: initial !imant; outline-color: initial !imant; font-size: 1em !imant; vertical-align: line !imant; font: inherit; font-family: C&#111;nsolas, 'Bitstream Vera Sans Mono', 'Courier New', Courier, monospace !imant; color: black !imant; border-top-left-radius: 0px !imant; border-top-right-radius: 0px !imant; border-bottom-right-radius: 0px !imant; border-bottom-left-radius: 0px !imant; -: n&#111;ne !imant; -attachment: initial !imant; -origin: initial !imant; -clip: initial !imant; : initial !imant; bottom: auto !imant; : n&#111;ne !imant; height: auto !imant; left: auto !imant; line-height: 1.1em !imant; overflow-x:  !imant; overflow-y:  !imant; : static !imant; right: auto !imant; top: auto !imant; width: auto !imant; -sizing: - !imant; min-height: inherit !imant; ">i just wanna know what is your idea? </code></div>]]>
   </description>
   <pubDate>Thu, 01 Nov 2012 13:46:47 -700</pubDate>
   <guid isPermaLink="true">http://www.ideablade.com/forum/forum_posts.asp?TID=3750&amp;PID=15042#15042</guid>
  </item> 
  <item>
   <title>sql injection and more risk : Not sure that I understand the...</title>
   <link>http://www.ideablade.com/forum/forum_posts.asp?TID=3750&amp;PID=15025#15025</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://www.ideablade.com/forum/member_profile.asp?PF=1524" rel="nofollow">jtraband</a><br /><strong>Subject:</strong> 3750<br /><strong>Posted:</strong> 31-Oct-2012 at 9:49am<br /><br />Not sure that I understand the question or the issue of SQL injection. <br><br>With Breeze, the query that is shipped to the server is not converted to SQL, if ever, until it goes thru the server side ApiController and is then passed to the EFContextProvider (if you are backing your model with EF).&nbsp; I'm not sure how you would be able to perform a SQL injection attack within this structure, since no sql is sent from the client to the server.<br><br>&nbsp;Within the ApiController,&nbsp; you control the "shape" of the model that you want to expose to Breeze.&nbsp; You can expose as much or as little of the model as you like.<br><br>Sorry, if this isn't clearer, but I need to understand the problem better. <br>]]>
   </description>
   <pubDate>Wed, 31 Oct 2012 09:49:15 -700</pubDate>
   <guid isPermaLink="true">http://www.ideablade.com/forum/forum_posts.asp?TID=3750&amp;PID=15025#15025</guid>
  </item> 
  <item>
   <title>sql injection and more risk : Hey ,we are writing all queries...</title>
   <link>http://www.ideablade.com/forum/forum_posts.asp?TID=3750&amp;PID=15018#15018</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://www.ideablade.com/forum/member_profile.asp?PF=1566" rel="nofollow">kaanse</a><br /><strong>Subject:</strong> 3750<br /><strong>Posted:</strong> 31-Oct-2012 at 1:16am<br /><br />Hey ,<div><br></div><div>we are writing all queries in to js and giving columns name table name etc..</div><div>what can we do for security ?</div><div>what is your&nbsp;suggestion?</div><div><br></div>]]>
   </description>
   <pubDate>Wed, 31 Oct 2012 01:16:00 -700</pubDate>
   <guid isPermaLink="true">http://www.ideablade.com/forum/forum_posts.asp?TID=3750&amp;PID=15018#15018</guid>
  </item> 
 </channel>
</rss>