How to protect a download ?

Issues related to the Login tools of WYSIWYG Web Builder.
Forum rules
PLEASE READ THE FORUM RULES BEFORE YOU POST:
viewtopic.php?f=12&t=1901

MUST READ:
http://www.wysiwygwebbuilder.com/login_basics.html
http://www.wysiwygwebbuilder.com/login_tools.html

TIP:
A lot of information about the login tools can be found in the help/manual.
Also checkout the demo template that is include with the software.
ciberyan
 
 
Posts: 33
Joined: Thu Feb 08, 2007 8:44 am
Location: France

Post by ciberyan » Wed Sep 22, 2010 9:07 am

Hello Naval

I have very few users that complain that instead of downloading the target file, this downolad an empty file with the name of the php script itself ....

Any clue where I have to look ? as this never happen on my side

Thanks in advance

User avatar
Navaldesign
 
 
Posts: 1051
Joined: Sat Mar 01, 2008 8:08 pm
Location: Italy
Contact:

Post by Navaldesign » Wed Sep 22, 2010 1:50 pm

These users are probably using a download manager. This type of software have this issue.

Only solution I can suggest is that when this download Manager window opens, they should click on Cancel. Immediately after that, the classic Windows download window will appear and they can download normally (save or open)
www.dbtechnosystems.com

ciberyan
 
 
Posts: 33
Joined: Thu Feb 08, 2007 8:44 am
Location: France

Re: How to protect a download ?

Post by ciberyan » Sun Nov 28, 2010 11:10 am

Hello Naval !

I am in big trouble as for an unknwon reason (at least for me !) the script is not working anymore suddendly ...

Each try to load a file resend me on the login page exactly as I was no logged then I am with no error from WB7

What can I do to check where can be the problem ?

You speak of the STAT() problem, how can I check if this is the issue ? any way to bypass that

Thanks in advance for your time and patience ...

User avatar
Navaldesign
 
 
Posts: 1051
Joined: Sat Mar 01, 2008 8:08 pm
Location: Italy
Contact:

Re: How to protect a download ?

Post by Navaldesign » Sun Nov 28, 2010 11:22 am

Let me understand this correctly.....

You are sying that actually the user can't log in and is always sent to the login page ?

If yes, and you have not changed anything, then probbaly the issue is that sessions are no longer preserved in your site.

Can you log in normally in other protected pages (not the download page) ? If not, it is (almost certainly) an issue with sessions, and you should ask your hosting company to check it.
www.dbtechnosystems.com

ciberyan
 
 
Posts: 33
Joined: Thu Feb 08, 2007 8:44 am
Location: France

Re: How to protect a download ?

Post by ciberyan » Sun Nov 28, 2010 5:37 pm

Arghhh ...

It seems I cant log to any page protected

I have added a "logging name" tool to my redirect after logging page and it say : "Welcome Not logged in"
So this seems a problem on the site itself not in your code

To help during fixing, can you see a mean to systematically allow the download, logged or not ?
What should I add or modify in the PHP code of the page to do that
At least visitors will can download !

Thanks in advance

User avatar
Navaldesign
 
 
Posts: 1051
Joined: Sat Mar 01, 2008 8:08 pm
Location: Italy
Contact:

Re: How to protect a download ?

Post by Navaldesign » Sun Nov 28, 2010 5:46 pm

Not sure what you are asking me....

If you want to allow download, to non logged in visitors, just remove the protection code from the downloader script, and you are done.
www.dbtechnosystems.com

ciberyan
 
 
Posts: 33
Joined: Thu Feb 08, 2007 8:44 am
Location: France

Re: How to protect a download ?

Post by ciberyan » Sun Nov 28, 2010 6:04 pm

I think I have solved the last part by my self !

I put comment around the test so now users have allowed download up to I solve the last part with my provider !

Thanks

User avatar
me.prosenjeet
 
 
Posts: 1245
Joined: Mon Dec 24, 2007 1:50 pm
Location: Lucknow
Contact:

Re: How to protect a download ?

Post by me.prosenjeet » Fri Dec 03, 2010 3:42 pm

R-Alalia wrote:You can easily protect the download while having a antivirus in your computer.And if you want to protect it while downloading than you must try internet downloader software.It will helps you in downloading files securely.
Elaborate please

ciberyan
 
 
Posts: 33
Joined: Thu Feb 08, 2007 8:44 am
Location: France

Re: How to protect a download ?

Post by ciberyan » Fri Mar 11, 2011 4:27 pm

Hello
It was some time before I come back again with my questions ... :)

The logging system works like a charm no problem BUT to avoid boring visitors unnecessarily, how can I, once logged in, stay logged even if the visitor close his browser and shut off his computer ??
is there a way to save that somewhere ?
with this system, when the visitor come back, he will be directly logged

Thanks in advance for you valuable idea !

User avatar
Pablo
 
Posts: 13051
Joined: Tue Mar 28, 2006 12:00 pm
Location: Europe
Contact:

Re: How to protect a download ?

Post by Pablo » Fri Mar 11, 2011 4:45 pm

how can I, once logged in, stay logged even if the visitor close his browser and shut off his computer ??
This is not possible, unless you modify the code yourself.

ciberyan
 
 
Posts: 33
Joined: Thu Feb 08, 2007 8:44 am
Location: France

Re: How to protect a download ?

Post by ciberyan » Fri Mar 11, 2011 5:27 pm

Hello

Of which code are you speaking about ??

User avatar
Pablo
 
Posts: 13051
Joined: Tue Mar 28, 2006 12:00 pm
Location: Europe
Contact:

Re: How to protect a download ?

Post by Pablo » Fri Mar 11, 2011 5:49 pm

Of which code are you speaking about ??
The code generated by Web Builder for the login tools.

ciberyan
 
 
Posts: 33
Joined: Thu Feb 08, 2007 8:44 am
Location: France

Re: How to protect a download ?

Post by ciberyan » Sat Mar 12, 2011 1:09 pm

Ok
Seems difficult
Offering this possibility could be interesting anyway

edit : Does a system using cookie can achieve that may be ?

mhn-pc
 
 
Posts: 23
Joined: Wed Feb 09, 2011 3:48 pm
Location: Asia
Contact:

Re: How to protect a download ?

Post by mhn-pc » Wed Mar 30, 2011 8:33 pm

Hello Naval.
I have a problem in download high size files !

why are not download high size files ?
for example:

I can not download files with 50MB size ? and connection is disconnected and connected. :(

User avatar
Navaldesign
 
 
Posts: 1051
Joined: Sat Mar 01, 2008 8:08 pm
Location: Italy
Contact:

Re: How to protect a download ?

Post by Navaldesign » Fri Apr 01, 2011 4:39 am

This might be due to server settings: memory_limit and buffer settings.

For big files there are different pieces of code that outut each chunk whithout buffering the entire file in memory. However, these are out of the limits of the free help I can provide in this forum.
www.dbtechnosystems.com

Post Reply

Who is online

Users browsing this forum: No registered users and 2 guests