Re: Advice about file security

2009-06-12 Thread wowfka
o use > php as a middle-man to an ftp. Your app needs to be secure no matter > what you do. > > On Jun 12, 4:09 pm, wowfka wrote: > > > Hello, > > > Have question regarding file security. I am thinking to create e-shop > > where you can buy some files. > >

Advice about file security

2009-06-12 Thread wowfka
Hello, Have question regarding file security. I am thinking to create e-shop where you can buy some files. Would it be secure if i create dedicated ftp server, allow access to it only from e-shop (IP). Users cant directly access ftp, i have written ftp client with php, which downloads, sends file

Re: search engine bots and sessions

2009-03-13 Thread wowfka
pam bots that act > the same and are harder to track since they tend to use 'normal' > browser useragent strings. > > On Mar 13, 9:35 am, wowfka wrote: > > > Hi, > > >   Have little prob with search engine bots :) I am storing sessions in > > dat

Re: search engine bots and sessions

2009-03-13 Thread wowfka
I am just tracking, currently visiting users last 30 min, so i can use session database, also increased session expirity a little. As i know cake deletes only expired sessions. On Mar 13, 12:01 pm, Braindead wrote: > Cake deletes expired entries from the session table automatically. > Therefore

search engine bots and sessions

2009-03-13 Thread wowfka
Hi, Have little prob with search engine bots :) I am storing sessions in database and also track visitors in site, with records from that database, recently i saw multiple records with same IP adress tracked it, and found that it is search engine bots, google,yahoo, etc there was many records w

Re: acess url only from email

2008-11-14 Thread wowfka
mmm yes thanks for idea, i think better way is to force enter email. its clearer solution, then type some pass. I want to add that here is very friendly community in "cakephp groups" :) Best reagards On Nov 14, 1:12 am, "Jon Bennett" <[EMAIL PROTECTED]> wrote: > > No it is not e-mail activation

Re: acess url only from email

2008-11-13 Thread wowfka
No it is not e-mail activation, it should work so: admin prepares some order with products, then send email to user, user click link and gets order, and checkout it. I know all how to implement this except email part, also know how email auth works, just trying to find best solution. :) Another i

Re: acess url only from email

2008-11-12 Thread wowfka
thank you for reply. i think i will stay, on hashed url solution, yes you can share url, but as you said there is no better, more secure way... On Nov 12, 6:40 pm, Smelly_Eddie <[EMAIL PROTECTED]> wrote: > That still does not prevent a user from sharing the original url in > the email. Anyone t

Re: acess url only from email

2008-11-11 Thread wowfka
Yes i thought about this approach. But problem is that i need to make access only through email, without restrictions in visit count. On Nov 11, 9:29 pm, "Jon Bennett" <[EMAIL PROTECTED]> wrote: > > I would add a hashed key to the URL, that way the URL only works if > > the hash is valid, somethi

acess url only from email

2008-11-11 Thread wowfka
Hello, Anyone knows how to make secure url, for ex: i send email with url to client he open that url and get contents, but if he tries to access it directly for ex: entering address or some other way access, get error message "page not found". I dont need code just logic, how i could implement

tree and translate behaviours (same model), delete problem

2008-10-07 Thread wowfka
Hello all, Currently i am using cakephp 1.2 RC 3, i have no problems with using both behaviours it transaltes it correctly, but when i trying to delete parent tree node it also delete child's it is ok, the problem is translate behaviour only deletes parent node in i18n table and leaves all childs

custom routing and cache

2008-10-04 Thread wowfka
Hello all, have little problem with my caching and routing, i pasted my code http://bin.cakephp.org/view/1851097319 , if i use cake default link cache correctly creates and delete, if i try to do it with routing using slug and lang prefix cache does not create or delete, only managed to do caching

Re: custom routing and cache

2008-10-04 Thread wowfka
Found solution: After save need to delete it manualy with clearCache() function dont know is it correct way but it works for me for ex: file in tmp/cache/view :mano_eng_cat_test-category.php $lang = $this->Session->read('Config.language'); $cacheFile = "_".$lang."_cat_"; $cacheFile .= str_re

Re: custom routing and cache

2008-10-04 Thread wowfka
recently updated to rc3 with no changes... On Oct 4, 5:44 pm, "3lancer.eu" <[EMAIL PROTECTED]> wrote: > Hi, > > Yes, I'm usings slugs as well and having the same issue. Do you use > RC2 as well? > > Regards, > Piotr --~--~-~--~~~---~--~~ You received this message

Re: validate alphanumeric

2008-09-29 Thread wowfka
it was fixed in https://trac.cakephp.org/ticket/5025, have same problem with my lithuanian chars. On Sep 26, 7:50 pm, "[EMAIL PROTECTED]" <[EMAIL PROTECTED]> wrote: > Hari, > > I would like to use validation with 1.2. I need something like > alpanumeric, but it seems it does not accept non latin

cache file update problem

2008-09-29 Thread wowfka
Hello, I am newbie to this workgroup, have tried to search about problem but cant find any solutions. My problem is that cake didnt clear-update my cache file. For ex: //Here i cache my action function view_page(slug = null){ ... $this->cacheAction = "+1 day"; } //Here trying to update r