Web Host Chat
Bringing Hosts & Customers together since 2001
Home QLinks Members Your Profile Register FAQ's Hosts Only Area SMS Alerts Advertising
User Information
»REGISTER NOW!

Go Back   Web Host Chat > Web Hosting Chat > Shared and Reseller Web Hosting
Reply
 
LinkBack Thread Tools
Old 8th August 2008   #1 (permalink)
New User (2)
Brand New!
Join Date: Aug 2008
Posts: 2
lsot is on a distinguished road
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.
__________________
Registered User
lsot is offline   Reply With Quote
Old 8th August 2008   #2 (permalink)
I am Staff at
TDMWeb
About My Company!

Certified Host
Join Date: Jan 2004
Location: London
Posts: 414
TDMWeb is on a distinguished road
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)
__________________
Web Host - Certified Member
TDMWeb is online now   Reply With Quote
Old 8th August 2008   #3 (permalink)
I am Staff at
Dwebs Ltd
About My Company!


Certified Host
Dhosting's Avatar
Join Date: Jan 2006
Location: Blackpool
Age: 20
Posts: 1,261
Dhosting is on a distinguished road
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
www.Dhosting.co.uk - Web Hosting, Managed Servers
www.Dwebs.ltd.uk - Web Design & Other Services

My views are my own and not those of my company.
__________________
Web Host - VIP Member

Last edited by Dhosting : 8th August 2008 at 12:16 PM.
Dhosting is online now   Reply With Quote
Old 8th August 2008   #4 (permalink)
I am Staff at
TDMWeb
About My Company!

Certified Host
Join Date: Jan 2004
Location: London
Posts: 414
TDMWeb is on a distinguished road
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)
__________________
Web Host - Certified Member
TDMWeb is online now   Reply With Quote
Old 8th August 2008   #5 (permalink)
Join Date: Sep 2003
Age: 25
Posts: 393
heypresto is on a distinguished road
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
__________________
Web Host - Certified Member
heypresto is offline   Reply With Quote
Old 8th August 2008   #6 (permalink)
I am Staff at
Dwebs Ltd
About My Company!


Certified Host
Dhosting's Avatar
Join Date: Jan 2006
Location: Blackpool
Age: 20
Posts: 1,261
Dhosting is on a distinguished road
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
www.Dhosting.co.uk - Web Hosting, Managed Servers
www.Dwebs.ltd.uk - Web Design & Other Services

My views are my own and not those of my company.
__________________
Web Host - VIP Member
Dhosting is online now   Reply With Quote
Old 8th August 2008   #7 (permalink)
I am Staff at
Dwebs Ltd
About My Company!


Certified Host
Dhosting's Avatar
Join Date: Jan 2006
Location: Blackpool
Age: 20
Posts: 1,261
Dhosting is on a distinguished road
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
www.Dhosting.co.uk - Web Hosting, Managed Servers
www.Dwebs.ltd.uk - Web Design & Other Services

My views are my own and not those of my company.
__________________
Web Host - VIP Member
Dhosting is online now   Reply With Quote
Old 8th August 2008   #8 (permalink)
Join Date: Nov 2005
Location: EC1
Age: 27
Posts: 611
goscombtech is on a distinguished road
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
__________________
Web Host - Certified Member
goscombtech is online now   Reply With Quote
Old 8th August 2008   #9 (permalink)
I am Staff at
Dwebs Ltd
About My Company!


Certified Host
Dhosting's Avatar
Join Date: Jan 2006
Location: Blackpool
Age: 20
Posts: 1,261
Dhosting is on a distinguished road
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
www.Dhosting.co.uk - Web Hosting, Managed Servers
www.Dwebs.ltd.uk - Web Design & Other Services

My views are my own and not those of my company.
__________________
Web Host - VIP Member
Dhosting is online now   Reply With Quote
Old 8th August 2008   #10 (permalink)
Trusted User (391)
Platinum User
Join Date: Jun 2006
Posts: 383
burble is on a distinguished road
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.
__________________
Registered User
burble is online now   Reply With Quote
Old 8th August 2008   #11 (permalink)
I am Staff at
Dwebs Ltd
About My Company!


Certified Host
Dhosting's Avatar
Join Date: Jan 2006
Location: Blackpool
Age: 20
Posts: 1,261
Dhosting is on a distinguished road
ISAPI_ReWrite is the IIS version of Mod_ReWrite its near enough the same
__________________
Chris Daley
Dwebs Ltd :: Company No. 05603664 :: 08000 141 942
www.Dhosting.co.uk - Web Hosting, Managed Servers
www.Dwebs.ltd.uk - Web Design & Other Services

My views are my own and not those of my company.
__________________
Web Host - VIP Member
Dhosting is online now   Reply With Quote
Old 8th August 2008   #12 (permalink)
I am Staff at
xoozoo Ltd
About My Company!

Certified Host
Join Date: Nov 2001
Location: Totnes
Posts: 861
dch is on a distinguished road
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
__________________
Web Host - Certified Member
dch is offline   Reply With Quote
Old 11th August 2008   #13 (permalink)
New User (2)
Brand New!
Join Date: Aug 2008
Posts: 2
lsot is on a distinguished road
Thanks for all your responses. I think using ISAPI_ReWrite will be the best way forward.
__________________
Registered User
lsot is offline   Reply With Quote
Old 11th August 2008   #14 (permalink)
I am Staff at
Dwebs Ltd
About My Company!


Certified Host
Dhosting's Avatar
Join Date: Jan 2006
Location: Blackpool
Age: 20
Posts: 1,261
Dhosting is on a distinguished road
You can't go wrong
__________________
Chris Daley
Dwebs Ltd :: Company No. 05603664 :: 08000 141 942
www.Dhosting.co.uk - Web Hosting, Managed Servers
www.Dwebs.ltd.uk - Web Design & Other Services

My views are my own and not those of my company.
__________________
Web Host - VIP Member
Dhosting is online now   Reply With Quote
Old 11th August 2008   #15 (permalink)
I am Staff at
Secura Hosting Ltd
About My Company!


Certified Host
markcastle's Avatar
Join Date: Aug 2002
Location: London, England
Posts: 3,043
markcastle is on a distinguished road
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.
__________________
Web Host - VIP Member

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

vB 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


Some great companies!


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