RoundCube Webmail Forum  

Go Back   RoundCube Webmail Forum > Release Support > Release Discussion

For more information about the ads and why they're here, please see the FAQ
Reply
  #1  
Old 10-28-2007, 10:14 AM
Registered User
 
Join Date: Jun 2007
Posts: 5
Downloads: 1
Uploads: 0
Default Please rename *.inc to *.inc.php

I noticed that RoundCube uses a lot of *.inc files to be included. Then it uses .htaccess to disable users to view this files via the browser (in order to hide the source code).

Why not naming these files *.inc.php? With the .php extension you know that those files contains php code and users can't access the source code via the browser. Thereby, you don't have to set all the .htaccess files. Not to forget, sometimes one can't use .htaccess files or just forgets to copy them (thus leading of the source code still accessible from outside).

In short, using *.inc.php instead of *.inc has the following advantages:
  • 1. No more using .htaccess
  • 2. Disabled view of the source code, even without .htaccess
  • 3. Makes installation a bit easier

I was wondering if I'm the only one with this on his mind...
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #2  
Old 11-16-2007, 06:30 PM
Registered User
 
Join Date: Jun 2007
Posts: 5
Downloads: 1
Uploads: 0
Default Re: Please rename *.inc to *.inc.php

Any comments on this one?
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #3  
Old 11-21-2007, 07:56 AM
Super Moderator
 
Join Date: Jul 2006
Location: Dronten | The Netherlands
Posts: 150
Downloads: 0
Uploads: 0
Default Re: Please rename *.inc to *.inc.php

May this is something to send to the dev. mailing list.
http://lists.roundcube.net/dev/
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #4  
Old 11-26-2007, 04:24 AM
Registered User
 
Join Date: Oct 2007
Posts: 6
Downloads: 0
Uploads: 0
Default Re: Please rename *.inc to *.inc.php

I think because of security flaws/futures/hacks/whatever to download the full php files.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #5  
Old 11-26-2007, 07:27 PM
Registered User
 
Join Date: Nov 2007
Posts: 2
Downloads: 0
Uploads: 0
Default Re: Please rename *.inc to *.inc.php

Makes sense to me, I don't see any reason not to
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #6  
Old 03-10-2008, 03:13 PM
JD JD is offline
Registered User
 
Join Date: Mar 2008
Posts: 2
Downloads: 0
Uploads: 0
Default Re: Please rename *.inc to *.inc.php

Hello.
The dev team should improve this issue.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #7  
Old 03-20-2008, 08:32 PM
Registered User
 
Join Date: Mar 2008
Posts: 3
Downloads: 0
Uploads: 0
Default Re: Please rename *.inc to *.inc.php

Agrees.

.htaccess-files can just be just as annoying and make problems to few. Not saying I getting issues, but heard others which had.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #8  
Old 03-22-2008, 10:39 PM
Member
 
Join Date: Sep 2007
Posts: 49
Downloads: 0
Uploads: 0
Default Re: Please rename *.inc to *.inc.php

We read the mailinglists and like tickets on trac.

But I agree, it wouldn't hurt!
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #9  
Old 03-23-2008, 01:41 AM
Registered User
 
Join Date: Oct 2007
Posts: 37
Downloads: 0
Uploads: 0
Default Re: Please rename *.inc to *.inc.php

I definitely agree.
Plus, as an added bonus, you could even toss in some header redirects once they're all php processed so that instead of actually even getting a blank page, the user will be bounced back to the login screen.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Reply

Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On

For more information about the ads and why they're here, please see the FAQ

All times are GMT. The time now is 03:52 PM.


Powered by vBulletin® Version 3.7.3
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 3.2.0
Copyright © 2006-2008 RoundCube Webmail Community