
hi , guyz am trying to limit my downloads in my site to be only via mobile i.e you cannot download to your pc n thing from this site you have to be browsing via a mobile phone in order to download , any ideas with the codes or tutorials on this ,,,,am using joomla thanx

On Mon, May 11, 2009 at 1:00 PM, imelda Mueni <mueni0@gmail.com> wrote:
hi ,
guyz am trying to limit my downloads in my site to be only via mobile i.e you cannot download to your pc n thing from this site you have to be browsing via a mobile phone in order
to download , any ideas with the codes or tutorials on this ,,,,am using joomla
You'll be forced to "detect" the browser and "see" if it is one of those in the thousands of mobile devices, but again, we can fake that in the browser we installed on our PCs, just the same way we write code to "detect and see", we reverse engineer it:-) -- Best regards, Odhiambo WASHINGTON, Nairobi,KE +254733744121/+254722743223 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ "Clothes make the man. Naked people have little or no influence on society." -- Mark Twain

Javascript browser detection I got the code below from http://www.w3schools.com/js/js_browser.asp *<script type="text/javascript"> var browser=navigator.appName; var b_version=navigator.appVersion; var version=parseFloat(b_version); document.write("Browser name: "+ browser); document.write("<br />"); document.write("Browser version: "+ version); </script>* Obviously, the above wont work if you deactivate Javascript on your browser. 2009/5/11 Odhiambo ワシントン <odhiambo@gmail.com>
On Mon, May 11, 2009 at 1:00 PM, imelda Mueni <mueni0@gmail.com> wrote:
hi ,
guyz am trying to limit my downloads in my site to be only via mobile i.e you cannot download to your pc n thing from this site you have to be browsing via a mobile phone in order
to download , any ideas with the codes or tutorials on this ,,,,am using joomla
You'll be forced to "detect" the browser and "see" if it is one of those in the thousands of mobile devices, but again, we can fake that in the browser we installed on our PCs, just the same way we write code to "detect and see", we reverse engineer it:-)
-- Best regards, Odhiambo WASHINGTON, Nairobi,KE +254733744121/+254722743223 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ "Clothes make the man. Naked people have little or no influence on society." -- Mark Twain
_______________________________________________ Skunkworks mailing list Skunkworks@lists.my.co.ke http://lists.my.co.ke/cgi-bin/mailman/listinfo/skunkworks Other services @ http://my.co.ke Other lists ------------- Skunkworks announce: http://lists.my.co.ke/cgi-bin/mailman/listinfo/skunkworks-announce Science - http://lists.my.co.ke/cgi-bin/mailman/listinfo/science kazi - http://lists.my.co.ke/cgi-bin/mailman/admin/kazi/general

of course the point is to lock out most of the Non technical users, not hardcore users like washington! You can google for code on how to validate mobile browsers, preferably the native browsers and a few more like opera, ucweb, bolt. A more expensive way is to ask a user for their mobile number and then sms them the link. You can look for bulk sms providers at like 1 bob per sms, or message centers. -- Bored? Stop been Bored. why are u still Bored? visit my blog http://gramware.blogspot.com Get your free issue of tekniaonline, a Kenyan ICT magazine at http://tekniaonline.blogspot.com

of course the point is to lock out most of the Non technical users, not hardcore users like washington! You can google for code on how to validate mobile browsers, preferably the native browsers and a few more like opera, ucweb, bolt. A more expensive way is to ask a user for their mobile number and then sms them the link. You can look for bulk sms providers at like 1 bob per sms, or message centers. -- Bored? Stop been Bored. why are u still Bored? visit my blog http://gramware.blogspot.com Get your free issue of tekniaonline, a Kenyan ICT magazine at http://tekniaonline.blogspot.com

I Have a class you can plug into your code. so far it can detect almost all handheld devices that are out there (at least those that i know of). you can contact me off list and all give you instructions on how to plug it in, and also when i can be sending you the data list of updated handheld devices _____ From: skunkworks-bounces@lists.my.co.ke [mailto:skunkworks-bounces@lists.my.co.ke] On Behalf Of imelda Mueni Sent: Monday, May 11, 2009 1:00 PM To: skunkworks Subject: [Skunkworks] code hi , guyz am trying to limit my downloads in my site to be only via mobile i.e you cannot download to your pc n thing from this site you have to be browsing via a mobile phone in order to download , any ideas with the codes or tutorials on this ,,,,am using joomla thanx

*ENCOURAGEMENT* Just get a list of the mobile user agents you would like to access your content then use client side code to check against this list asynchronously when the page is loaded and then disable or enable the links accordingly. If the browser doesn't support asynchronous requests, use cgi to send a splash screen page with a timeout that gathers the browsers info, then when it reloads (coz of the timeout) it sends the main page to the client with the links disabled or enabled based on the info gathered by the splash page. (Remember to use session variables to maintain state!) Remember client side detection is harder to defeat than server side browser detection. * DISCOURAGEMENT* Bak Kioko's point, its very dificult to enforce restrictions on applications whose code is visible or open. Hardcore users will always find a counter measure. Any measures you apply will only TRY to discourage unauthorised functions from being accessed/executed. Jus unleash the web application and hope the Hardcore have something better to do. Cheers Msee!

my head ache is am using joomla , am using a component called jdownload.............am having it had to figure out how to block it On Thu, May 14, 2009 at 8:09 PM, James Nzomo <skunkworks@mnada.biz> wrote:
*ENCOURAGEMENT* Just get a list of the mobile user agents you would like to access your content then use client side code to check against this list asynchronously when the page is loaded and then disable or enable the links accordingly.
If the browser doesn't support asynchronous requests, use cgi to send a splash screen page with a timeout that gathers the browsers info, then when it reloads (coz of the timeout) it sends the main page to the client with the links disabled or enabled based on the info gathered by the splash page. (Remember to use session variables to maintain state!)
Remember client side detection is harder to defeat than server side browser detection. * DISCOURAGEMENT* Bak Kioko's point, its very dificult to enforce restrictions on applications whose code is visible or open. Hardcore users will always find a counter measure.
Any measures you apply will only TRY to discourage unauthorised functions from being accessed/executed.
Jus unleash the web application and hope the Hardcore have something better to do.
Cheers Msee!
_______________________________________________ Skunkworks mailing list Skunkworks@lists.my.co.ke http://lists.my.co.ke/cgi-bin/mailman/listinfo/skunkworks Other services @ http://my.co.ke Other lists ------------- Skunkworks announce: http://lists.my.co.ke/cgi-bin/mailman/listinfo/skunkworks-announce Science - http://lists.my.co.ke/cgi-bin/mailman/listinfo/science kazi - http://lists.my.co.ke/cgi-bin/mailman/admin/kazi/general

Yours needs a custom made solution. It might be easier for you to code from scratch than to mod the existing joomla / jdownload code. Don't fear it.....It's not that complex!

I have had AKI is now IMELDA On 5/19/09, James Nzomo <skunkworks@mnada.biz> wrote:
Yours needs a custom made solution. It might be easier for you to code from scratch than to mod the existing joomla / jdownload code. Don't fear it.....It's not that complex!

Maybe you are for remaining nameless.... On Tue, May 19, 2009 at 1:13 PM, skunk works <skunkworks100@gmail.com>wrote:
I have had AKI is now IMELDA
On 5/19/09, James Nzomo <skunkworks@mnada.biz> wrote:
Yours needs a custom made solution. It might be easier for you to code from scratch than to mod the existing joomla / jdownload code. Don't fear it.....It's not that complex!
_______________________________________________ Skunkworks mailing list Skunkworks@lists.my.co.ke http://lists.my.co.ke/cgi-bin/mailman/listinfo/skunkworks Other services @ http://my.co.ke Other lists ------------- Skunkworks announce: http://lists.my.co.ke/cgi-bin/mailman/listinfo/skunkworks-announce Science - http://lists.my.co.ke/cgi-bin/mailman/listinfo/science kazi - http://lists.my.co.ke/cgi-bin/mailman/admin/kazi/general

Some guy who everyone wants to do the Tuesday talks. it is in one of the threads. Apparently, he has overtaken you in popularity on the list. 2009/5/20 imelda Mueni <mueni0@gmail.com>
what i mend to ask is ? what is AKI
On Wed, May 20, 2009 at 8:55 AM, imelda Mueni <mueni0@gmail.com> wrote:
On Tue, May 19, 2009 at 1:13 PM, skunk works <skunkworks100@gmail.com>wrote:
I have had AKI is now IMELDA
huh?
_______________________________________________ Skunkworks mailing list Skunkworks@lists.my.co.ke http://lists.my.co.ke/cgi-bin/mailman/listinfo/skunkworks Other services @ http://my.co.ke Other lists ------------- Skunkworks announce: http://lists.my.co.ke/cgi-bin/mailman/listinfo/skunkworks-announce Science - http://lists.my.co.ke/cgi-bin/mailman/listinfo/science kazi - http://lists.my.co.ke/cgi-bin/mailman/admin/kazi/general
-- Have your view/take on the nightmare that is Nairobi traffic on my blog, http://gramware.blogspot.com in a comical/satirical take!

oh hadnt seen the thread would be interested on a diff note didnt know this was a competition for popularity! missed that too On Wed, May 20, 2009 at 1:35 PM, Dennis Kioko <dmbuvi@gmail.com> wrote:
Some guy who everyone wants to do the Tuesday talks. it is in one of the threads. Apparently, he has overtaken you in popularity on the list.
2009/5/20 imelda Mueni <mueni0@gmail.com>
what i mend to ask is ? what is AKI
On Wed, May 20, 2009 at 8:55 AM, imelda Mueni <mueni0@gmail.com> wrote:
On Tue, May 19, 2009 at 1:13 PM, skunk works <skunkworks100@gmail.com>wrote:
I have had AKI is now IMELDA
huh?
_______________________________________________ Skunkworks mailing list Skunkworks@lists.my.co.ke http://lists.my.co.ke/cgi-bin/mailman/listinfo/skunkworks Other services @ http://my.co.ke Other lists ------------- Skunkworks announce: http://lists.my.co.ke/cgi-bin/mailman/listinfo/skunkworks-announce Science - http://lists.my.co.ke/cgi-bin/mailman/listinfo/science kazi - http://lists.my.co.ke/cgi-bin/mailman/admin/kazi/general
-- Have your view/take on the nightmare that is Nairobi traffic on my blog, http://gramware.blogspot.com in a comical/satirical take!
_______________________________________________ Skunkworks mailing list Skunkworks@lists.my.co.ke http://lists.my.co.ke/cgi-bin/mailman/listinfo/skunkworks Other services @ http://my.co.ke Other lists ------------- Skunkworks announce: http://lists.my.co.ke/cgi-bin/mailman/listinfo/skunkworks-announce Science - http://lists.my.co.ke/cgi-bin/mailman/listinfo/science kazi - http://lists.my.co.ke/cgi-bin/mailman/admin/kazi/general
participants (8)
-
Dennis Kioko
-
imelda Mueni
-
James Nzomo
-
Odhiambo ワシントン
-
Patrick Karanja
-
Peter Karunyu
-
skunk works
-
Steve Obbayi