我想使用平面文件数据存储而不是数据库。由于我不知道,我很想知道: 什么文本文件扩展名是安全的,可以在线存储我的数据以及如何使用 这种方法的成本和时间有效(平面文件数据存储)。 任何人都可以分享想法?谢谢
Hi, I would like to use flat file data storage instead of database. Since I am new to it, I am wondering: What text file extension is a safe one to store my data online and how cost- and time-effective is this method (flat file data storage). Anyone can share thoughts? Thanks
推荐答案< vu ****** @ gmailwrote in message news :11 ********************** @ d34g2000cwd.googlegr oups ... <vu******@gmailwrote in message news:11**********************@d34g2000cwd.googlegr oups... 我想使用平面文件数据存储而不是数据库。由于我不知道,我很想知道: 什么文本文件扩展名是安全的,可以在线存储我的数据以及如何使用 这种方法的成本和时间有效(平面文件数据存储)。 任何人都可以分享想法?谢谢 Hi, I would like to use flat file data storage instead of database. Since I am new to it, I am wondering: What text file extension is a safe one to store my data online and how cost- and time-effective is this method (flat file data storage). Anyone can share thoughts? Thanks
为什么你会喜欢使用平面文件数据存储而不是数据库? 它是否可供阅读 - 只是目的? (可以使用会话变量。) 并发更新会对多个用户造成问题。 多少数据(多少行/你在说什么? 如果你使用.asp扩展名和第一行是: <%Response.End%> 然后访问者无法通过网址直接访问您的平面文件。 或者,第一行可以将它们重定向到另一个页面: <%Response.Redirect(" http://www.google/")%> ; 如果您想重新考虑: 如何从ASP创建数据库? classicasp.aspfaq/general .. .e-from-asp.htm l
Why would you "like to use flat file data storage instead of database"? Is it for read-only purposes? (Session variables could be used.) Concurrent updates would be a problem with multiple users. How much data (how many lines / bytes) are you talking about? If you use the ".asp" extension and the first line is: <% Response.End %> then visitors cannot directly access your flat file via a URL. Or, the first line could redirect them to another page: <% Response.Redirect("www.google/") %> In case you want to reconsider: How do I create a database from ASP? classicasp.aspfaq/general...e-from-asp.htm l
为什么你会喜欢使用平面文件数据存储而不是数据库? Why would you "like to use flat file data storage instead of database"?
更快,更便宜。
Faster, cheaper.
是否只读用途? (可以使用会话变量。) Is it for read-only purposes? (Session variables could be used.)不,我想到了完整的数据库替换。 ASP文件系统对象 将读/写并执行所有数据库工作
No, I thought of complete database replacement. ASP File System Object would read/write and do all database stuff instead
并发更新将是多个用户的问题。 Concurrent updates would be a problem with multiple users.我没有考虑到这一点。怎么会发生?
I did not consider that. How would it happen?
你在谈论多少数据(多少行/字节)? How much data (how many lines / bytes) are you talking about?不多,但我想知道限制是什么?可接受的尺寸是多少?
Not much, but I wonder what are the limits? What size if acceptable?
> 如果你使用.asp扩展名和第一行是: <%Response.End%> 然后访问者无法通过网址直接访问您的平面文件。 > If you use the ".asp" extension and the first line is: <% Response.End %> then visitors cannot directly access your flat file via a URL.感谢提示
Thanks for the hint
dude,只需使用访问数据库。 < vu ****** @ gmail写信息 新闻:11 *************** *******@e3g2000cwe.googlegro ups ... dude, just use an access database. <vu******@gmailwrote in message news:11**********************@e3g2000cwe.googlegro ups... > > >为什么你要使用平面文件数据存储而不是数据库? >Why would you "like to use flat file data storage instead of database"?
更快,更便宜。
Faster, cheaper.
>它是否只读用途? (可以使用会话变量。) >Is it for read-only purposes? (Session variables could be used.)不,我想到了完整的数据库替换。 ASP文件系统对象 将读/写并执行所有数据库内容
No, I thought of complete database replacement. ASP File System Object would read/write and do all database stuff instead
>并发更新将是多个用户的问题。 >Concurrent updates would be a problem with multiple users.我没有考虑到这一点。怎么会发生?
I did not consider that. How would it happen?
>你在谈论多少数据(多少行/字节)? >How much data (how many lines / bytes) are you talking about?不多,但我想知道有什么限制?可接受的大小是什么?
Not much, but I wonder what are the limits? What size if acceptable?
>> 如果你使用.asp扩展名和第一行是:<%Response.End%> 然后访问者无法通过网址直接访问您的平面文件。 >>If you use the ".asp" extension and the first line is: <% Response.End %>then visitors cannot directly access your flat file via a URL.感谢提示
Thanks for the hint
更多推荐
平面文件安全性与数据库
发布评论