I have a Web Site that I'm interested in selling eBooks from. I'm
having a problem setting it up as I would like, and hope that someone
can help me out.
Inside my domain I have a folder called eBooks. Inside this folder I
have some eBooks, such as eggrecipes.pdf
If the user types in the URL <domain>/eBooks/eggrecipes.pdf the eBook
eggrecipes.pdf will appear in the browser.
I don't want this to happen. Instead, I would like for the browser to
say "access not available" or something like that. Anything, but for
the user to be able to see and view and download this pdf file by only
typing in the address in the URL.
I've turned "directory browsing" on my account to "off"...I thought
that would work, but I can still type in the URL, and see the eBook.
You may be wondering why I want to even have the eBook on this Web Site
if users can't view it. Well, I want them to purchase this eBook from
my Web Site, and once they do, it will be forwarded to them via
software.
Understand? What do I need to do ?
Thanks so Much... 3 1646
This link will help, its a tutorial on how to protect your PDF files and
serve them as streams instead of allowing connections to the file http://www.johntimney.com/home/redir...leDownload.asp
It even comes with sample code!
--
Regards
John Timney (MVP)
VISIT MY WEBSITE: http://www.johntimney.com
<sa***********@ yahoo.cawrote in message
news:11******** *************@b 28g2000cwb.goog legroups.com...
>I have a Web Site that I'm interested in selling eBooks from. I'm
having a problem setting it up as I would like, and hope that someone
can help me out.
Inside my domain I have a folder called eBooks. Inside this folder I
have some eBooks, such as eggrecipes.pdf
If the user types in the URL <domain>/eBooks/eggrecipes.pdf the eBook
eggrecipes.pdf will appear in the browser.
I don't want this to happen. Instead, I would like for the browser to
say "access not available" or something like that. Anything, but for
the user to be able to see and view and download this pdf file by only
typing in the address in the URL.
I've turned "directory browsing" on my account to "off"...I thought
that would work, but I can still type in the URL, and see the eBook.
You may be wondering why I want to even have the eBook on this Web Site
if users can't view it. Well, I want them to purchase this eBook from
my Web Site, and once they do, it will be forwarded to them via
software.
Understand? What do I need to do ?
Thanks so Much...
Hi, sa***********@y ahoo.ca wrote:
I have a Web Site that I'm interested in selling eBooks from. I'm
having a problem setting it up as I would like, and hope that someone
can help me out.
Inside my domain I have a folder called eBooks. Inside this folder I
have some eBooks, such as eggrecipes.pdf
If the user types in the URL <domain>/eBooks/eggrecipes.pdf the eBook
eggrecipes.pdf will appear in the browser.
No offense meant, but... are you sure you're qualified to make an
e-commerce website, when you don't know how to handle the security on
the server?
I ask genuinely, and I understand that there is a learning curve in
managing a server, but it seems to me that these are very basic things.
I don't want this to happen. Instead, I would like for the browser to
say "access not available" or something like that. Anything, but for
the user to be able to see and view and download this pdf file by only
typing in the address in the URL.
I've turned "directory browsing" on my account to "off"...I thought
that would work, but I can still type in the URL, and see the eBook.
Directory browsing tells the server that if the folder name is entered
in the browser's location bar, the server should return a list of all
files in that folder, formatted as HTML. If you turn directory browsing
off, it will return an error page, but file access is still allowed.
You must absolutely place your protected files in a folder that is not
accessible to the anonymous users. Depending on which server you have,
there are different possibilities. On IIS, you can set the folder's
permission using Windows' security dialog. Once the user pays for the
file, you copy it to a non-protected folder and you allow access with a
hyperlink for a limited period of time. Or, you give the user a username
and password for that folder. Or you send the file per email. Many
possibilities.
You may be wondering why I want to even have the eBook on this Web Site
if users can't view it. Well, I want them to purchase this eBook from
my Web Site, and once they do, it will be forwarded to them via
software.
Understand? What do I need to do ?
Thanks so Much...
Greetings,
Laurent
--
Laurent Bugnion, GalaSoft
Software engineering: http://www.galasoft-LB.ch
PhotoAlbum: http://www.galasoft-LB.ch/pictures
Support children in Calcutta: http://www.calcutta-espoir.ch
On the server you need to set the folder in question's properties to that
the files cannot be browsed. If it is a FrontPage web, this can be done from
FrontPage. Also perhaps your web host gives this feature in their online
server utilities.
<sa***********@ yahoo.cawrote in message
news:11******** *************@b 28g2000cwb.goog legroups.com...
>I have a Web Site that I'm interested in selling eBooks from. I'm
having a problem setting it up as I would like, and hope that someone
can help me out.
Inside my domain I have a folder called eBooks. Inside this folder I
have some eBooks, such as eggrecipes.pdf
If the user types in the URL <domain>/eBooks/eggrecipes.pdf the eBook
eggrecipes.pdf will appear in the browser.
I don't want this to happen. Instead, I would like for the browser to
say "access not available" or something like that. Anything, but for
the user to be able to see and view and download this pdf file by only
typing in the address in the URL.
I've turned "directory browsing" on my account to "off"...I thought
that would work, but I can still type in the URL, and see the eBook.
You may be wondering why I want to even have the eBook on this Web Site
if users can't view it. Well, I want them to purchase this eBook from
my Web Site, and once they do, it will be forwarded to them via
software.
Understand? What do I need to do ?
Thanks so Much... This thread has been closed and replies have been disabled. Please start a new discussion. Similar topics |
by: newb_bee |
last post by:
Hi, I'd like to know the best method(s) of ... protecting the download
link ... it's location ...not having a new window pop up with the URL
in it...
I am aware there is no foolproof way (-:
What are my _best_ options for getting paid for my products before the
purchaser gets sent to the page? I am selling downloadable ebooks
(yes, our own, not somebody else's). I use PaySystems if that matters
so I have options there, but am most...
|
by: Baz'noid |
last post by:
Hi all,
As the size of my database and the number of users grows, i've found a
horrible bug in the system with a very simple solution (but i don't know how
to implement it)...
If two people are accessing the database simultaneously (literally at the
same time), things slow down a little. No problem. The problem becomes if
one user switches from one form to another from a customer's record (in this
case, having the details open as...
|
by: Birthday |
last post by:
Hi,
I have started to learn C# nowadays and find some ebooks on the structure
and the syntax of the c# language. All the examples in the ebooks that I've
found are all about console applications. But the my aim to learn C# is to
make windows applications. I am familiar with ASP, Javascript, a little C
and C++. Last day I saw an example of windows application written with C# ,
I think I can learn constructing windows applications using C#...
|
by: bigskipster |
last post by:
http://cooldogebooks.blogspot.com
Submit your comments because I need them!
Thank You.
Prentice Hall | Microsoft Press | Algorithics | Nolo Press & Law |
|
by: Free Ebooks |
last post by:
Free ebooks of MCTS Exams (70-431, 70-529, 70-528, 70-526, 70-536)
http://free-tech-ebooks.blogspot.com/2007/02/download-free-ebook-of-mcts-exams-70.html
36 Microsoft Certification Tutorials and Free Practice Exams
http://free-tech-ebooks.blogspot.com/2007/01/36-microsoft-certification-tutorials_19.html
| |
by: Free Ebooks |
last post by:
81 AJAX and 24 JavaScript Ebooks
Here are some of the AJAX topics and areas covered by these ebooks:
Rails and AJAX
Building Ajax Web Applications
Creating Ajax Web Pages
Ajax Patterns
Ajax Tutorial
Ajax Best Practices
Ajax XMLHttpRequest and Struts
|
by: grazzy.cool |
last post by:
Most People Will Wait a Lifetime and
Never Be in the Right Place at the Right Time...
http://smallbusinessebooks.googlepages.com/
http://smallbusiness-ebooks.blogspot.com/
|
by: brendan_gallagher_2001 |
last post by:
HI
I am developog an ASP.net site (using vb.net 1.1) which will be
accessed by a number of different office locations, where certain
users will be assigned a authoriser profile, and others will be
assigned a verifier profile. At least two authoriser, and multiple
verifiers exist per office.
I need to be able to prevent two users with the same profile, and from
the same office location, accessing the same page at the same time. I
|
by: onlineshop |
last post by:
It's very interesting and high-grade ebooks
Please visit here: www.ebooks-tnt.ch
|
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 synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
|
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 captivates audiences and drives business growth.
The Art of Business Website Design
Your website is...
| |
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 choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
|
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 launch it, all on its own....
Now, this would greatly impact the work of software developers. The idea...
|
by: conductexam |
last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one.
At the time of converting from word file to html my equations which are in the word document file was convert into image.
Globals.ThisAddIn.Application.ActiveDocument.Select();...
|
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 the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
|
by: adsilva |
last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
|
by: muto222 |
last post by:
How can i add a mobile payment intergratation into php mysql website.
| |
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 effective websites that not only look great but also perform exceptionally well. In this comprehensive...
| |