English 中文(简体)
浏览器的安全
原标题:solr security for web apps

I have a web app which gets its data from a Solr instance (Tomcat) Additional queries are done client side with AJAX, the data is directly pulled from Solr. Now this gives users the option to perform any query they like, and is of course a huge security hole. It s not a particular big issue for this particular app, but I m curious at how to fix this. How to secure Solr, when client side AJAX calls are required? (Preferably I would solve this with PHP.)

最佳回答

您不能直接询问索尔,而是可以建立一个简单的PHP包裹,限制可能查询的类型。 然后,客户询问了这份PHP书,然后询问了索尔。 一旦你这样做,你就可以限制通过防火墙或用你的 Java应用程序服务器进入当地大厅。

问题回答

暂无回答




相关问题
ajax login using httpRequest?

I am trying to develop my login script to give feedback to the user if the login is valid or not. Basically if it isn t correct a div box will show saying its wrong, if its correct it will show its ...

Virtual Tour using sketch up, ajax, flash technologies

I want to know if there are existing technology that make your 3d models in sketch into virtual tours, using either Ajax or Flash for web presentation. If there s none, which will be a good approach ...

How can i update div continuously

I have asp.net application where i have a div which showing the value from other site. The value of that site is changing continuously. I want that my div will automatically update in some interval ...

热门标签