中等信任度下进程内数据库的选项
我见过一些不同的 .NET 进程内 SQL 数据库(包括来自 Microsoft 的数据库),但它们要么无法在中等信任度 (ASP.NET) 下工作,要么文档/网站根本没有提及。
一般来说,您对进程内数据库有哪些经验?您知道哪些经验可以在 ASP.NET 的中等信任度下工作?
更新:我知道,当置于 GAC 中时,很多事情都可以在中等信任度下发挥作用,它充当一种信任机构。 但是,我更喜欢可部署的解决方案。
I have seen a few different in-process SQL databases for .NET (including one from Microsoft), but either they do not work under medium trust (ASP.NET) or the documentation/websites don't even talk about.
What experiences have you had with in-process databases in general, and do you know of any that work under medium trust for ASP.NET?
Update: I know that a lot of things work in Medium trust when placed in the GAC, it acts as kind of a trust authority. However, I would prefer solutions that are bin deployable.
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(2)
尝试VistaDB,它在中等信任配置下工作,并且可以部署在应用程序的bin中文件。
它还支持 ASP.Net Membership API、100% .Net、加密、使用 SQL Server 语法等。
Try VistaDB, it works in medium trust configuration, and can be deployed in the application's bin file.
It also supports ASP.Net Membership API, 100% .Net, encryption, uses SQL Server syntax, etc.
当程序集存储在 GAC 中时,其中很多都可以工作(我知道 SQLite 可以)。
我假设您正在使用某种形式的共享主机来体验中等信任的困境。 大多数提供商都足够了解,可以将二进制文件添加到全局缓存中,因为它们是第三方并且看起来相当有信誉。 SQLite 已经很完善,所以看起来您不应该要求他们安装木马。
Lots of them will work (I know SQLite does) when the assemblies are stored in the GAC.
I assume you're on some form of shared hosting to experience the woes of Medium Trust. Most providers are understanding enough to add binaries to the global cache on the basis that they're third party and look fairly reputable. SQLite is well established so it shouldn't look like you're asking them to install a trojan.