473,573 Members | 2,902 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Flat File Security vs Database

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

Sep 18 '06 #1
14 2261
<vu******@gmail .comwrote in message
news:11******** **************@ d34g2000cwd.goo glegroups.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
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.Redire ct("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

Sep 18 '06 #2

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.)
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?
>
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

Sep 18 '06 #3
dude, just use an access database.

<vu******@gmail .comwrote in message
news:11******** **************@ e3g2000cwe.goog legroups.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.)

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?
>>
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

Sep 18 '06 #4
I do... so...

Sep 18 '06 #5
<vu******@gmail .comwrote in message
news:11******** **************@ e3g2000cwe.goog legroups.com...
Why would you "like to use flat file data storage instead of database"?

Faster, cheaper.
What makes you think that it will be faster and cheaper.

Also, "cheaper" how?
If your Web host supports MS-Access then there's no cost.

A flat file might be fine for you to maintain a list of Contacts
but not for multiple users reading and rewriting to it frequently.

Concurrent updates would be a problem with multiple users.

I did not consider that. How would it happen?
One kludgy technique would be so set a "lock" whenever a user is
working with the file and "unlock" it when they're done. Subsequent
users would find the "lock" on and could update the file.

File Lock in ASP
http://forums.digitalpoint.com/showthread.php?t=122155
Sep 18 '06 #6

McKirahan wrote:
<vu******@gmail .comwrote in message
news:11******** **************@ e3g2000cwe.goog legroups.com...
Why would you "like to use flat file data storage instead of database"?
Faster, cheaper.

What makes you think that it will be faster and cheaper.

Also, "cheaper" how?
If your Web host supports MS-Access then there's no cost.
The poster still needs a copy of Office Professional to be able to
create his database. That's, ermmmm, £40.00 or so more expensive than
the mid-range Office offer? Or about £80.00 more expensive than the
"standard" (Word, Excel,Outlook only) version. Enough to make anyone
pause for thought....

;-)

--
Mike Brind

Sep 18 '06 #7
Mike Brind wrote:
McKirahan wrote:
><vu******@gmai l.comwrote in message
news:11******* *************** @e3g2000cwe.goo glegroups.com.. .
>>>Why would you "like to use flat file data storage instead of
database"?

Faster, cheaper.

What makes you think that it will be faster and cheaper.

Also, "cheaper" how?
If your Web host supports MS-Access then there's no cost.

The poster still needs a copy of Office Professional to be able to
create his database.
Why? As long as MDAC and the Jet components (free download from MS) is
loaded, a database can be created in its entiredty using a combination of
ADOX and SQL DDL.

If you want the design-time experience provided by Access, that's another
story.

--
Microsoft MVP - ASP/ASP.NET
Please reply to the newsgroup. This email account is my spam trap so I
don't check it very often. If you must reply off-line, then remove the
"NO SPAM"
Sep 18 '06 #8
"Mike Brind" <pa*******@hotm ail.comwrote in message
news:11******** *************@k 70g2000cwa.goog legroups.com...

McKirahan wrote:
<vu******@gmail .comwrote in message
news:11******** **************@ e3g2000cwe.goog legroups.com...
Why would you "like to use flat file data storage instead of
database"?

Faster, cheaper.

What makes you think that it will be faster and cheaper.

Also, "cheaper" how?
If your Web host supports MS-Access then there's no cost.
The poster still needs a copy of Office Professional to be able to
create his database. That's, ermmmm, £40.00 or so more expensive than
the mid-range Office offer? Or about £80.00 more expensive than the
"standard" (Word, Excel,Outlook only) version. Enough to make anyone
pause for thought....

;-)

So you missed the link in my first posting...

How do I create a database from ASP?
URL:http://classicasp.aspfaq.com/general...abase-from-asp
..html

No copy of MS-Access needed -- if the Web host supports it.

MDAC is required which "has shipped as part of the Windows Operating System
since Windows 98" per URL:http://msdn.microsoft.com/data/learning/MDAC

Google on: Create Access Database with ADOX

Then there's MySQL which is free; again, if the Web host supports it.
Sep 18 '06 #9

McKirahan wrote:
"Mike Brind" <pa*******@hotm ail.comwrote in message
news:11******** *************@k 70g2000cwa.goog legroups.com...

McKirahan wrote:
<vu******@gmail .comwrote in message
news:11******** **************@ e3g2000cwe.goog legroups.com...
Why would you "like to use flat file data storage instead of
database"?
>
Faster, cheaper.
What makes you think that it will be faster and cheaper.

Also, "cheaper" how?
If your Web host supports MS-Access then there's no cost.

The poster still needs a copy of Office Professional to be able to
create his database. That's, ermmmm, £40.00 or so more expensive than
the mid-range Office offer? Or about £80.00 more expensive than the
"standard" (Word, Excel,Outlook only) version. Enough to make anyone
pause for thought....

;-)

So you missed the link in my first posting...
Correct. I did. And I completely forgot about ADOX/DDL.

--
Mike Brind

Sep 19 '06 #10

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

13
3404
by: raykyoto | last post by:
Hi all, I'm sure this is a popular question that comes up every few months here. Indeed, I've looked at some of the past postings, but I would like to ask things differently. Basically, I'm using a flat file to storing data. I have to do this because mySQL is not installed on my web server, and I am not the root user. The amount of...
1
2181
by: Tim Fierro | last post by:
Hello, I have had many years using flat file databases (File Express from way back) but am now at a company where a relational database is needed and would carry us into the future. Since I know some basics on databases, have VB Pro programming experience over the years, and I know most of what we need to carry as far as data; I have...
9
2182
by: FFMG | last post by:
In my site I have a config table, (MySQL), with about 30 entries; the data is loaded on every single page load. This is not the only call to the db, (we do a total of about 8 calls to the db). As with many configurations settings, once the options are set the values will not change much. So I thought it would be a good idea to move the data...
9
1883
by: =?Utf-8?B?TmF2YW5lZXRoLksuTg==?= | last post by:
Hello I am developing a system for user tracking. In this I am tracking all the visitors that came to my website. i developed this using a HTTPModule and storing the data in a SQL Server database. Everything worked fine till my website gets good traffic. When website is getting good traffic, this method is slowing down the entire...
15
5252
by: lxyone | last post by:
Using a flat file containing table names, fields, values whats the best way of creating html pages? I want control over the html pages ie 1. layout 2. what data to show 3. what controls to show - text boxes, input boxes, buttons, hyperlinks ie the usual. The data is not obtained directly from a database.
0
7784
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main...
0
7705
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language...
0
8205
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that...
0
8074
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the...
0
6424
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then...
1
5601
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes...
0
3734
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in...
0
3739
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
0
1044
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.