Web Host Chat - The UK hosting forum
Welcome to the UK's best forum for hosts and hosters!
Other great websites: Game servers, UK Webmasters Forum, UK game chat
»REGISTER NOW!
Go Back   UK Web Host Chat, Hosting Forum, Web Hosting Forum > Web Hosting Chat > Shared and Reseller Web Hosting
Reply  
 
LinkBack Thread Tools  
Old 8th August 2008   #1 (permalink)
Write permissions on root folder - good or bad?

Hi, I'm hoping someone can help me!

My company website has been hosted by Netbenefit for the last 10 years with minimal issues. We've recently had a new website developed with a content management system, ASP.NET 3.0, and the developers will be marketing the website.

My issue:
For SEO reasons, the web developers have put all web pages in the root folder however for CMS I need write access to this folder. Netbenefit will not allow write permissions on the root folder for security reasons. I am therefore planning to move to our web developers hosting package which is on rackspace.

My questions:
If I move hosting, does having write access on the root folder cause a major security vulnerability?
If I stay with Netbenefit, how much would moving all the pages to a subfolder impact on SEO?

With everything I am being told from each company, I would just like to get an independent view on this.

Thanks.
lsot is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old 8th August 2008   #2 (permalink)
About my company:
TDMWeb
I am a:
Certified Standard Host
I have made 653 posts
67 posts within 6 months
Contact Me, Company profile
My personal take on this is that the same folder (website root or a folder within the website root) should not have write and script or execute permissions at the same time, as this poses a security risk.

If your root folder has write perms but no script/execute perms, then HTML and image files could be written there and that would be OK.

A CMS system which relies on writing files into the website area is, in my view, poorly designed. However, this is how almost all the apps I've seen have been developed. The better solution is to have all updateable content stored outside the website area, where it can be accessed by scripts/apps in the website area, so the website is dynamic not static.

Whether the writeable folder is the website root or a folder within the website root is beside the point really, it's the permissions mix that makes the difference.
__________________
Chris at TDMWeb.com
Windows & Linux hosting and fully managed dedicated servers with great customer service!
UK-based but serving the world... (VAT No: 474698684)
TDMWeb is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old 8th August 2008   #3 (permalink)
About my company:
DWebs Ltd
I am a:
Certified VIP Host
I have made 1988 posts
180 posts within 6 months
Contact Me, Company profile
Why don't you do what a lot of our .net clients do use ISAPI_ReWrite.

Store the files in the folders that make sense then use isapi_rewrite to make the URL's 100% SE friendly.

Having all files in the root isn't a major SEO benefit in my view if the files are well named and links well structured you should be fine.

CMS for me is a db backend with the content stored then a simple file spits out the output based on the querystring then you use something like ISAPI_ReWrite to make the URL's friendly depending on what you specify in the DB so its 100% dynamic no writing to files.
__________________
Chris Daley
Dwebs Ltd :: Company No. 05603664 :: 08000 141 942
2008hosting.net - Windows 2008 Server Hosting Solutions
Dhosting.co.uk - Web Hosting, Managed Servers
Dwebs.ltd.uk - Web Design & Other Services

My views are my own and not those of my company.

Last edited by Dhosting; 8th August 2008 at 12:16 PM.
Dhosting is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old 8th August 2008   #4 (permalink)
About my company:
TDMWeb
I am a:
Certified Standard Host
I have made 653 posts
67 posts within 6 months
Contact Me, Company profile
Chris is right, ISAPI rewrite can be a really good improvement.

Database backends are simple, but you can end up with a lot of database load where a simpler "read in from a text file" approach puts much less load on the system.
__________________
Chris at TDMWeb.com
Windows & Linux hosting and fully managed dedicated servers with great customer service!
UK-based but serving the world... (VAT No: 474698684)
TDMWeb is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old 8th August 2008   #5 (permalink)
Such as BBC News where the whole site is managed by a custom CMS, but writes out static .shtml files only including a certain amount of dynamic content, which itself is pretty static, e.g. the header/footer bars and menus.
__________________
Andrew Taylor
Hey Presto! Internet Services
www.heypresto.co.uk
heypresto is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old 8th August 2008   #6 (permalink)
About my company:
DWebs Ltd
I am a:
Certified VIP Host
I have made 1988 posts
180 posts within 6 months
Contact Me, Company profile
Actually its all down to how its done if its an MSSQL backend and the db, sproc and frontend is written correctly it can be far faster under load than file reads plus you don't get file lock issues and open stream problems.

For small amounts of data XML is ideal or text file but if you have a load of pages i would say mssql backend is the way to go.

We show up on the ISAPI_ReWrite website (Shared hosting services) as a supported host for v3 etc so we get quite a few enquiries it does the job. Excellent for php shopping carts like zencart, cubecart and joomla CMS if you want SE friendly URL's.
__________________
Chris Daley
Dwebs Ltd :: Company No. 05603664 :: 08000 141 942
2008hosting.net - Windows 2008 Server Hosting Solutions
Dhosting.co.uk - Web Hosting, Managed Servers
Dwebs.ltd.uk - Web Design & Other Services

My views are my own and not those of my company.
Dhosting is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old 8th August 2008   #7 (permalink)
About my company:
DWebs Ltd
I am a:
Certified VIP Host
I have made 1988 posts
180 posts within 6 months
Contact Me, Company profile
Quote:
Originally Posted by heypresto View Post
Such as BBC News where the whole site is managed by a custom CMS, but writes out static .shtml files only including a certain amount of dynamic content, which itself is pretty static, e.g. the header/footer bars and menus.
All down to site load for small to medium DB works, large static is usually better as it can be cached.
__________________
Chris Daley
Dwebs Ltd :: Company No. 05603664 :: 08000 141 942
2008hosting.net - Windows 2008 Server Hosting Solutions
Dhosting.co.uk - Web Hosting, Managed Servers
Dwebs.ltd.uk - Web Design & Other Services

My views are my own and not those of my company.
Dhosting is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old 8th August 2008   #8 (permalink)
About my company:
Goscomb Technologies Limited
I am a:
Certified VIP Host
I have made 1551 posts
307 posts within 6 months
Contact Me, Company profile
Quote:
Originally Posted by Dhosting View Post
Actually its all down to how its done if its an MSSQL backend and the db, sproc and frontend is written correctly it can be far faster under load than file reads plus you don't get file lock issues and open stream problems.
er... no

deal with any kind of real load and thats just not true!
__________________
Goscomb Technologies Limited - www.goscomb.net / AS39326

E: sales@goscomb.net P: +44 (0) 203 129 4400 F: +44 (0) 203 129 4410

Free IPv4/IPv6 Dialup! p: 08456043047 u: dial@goscomb.net.uk p: dial
IP Transit :: Colocation :: Dedicated Servers :: Leased Lines :: DSL
Registered in England and Wales No. 05672987 - VAT Registration No. 853 7954 80
goscombtech is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old 8th August 2008   #9 (permalink)
About my company:
DWebs Ltd
I am a:
Certified VIP Host
I have made 1988 posts
180 posts within 6 months
Contact Me, Company profile
Dan in the context of the OP's requirement db vs file there will be no real difference.

DB backend can perform exceptionally well up to decent loads.

Static is always going to be faster but for the OP DB backend would do the job saves ********* about with files all the time.

We aren't talking the BBC here or some other super large site.
__________________
Chris Daley
Dwebs Ltd :: Company No. 05603664 :: 08000 141 942
2008hosting.net - Windows 2008 Server Hosting Solutions
Dhosting.co.uk - Web Hosting, Managed Servers
Dwebs.ltd.uk - Web Design & Other Services

My views are my own and not those of my company.
Dhosting is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old 8th August 2008   #10 (permalink)
I use a DB and mod_rewrite (apache equivalent of ISAPI I believe). That way if you see a certain page using a lot of resources, you can cache it to a static file (either through the admin interface or a cron job) - if you set up your mod_rewrite rules sensibly, nothing will need to change.
burble is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old 8th August 2008   #11 (permalink)
About my company:
DWebs Ltd
I am a:
Certified VIP Host
I have made 1988 posts
180 posts within 6 months
Contact Me, Company profile
ISAPI_ReWrite is the IIS version of Mod_ReWrite its near enough the same
__________________
Chris Daley
Dwebs Ltd :: Company No. 05603664 :: 08000 141 942
2008hosting.net - Windows 2008 Server Hosting Solutions
Dhosting.co.uk - Web Hosting, Managed Servers
Dwebs.ltd.uk - Web Design & Other Services

My views are my own and not those of my company.
Dhosting is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old 8th August 2008   #12 (permalink)
dch
About my company:
xoozoo.com Ltd
I am a:
Certified Standard Host
I have made 1009 posts
11 posts within 6 months
Contact Me, Company profile
Quote:
Originally Posted by lsot View Post
Netbenefit will not allow write permissions on the root folder for security reasons. I am therefore planning to move to our web developers hosting package which is on rackspace.
It may be worth confirming with them exactly what write perms they will not allow, for example they certainly would not allow public write perms due to security, but they may allow group write perms (ie the user that your .net would process run under) to be allowed to write to it's own local area, and I think it would be unusual for them to disallow this?

It may be worth confirming with them, or even testing it.

Cheers,
Sean
__________________
» Sean Andrews,
» xoozoo.com ltd - www.xoozoo.com
» Free DNS Report tools - dr.xoozoo.com
» Company no:6482396
dch is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old 11th August 2008   #13 (permalink)
Thanks for all your responses. I think using ISAPI_ReWrite will be the best way forward.
lsot is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old 11th August 2008   #14 (permalink)
About my company:
DWebs Ltd
I am a:
Certified VIP Host
I have made 1988 posts
180 posts within 6 months
Contact Me, Company profile
You can't go wrong
__________________
Chris Daley
Dwebs Ltd :: Company No. 05603664 :: 08000 141 942
2008hosting.net - Windows 2008 Server Hosting Solutions
Dhosting.co.uk - Web Hosting, Managed Servers
Dwebs.ltd.uk - Web Design & Other Services

My views are my own and not those of my company.
Dhosting is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old 11th August 2008   #15 (permalink)
About my company:
Secura Hosting Ltd
I am a:
Certified VIP Host
I have made 3867 posts
278 posts within 6 months
Contact Me, Company profile
I know that ISAPI-Rewrite is only cheap, but why bother when you can do the basics easily enough in .net. Especially with something like..

ASP.NET 2.0: URL Mapping with RegEx Support

...or have I missunderstood something?

I can see the advantage in that it's compatible with apache rewrite configs, but how well does it scale? Has anyone here run it on some very large sites (say, sites that generate 1 to 10GB of logs a day)? I think it would worry me a bit being a 3rd party ISAPI filter for a large site that has to cope with a lot of traffic (knowing how darned difficult ISAPI filters are to debug). Looks like there is a heck of a lot of functionality, but if it's simple rewriting you want to do isn't it an unnecessary additional (and therefore falible) layer?
__________________
••• Mark Castle ••• Secura Hosting Ltd •••
••• Managed Hosting •••
••• AS29452UK Company Reg No: 04330657VAT Number: 789 2703 81Sales: 0845 123 2632 •••
My views are my own and not those of my company.

Last edited by markcastle; 11th August 2008 at 03:21 PM.
markcastle is online now  
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

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 On
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Root login fuzzlepop Business and Technical Advice 7 18th December 2005 05:09 PM
Apache and permissions TITAN Business and Technical Advice 21 19th October 2005 02:31 PM
Re-Setting Permissions..but How? telematics Business and Technical Advice 4 2nd September 2002 07:55 PM

Shared and Reseller Web Hosting Visit here to discuss all aspects of shared and reseller web hosting


Powered by vBulletin® Version 3.8.0
Copyright ©2000 - 2010, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO 3.2.0