平面文件安全性与数据库 [英] Flat File Security vs Database

查看:55
本文介绍了平面文件安全性与数据库的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述



我想使用平面文件数据存储而不是数据库。由于我不知道
,我很想知道:


什么文本文件扩展名是安全的,可以在线存储我的数据以及如何使用

这种方法的成本和时间有效(平面文件数据存储)。


任何人都可以分享想法?谢谢

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 ****** @ gmail.comwrote in message

news :11 ********************** @ d34g2000cwd.googlegr oups.com ...
<vu******@gmail.comwrote in message
news:11**********************@d34g2000cwd.googlegr oups.com...



我想使用平面文件数据存储而不是数据库。由于我不知道
,我很想知道:


什么文本文件扩展名是安全的,可以在线存储我的数据以及如何使用

这种方法的成本和时间有效(平面文件数据存储)。


任何人都可以分享想法?谢谢
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.com/")%> ;

如果您想重新考虑:


如何从ASP创建数据库?
http://classicasp.aspfaq.com/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("http://www.google.com/") %>
In case you want to reconsider:

How do I create a database from ASP?
http://classicasp.aspfaq.com/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.com写信息

新闻:11 *************** *******@e3g2000cwe.googlegro ups.com ...
dude, just use an access database.

<vu******@gmail.comwrote in message
news:11**********************@e3g2000cwe.googlegro ups.com...

>
>

>为什么你要使用平面文件数据存储而不是数据库?
>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



这篇关于平面文件安全性与数据库的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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