473,396 Members | 1,714 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,396 software developers and data experts.

securing html files using asp

Here is the situation:

My client has purchased 'software' - it really is just a series of html
documents. I need to ensure that these pages are protected and only
those who log in can view them.

I am building an asp/db based login front end to ensure that users have
paid for the system. I just do not know how to protect the files from
there because they are html. Converting them to asp is not an option.

Any ideas??

Thanks in advance for your time.

Jul 19 '05 #1
4 1360
put them in a "non-anonymous authentication" directory.
Either that or move them outside the wwwroot path and stream them to the
clients after authentiction.
Or store them in a DB and pull them on demand after authentication.

--
Curt Christianson
Owner/Lead Developer, DF-Software
www.Darkfalz.com
"Jennifer Smith" <je******@nospam.com> wrote in message
news:40***************@nospam.com...
Here is the situation:

My client has purchased 'software' - it really is just a series of html
documents. I need to ensure that these pages are protected and only
those who log in can view them.

I am building an asp/db based login front end to ensure that users have
paid for the system. I just do not know how to protect the files from
there because they are html. Converting them to asp is not an option.

Any ideas??

Thanks in advance for your time.

Jul 19 '05 #2
Thanks Curt.

I have some follow up questions:

If I used non-anonymous authentication wouldn't they have to enter a second
username and password set up on the server?

Can you explain what you mean by streaming the files in? I like this one
because the files cannot be seen using the website url.

DB is not really an option at this point. There are 1000's of files, and
they will be updated regularily.

Thanks!!

"Curt_C [MVP]" wrote:
put them in a "non-anonymous authentication" directory.
Either that or move them outside the wwwroot path and stream them to the
clients after authentiction.
Or store them in a DB and pull them on demand after authentication.

--
Curt Christianson
Owner/Lead Developer, DF-Software
www.Darkfalz.com

"Jennifer Smith" <je******@nospam.com> wrote in message
news:40***************@nospam.com...
Here is the situation:

My client has purchased 'software' - it really is just a series of html
documents. I need to ensure that these pages are protected and only
those who log in can view them.

I am building an asp/db based login front end to ensure that users have
paid for the system. I just do not know how to protect the files from
there because they are html. Converting them to asp is not an option.

Any ideas??

Thanks in advance for your time.


Jul 19 '05 #3
inline......

--
Curt Christianson
Owner/Lead Developer, DF-Software
www.Darkfalz.com
"Jennifer Smith" <je******@nospam.com> wrote in message
news:40***************@nospam.com...
Thanks Curt.

I have some follow up questions:

If I used non-anonymous authentication wouldn't they have to enter a second username and password set up on the server?
yes and no. You could pass it in with a user:pa**@www.yoursite.com
Can you explain what you mean by streaming the files in? I like this one
because the files cannot be seen using the website url.

see this http://www.darkfalz.com/1098/
DB is not really an option at this point. There are 1000's of files, and
they will be updated regularily.

That limits it down a little then.
Thanks!!

"Curt_C [MVP]" wrote:
put them in a "non-anonymous authentication" directory.
Either that or move them outside the wwwroot path and stream them to the
clients after authentiction.
Or store them in a DB and pull them on demand after authentication.

--
Curt Christianson
Owner/Lead Developer, DF-Software
www.Darkfalz.com

"Jennifer Smith" <je******@nospam.com> wrote in message
news:40***************@nospam.com...
Here is the situation:

My client has purchased 'software' - it really is just a series of html documents. I need to ensure that these pages are protected and only
those who log in can view them.

I am building an asp/db based login front end to ensure that users have paid for the system. I just do not know how to protect the files from
there because they are html. Converting them to asp is not an option.

Any ideas??

Thanks in advance for your time.

Jul 19 '05 #4
Hi Jennifer,
Thanks for posting here. As for your latest question on how to stream
file(on the server disk) in, I think that means to read a ceratin type of
file (as binary) in and then write out to the browser at runtime, yes?
Here are some kb and tech articles discussing on such topics:

#HOWTO: Use the ADODB.Stream Object to Send Binary Files to the Browser
through ASP
http://support.microsoft.com/default...b;en-us;276488

#Reading a text file in ASP
http://www.codeproject.com/asp/readfile.asp

#HOWTO: Raise a "File Download" Dialog Box for a Known MIME Type
http://support.microsoft.com/default...b;en-us;260519

#ASP File Downloading samples
http://www.devasp.com/search/default.asp?c_id=6

Hope they're helpful.
Regards,

Steven Cheng
Microsoft Online Support

Get Secure! www.microsoft.com/security
(This posting is provided "AS IS", with no warranties, and confers no
rights.)

Get Preview at ASP.NET whidbey
http://msdn.microsoft.com/asp.net/whidbey/default.aspx

Jul 19 '05 #5

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

Similar topics

7
by: Tom | last post by:
Can anyone give me any advice on how to secure a folder on a network server so that documents in the folder can only be opened through an Access database or by the database admin. I need to store...
11
by: Wm. Scott Miller | last post by:
Hello all! We are building applications here and have hashing algorithms to secure secrets (e.g passwords) by producing one way hashes. Now, I've read alot and I've followed most of the advice...
7
by: Simon Harvey | last post by:
Hi everyone, I just read an article that said that when you use a web.config file to secure a directory, all it can do is secure the asp.net resources in that directory - not any non .net...
7
by: Nick Gilbert | last post by:
Hi, As part of a website (ASP.NET) we're creating, we need the ability to store documents with pretty much 'mission critical' security. ie, if the server is completely compromised (eg a...
2
by: Tod Birdsall | last post by:
Hi All, I am trying to secure non-ASP.NET files (i.e. .html, .pdf) in an application running on IIS 6.0, Win2K3 using the .NET Framework 2.0. What has worked in the past using .NET Framework...
9
by: Brian Russell | last post by:
I develop Web applications locally on my Windows XP (SP1) laptop using Visual Studio. My company is concerned about security, especially if the laptop is compromised, so I should either encrypt...
2
by: Vaibhav Shah | last post by:
Hi, Can we secure HTML pages on a web site using asp.net? We have a requirement in which we want to display a login page before a visitor can view any HTML page on our website. WE have...
4
by: P1ayboy | last post by:
I need advice on how to best to protect software with licenses. We are developing a windows application that people can purchase and download off the net, but the software needs to be protected...
4
by: Stephen Poley | last post by:
Whenever anyone has a question about securing an Access database he/she is usually referred (unsurprisingly) to the Security FAQ. This is however incomplete/unclear with respect to databases with a...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
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...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
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...
0
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...

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.