English 中文(简体)
表格参考网格安全
原标题:Safest way to reference row ID for table

I ve been wondering for a while now but I ve yet to come up with a truly useful way of manipulating rows passed to the browser without exposing part of my DB. Basically what I want is a way to (1) Presenta table of elements retrieved from my database (2) Have the possibility to edit/delete my elements through AJAX.

现在我的困境是,我最终不得不通过一个要素索引,让用户能够查阅,并可能改变使他有机会篡改我的数据库的价值。 因此,我的问题是:在不向用户披露信息的情况下,介绍一个老板/双子的最好方式是什么?

我是否应在桌旁使用隐蔽的浏览? 体现原始实地价值?

最佳回答

如果用户无法获取你的数据并检查用户,则用户可以查阅在进行上述更新之前正在更新的数据。

我愿建议大家看一下“后台”(http://documentcloud.github.com/backbone/),因为它帮助了相当一部分数据操纵。

问题回答

暂无回答




相关问题
CSS working only in Firefox

I am trying to create a search text-field like on the Apple website. The HTML looks like this: <div class="frm-search"> <div> <input class="btn" type="image" src="http://www....

image changed but appears the same in browser

I m writing a php script to crop an image. The script overwrites the old image with the new one, but when I reload the page (which is supposed to pickup the new image) I still see the old one. ...

Firefox background image horizontal centering oddity

I am building some basic HTML code for a CMS. One of the page-related options in the CMS is "background image" and "stretch page width / height to background image width / height." so that with large ...

Separator line in ASP.NET

I d like to add a simple separator line in an aspx web form. Does anyone know how? It sounds easy enough, but still I can t manage to find how to do it.. 10x!

热门标签