473,698 Members | 2,668 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Preventing People from Accessing my ebooks..

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

Sep 22 '06 #1
3 1638
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...

Sep 23 '06 #2
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
Sep 23 '06 #3
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...

Sep 23 '06 #4

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

Similar topics

8
1773
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...
4
1888
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...
3
3245
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#...
3
1551
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 |
0
1808
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
0
2344
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
0
918
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/
2
1745
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
0
1719
by: onlineshop | last post by:
It's very interesting and high-grade ebooks Please visit here: www.ebooks-tnt.ch
0
8603
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,...
0
9023
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 captivates audiences and drives business growth. The Art of Business Website Design Your website is...
0
8861
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 choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
1
6518
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 instead of User Defined Types (UDT). For example, to manage the data in unbound forms. Adolph will...
0
5860
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();...
0
4366
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...
1
3045
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
2
2327
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
3
1999
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 effective websites that not only look great but also perform exceptionally well. In this comprehensive...

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.