On Wednesday, December 12, 2012 5:05:38 PM UTC-7, tim wrote:
Hi Rajib,--CSS and JS files, in the context of a Cake application, are executed on the client-side (web browser). Your Cake application doesn't actually do anything with the CSS or JS files, they are just passed onto the client and executed there. Restricting access as you have will only prevent your users from viewing your website/application correctly.Cheers,TimOn Wed, Dec 12, 2012 at 8:33 PM, Rajib Mahmud <rajc...@gmail.com> wrote:
Dear all,Thanks in advance. My problem is that if someone tries to put the URL like http://test.com/css_or_js_or_otherFolder then it goes directly those folder under webroot. Now I need to restrict all other surfer to get that access other then me. Main objective not to share css or js or any other user files under css or js or sub folder like test under webroot directly. But it will be used by the website itself. When I restricted the css or js or otherFolder subFolder using .htaccess then the website itself does not use as well. I want to use those files by the website itself not downloaded or viewed or accessed by the others. Pls help me in this matter.ThanksRajib--
Like Us on FaceBook https://www.facebook.com/CakePHP
Find us on Twitter http://twitter.com/CakePHP
---
You received this message because you are subscribed to the Google Groups "CakePHP" group.
To post to this group, send email to cake...@googlegroups.com.
To unsubscribe from this group, send email to cake-php+u...@googlegroups.com .
Visit this group at http://groups.google.com/group/cake-php?hl=en .
Like Us on FaceBook https://www.facebook.com/CakePHP
Find us on Twitter http://twitter.com/CakePHP
---
You received this message because you are subscribed to the Google Groups "CakePHP" group.
To post to this group, send email to cake-php@googlegroups.com.
To unsubscribe from this group, send email to cake-php+unsubscribe@googlegroups.com.
Visit this group at http://groups.google.com/group/cake-php?hl=en.
No comments:
Post a Comment