Welcome to Geeklog, Anonymous Friday, November 08 2024 @ 08:24 pm EST
Geeklog Forums
[FILEMGMT HACK] Protected Store
Status: offline
mthomas
Forum User
Full Member
Registered: 04/18/04
Posts: 148
VERSION 1.3 -- Downloads HERE:
Files to enable Filemgmt Plugin for Protected Store
Complete Filemgmt 1.3RC3 Tarball WITH Protected Store v1.2
Update 1.3 02/10/2005:
Corrected Bug where if Mode was not supplied nothing happened
Update 1.2 02/10/2005:
Added Protected Store functionality to Category and Screenshot Snaps, removed some useless code, added documentation lines to files.
Update 1.1 02/09/2005: Now Compatible with FireFox browser
www.ThomasSoft.net is using this code changes if you would like to see (or rather not see the differance) the only visable differance is that there is no 2nd window opened unless it is a txt or graphic type file.
Uses fpassthrough to retrieve files from a hidden or protected store.
The store is not acessable from a URL, thus security can be used to restrict who can download individual files. *Please note this hack does not impliment this change it does how ever enforce filemgmt.user rules you may have placed*
Future development will hopefully enhance file security by allowing group access policies to be set on filemgmt categories.
downloader.class.php included with Geeklog is a bit more complex then I like. I like nice simple code so anyone who looks at my code can go oh hey I get it...that said some of my older stuff is terrible hehe So I will continue to supply my own.
Files to enable Filemgmt Plugin for Protected Store
Complete Filemgmt 1.3RC3 Tarball WITH Protected Store v1.2
Update 1.3 02/10/2005:
Corrected Bug where if Mode was not supplied nothing happened
Update 1.2 02/10/2005:
Added Protected Store functionality to Category and Screenshot Snaps, removed some useless code, added documentation lines to files.
Update 1.1 02/09/2005: Now Compatible with FireFox browser
www.ThomasSoft.net is using this code changes if you would like to see (or rather not see the differance) the only visable differance is that there is no 2nd window opened unless it is a txt or graphic type file.
Uses fpassthrough to retrieve files from a hidden or protected store.
The store is not acessable from a URL, thus security can be used to restrict who can download individual files. *Please note this hack does not impliment this change it does how ever enforce filemgmt.user rules you may have placed*
Future development will hopefully enhance file security by allowing group access policies to be set on filemgmt categories.
downloader.class.php included with Geeklog is a bit more complex then I like. I like nice simple code so anyone who looks at my code can go oh hey I get it...that said some of my older stuff is terrible hehe So I will continue to supply my own.
20
10
Quote
Status: offline
Blaine
Forum User
Moderator
Registered: 07/16/02
Posts: 1232
Location:Canada
I don't want to discourage you and welcome user modifying the plugin. It is open source.
I just wanted to note that I have group access functionality coded but not released yet. Once I get my current forum plugin work completed I will begin work again on the filemgmt plugin. I also have coded the download feature to work with the GL download class.
I will be have these features plus others in my next release.
But again, feel free to dig in since you probally have need for these features now.
Geeklog components by PortalParts -- www.portalparts.com
I just wanted to note that I have group access functionality coded but not released yet. Once I get my current forum plugin work completed I will begin work again on the filemgmt plugin. I also have coded the download feature to work with the GL download class.
I will be have these features plus others in my next release.
But again, feel free to dig in since you probally have need for these features now.
Geeklog components by PortalParts -- www.portalparts.com
14
14
Quote
Status: offline
mthomas
Forum User
Full Member
Registered: 04/18/04
Posts: 148
Anything I post in relaton to someone else's plugin is considered temp code, my hope is that if the author of the plugin has not considered a change, that they will. If they have and are planning on releasing them then what I post are simply stop gaps till a formal change is done. What I posted for this plugin took 10 mins to write basiclly copy and paste of existing code, it was a quick change without having to integrate it with any thing so I did it.
Filemgmt is a great plugin with alot of room for growth. Both in security options, ability and options. A few external code options allow it to become a backend for hsoting files dynamically without the user ever knowing its dynamic content. A few code additions will allow it to limit file access on a per user or group basis, as Blaine said many of thoe changes are already built but have not been rolled into this release. I look forward to seeing them.
Good Job Blaine!
Filemgmt is a great plugin with alot of room for growth. Both in security options, ability and options. A few external code options allow it to become a backend for hsoting files dynamically without the user ever knowing its dynamic content. A few code additions will allow it to limit file access on a per user or group basis, as Blaine said many of thoe changes are already built but have not been rolled into this release. I look forward to seeing them.
Good Job Blaine!
9
12
Quote
Status: offline
mthomas
Forum User
Full Member
Registered: 04/18/04
Posts: 148
Updated 1.1
Replaced DL code with external include file
Update make script compatable with FireFox Browser
(Copied code from PHP.net contribution rather than recomplie what I had)
Updated Blaine's dlformat.php file, removed target='_blank' statments, the result is no more blank popups when downloading.
Code should be more browser compatable with all browsers
Replaced DL code with external include file
Update make script compatable with FireFox Browser
(Copied code from PHP.net contribution rather than recomplie what I had)
Updated Blaine's dlformat.php file, removed target='_blank' statments, the result is no more blank popups when downloading.
Code should be more browser compatable with all browsers
14
12
Quote
Status: offline
mthomas
Forum User
Full Member
Registered: 04/18/04
Posts: 148
Updated Blaine's dlformat.php file, removed target='_blank' statments, the result is no more blank popups when downloading.
There is an extension (Disable Targets For Downloads 0. on FireFox site which should also eliminate this Annoyance.
11
11
Quote
All times are EST. The time is now 08:24 pm.
- Normal Topic
- Sticky Topic
- Locked Topic
- New Post
- Sticky Topic W/ New Post
- Locked Topic W/ New Post
- View Anonymous Posts
- Able to post
- Filtered HTML Allowed
- Censored Content