|
Post by votan on Nov 8, 2008 9:24:07 GMT -5
Is there any way to protect folders in the public folder similar to .htaccess? Maybe the underlaying server already supports something like this? Unfortunately all subfolders in the public folder are fully accessable by anyone.. but I need to limit access to some folders by clients IPs that will be stored in a seperate file.
|
|
|
Post by carlgundel on Nov 8, 2008 16:24:38 GMT -5
Is there any way to protect folders in the public folder similar to .htaccess? Maybe the underlaying server already supports something like this? Unfortunately all subfolders in the public folder are fully accessable by anyone.. but I need to limit access to some folders by clients IPs that will be stored in a seperate file. The public folder is meant to be openly accessible. What problem are you trying to solve? -Carl
|
|
|
Post by votan on Nov 8, 2008 17:13:17 GMT -5
i'm trying to create some sort of "members area" where only registered user have access. But the RB app needs be able to pull up image from the members folder via html img src commands. Problem with the public folder then is.. passing the url of the image or file will enable anyone to just open / download files from the members area. What I need to do is to limit access to specific folders in the public folder to users whos IPs have been recorded and verified. So, similar to basic htaccess. Would be cool if there is a way to to this.. or if something could be added sometimes soon. Only thing that would make all these things obsuoete would be a way to actually read the apache headers that get send along with every request when running RB behind Apache reverse proxy. But according to some past posts, this does not seem to be so easy!?
|
|
|
Post by Carl Gundel - admin on Nov 9, 2008 15:34:50 GMT -5
Perhaps I can add some sort of capability to enable what you need. I'm open to any ideas that people here might have about the simplest and most useful design for such a feature.
-Carl
|
|
|
Post by stormforce5 on Aug 21, 2009 12:56:21 GMT -5
Hi Carl, this would be a useful feature..... my idea which may or may not help.... have a extra folder called restricted , like public or projects_folder... have a system variable - AccessRestrictedFolder$ ?? which by default would be set tp "No" and then users within their apps could change this to "Yes" within their apps to allow access to this folder.. hope this makes sense.... whether you can do this I'm not sure? cheers james
|
|
|
Post by Mystic on Mar 9, 2011 12:08:26 GMT -5
I realize this is an old post, but just wondering what the answer is lately? Can people just copy your SQLite db file if they want? Or program file? Or any other file in your project? Would sort of defeat the whole purpose for having passwords in a project, etc... I'm certain you have thought of this already, but did not see the answer here in this thread. Thanks!
|
|
|
Post by David den Haring on Mar 20, 2011 12:22:41 GMT -5
I realize this is an old post, but just wondering what the answer is lately? Can people just copy your SQLite db file if they want? Or program file? Or any other file in your project? Would sort of defeat the whole purpose for having passwords in a project, etc... I'm certain you have thought of this already, but did not see the answer here in this thread. Thanks! Nothing has changed, but to answer your question, only files in the public folder are accessible. Your project files and databases are not accessible.
|
|
|
Post by Carl Gundel - admin on Mar 20, 2011 21:34:58 GMT -5
I realize this is an old post, but just wondering what the answer is lately? Can people just copy your SQLite db file if they want? Or program file? Or any other file in your project? Would sort of defeat the whole purpose for having passwords in a project, etc... I'm certain you have thought of this already, but did not see the answer here in this thread. Thanks! Nothing has changed, but to answer your question, only files in the public folder are accessible. Your project files and databases are not accessible. That's right. It is only visible if it is in the public folder or in a subfolder. -Carl
|
|