473,396 Members | 1,924 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.

How to enforce registration ?

Hi,

I would like to provide a "trial version" download on my web page but
enforce a registration process before the file can be retrieved. Is there a
simple solution to overcome the possibility that the users who happens to
know the path to where the file is stored simply bypasses the registration
process and navigates straight to the file ?

I was hoping this was a common problem with a simple solution/best practice
to resolve.

Any suggestions much appreciated.

Regards

Niclas Lindblom
Mar 27 '06 #1
2 1037
Yes, don't store your files in your virtual directory. Write a page that
can stream down a file by reading it from disk and writing out to the
response. That way, users will need access to that particular page in order
to be able to download anything.

"Niclas" <li*************@hotmail.com> wrote in message
news:uO**************@TK2MSFTNGP12.phx.gbl...
Hi,

I would like to provide a "trial version" download on my web page but
enforce a registration process before the file can be retrieved. Is there
a simple solution to overcome the possibility that the users who happens
to know the path to where the file is stored simply bypasses the
registration process and navigates straight to the file ?

I was hoping this was a common problem with a simple solution/best
practice to resolve.

Any suggestions much appreciated.

Regards

Niclas Lindblom

Mar 27 '06 #2
I'd suggest you move these files into a private folder (or database) with
security set appropriately.
Then you can create a page that retrieves the files for them once you've
authenticated them.

Here's more info:
http://SteveOrr.net/articles/EasyUploads.aspx
http://msdn.microsoft.com/library/de...FileTopic3.asp

--
I hope this helps,
Steve C. Orr, MCSD, MVP
http://SteveOrr.net
"Niclas" <li*************@hotmail.com> wrote in message
news:uO**************@TK2MSFTNGP12.phx.gbl...
Hi,

I would like to provide a "trial version" download on my web page but
enforce a registration process before the file can be retrieved. Is there
a simple solution to overcome the possibility that the users who happens
to know the path to where the file is stored simply bypasses the
registration process and navigates straight to the file ?

I was hoping this was a common problem with a simple solution/best
practice to resolve.

Any suggestions much appreciated.

Regards

Niclas Lindblom

Mar 27 '06 #3

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

Similar topics

3
by: Jason | last post by:
Hi all, Merry Christmas! I would like to have trial period for my .NET application and let user to enter S/N for registration. I would like to ask how can we store the registration status of...
23
by: Ken Turkowski | last post by:
The construct (void*)(((long)ptr + 3) & ~3) worked well until now to enforce alignment of the pointer to long boundaries. However, now VC++ warns about it, undoubtedly to help things work on 64...
1
by: Ashok K Kumar | last post by:
Hi, I have a ATL Attributed DLL which exposes a COM Component. My requirement is, whenever, the DLL is registered, I also would like to add some entries to the HKLM/Softwares/CompanyName........
2
by: news | last post by:
I just upgraded to PHP 4.4.2 on my Slackware 10.2 system. And Apache/mySQL/PHP all work great through a browser. No errors. But when I try to run a PHP script through the command line, which I...
0
by: Wayne Smith | last post by:
I've taken the following code from a developers web site which should allow a user to register and receive an email message with a link to activate their account, but when I click the link on my...
0
by: Brian Quinlan | last post by:
What's New? =========== The deadline for early-bird registration for the Vancouver Python Workshop is this Friday, June 30th. Early-bird registration is significantly discounted over normal...
0
by: Brian Quinlan | last post by:
What's New? =========== The deadline for early-bird registration for the Vancouver Python Workshop is today! Early-bird registration is significantly discounted over normal registration, so...
1
by: delusion7 | last post by:
Trying to create a table and insert records from a webform and I keep getting this message: "Successfully created the registration table. Unable to execute the query. Error code...
2
by: nirav11 | last post by:
# include <iostream> # include <fstream> # include <iomanip> # include <cstdlib> // needed for exit () using namespace std; int main() { ifstream inFile; ofstream outFile;
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
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?
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...
0
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...
0
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,...

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.