You are not logged in.

#1 2012-07-27 05:21:59

Muhammad
User RankUser RankUser RankUser RankUser RankUser Rank
بِسمِ اللَّهِ الرَّحمٰنِ الرَّحيمِ
From: Sahiwal Division
Registered: 2012-03-22
Posts: 16,336
Website

How to prevent direct file downloads in php?

Hi everyone,
I have file that can be download using this link eg "http://www.globalguideline.com/books/book.pdf"
my authentication page before download is http://www.globalguideline.com/authentication/login.php"
okay how do i prevent the users by using PHP from direct download of my files using direct url "http://www.globalguideline.com/books/book.pdf"
Regards.


Online Web Tutorials And Interview Questions With Answers Forum:
http://www.globalguideline.com/forum/

2012-07-27 05:21:59

Advertisement
Ads By Google

Re: How to prevent direct file downloads in php?



The following user say "Thank You" for this post:Guest

#2 2012-10-31 06:27:05

h1a1irc
User RankUser RankUser RankUser RankUser RankUser Rank
Banned
Registered: 2012-10-18
Posts: 75

Re: How to prevent direct file downloads in php?

Thanks a lot for such a nice sharing.

The following user say "Thank You" for this post:Guest

Board footer