访问网页但在本地存储数据 [英] Accessing a web page but storing data locally

查看:67
本文介绍了访问网页但在本地存储数据的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

大家好

希望您能提供帮助.

我们需要从中央资源(例如.com或.co.uk域)检索网页.我们遇到的问题是,可能会在数据库(例如SQL Server)中本地检索填充网页/表单的数据.

由于数据保护,数据无法集中在线存储.

目前,技术/平台还不是真正的问题.

示例

Office具有带有SQL Server/本地数据库的内部网络.用户将访问一个网站,在该网站上将检索包含表单的网页,并从内部SQL Server/本地数据库中检索数据并进行整合,然后通过网络浏览器进行显示.

这可能吗?

提前非常感谢.

BB

Hi Everyone

I hope you can help.

We have a requirement to retrieve web pages from a central source such as a .com or .co.uk domain. The problem we have is that the data which would populate the webpage/form needs to be retrieve locally perhaps within a database such as SQL Server.

The data CANNOT be stored centrally online due to data protection.

Technology/Platform not a real issue at this point.

Example

Office has an internal network with an SQL Server/local database. User would access a website where a webpage containing a form would be retrieved and data would be retrieved from the internal SQL Server/local database and integrated and then displayed via a web browser.

Is this possible?

Many thanks in advance.

BB

推荐答案

像这样的跨站点请求伪造的声音对我来说是可能的.这意味着您可以在其他地方托管银行的网站,并且仍然可以正常运行.进行一些小的更改会很有趣,例如,当资金转移到另一个帐户时,插入您自己的帐户数据.因此,这不可能.

祝您好运!
Sounds like some kind of Cross-site request forgery to me if that would be possible. It would mean that you could host a website of your bank somewhere else and still would work as normal. Would make it interesting to make some small changes like, for example, insert your own account data when money is transfered to another account. So, no this should not be possible.

Good luck!


中央Web服务器(托管Web应用程序的服务器)是否可以访问本地DB Server?

如果是,则可以制作一个XML文件或任何映射文件,在其中可以为每个位置指定数据库连接字符串,并通过检测请求位置可以在代码中动态更改数据库连接字符串.
Does the central web server (where the web application is hosted) have access to the local DB Servers ?

If yes, then you can make a XML File or any mapping file where for each location you can specify the database connection strings, and by detecting the request location you can change the database connection string dynamically in the code.


这篇关于访问网页但在本地存储数据的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆