+ Reply to Thread
Page 1 of 2 1 2 LastLast
Results 1 to 15 of 20

Thread: Write permissions on root folder - good or bad?

  1. #1
    Registered Member
    My recent posts put me 3096th (-51)
    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.

  2. #2
    687 Posts
    I am a registered host on this forum.
    TDMWeb
    My recent posts put me 64th (+8)
    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)

  3. #3
    2059 Posts
    I am a registered host on this forum.
    DWebs Ltd
    My recent posts put me 29th (+29)
    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
    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.

  4. #4
    687 Posts
    I am a registered host on this forum.
    TDMWeb
    My recent posts put me 64th (+8)
    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)

  5. #5
    501 Posts
    I am a registered host on this forum.
    Hey Presto! Internet Services
    My recent posts put me 102nd (-6)
    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

  6. #6
    2059 Posts
    I am a registered host on this forum.
    DWebs Ltd
    My recent posts put me 29th (+29)
    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
    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.

  7. #7
    2059 Posts
    I am a registered host on this forum.
    DWebs Ltd
    My recent posts put me 29th (+29)
    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
    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.

  8. #8
    1811 Posts
    I am a registered host on this forum.
    Goscomb Technologies Limited
    My recent posts put me 15th
    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 T: http://twitter.com/goscombtech

    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

  9. #9
    2059 Posts
    I am a registered host on this forum.
    DWebs Ltd
    My recent posts put me 29th (+29)
    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
    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.

  10. #10
    Registered Member
    My recent posts put me 83rd (-41)
    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.

  11. #11
    2059 Posts
    I am a registered host on this forum.
    DWebs Ltd
    My recent posts put me 29th (+29)
    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
    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.

  12. #12
    dch
    dch is offline
    1022 Posts
    I am a registered host on this forum.
    xoozoo.com Ltd
    My recent posts put me 85th (+57)
    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

  13. #13
    Registered Member
    My recent posts put me 3096th (-51)
    lsot is on a distinguished road
    Thanks for all your responses. I think using ISAPI_ReWrite will be the best way forward.

  14. #14
    2059 Posts
    I am a registered host on this forum.
    DWebs Ltd
    My recent posts put me 29th (+29)
    Dhosting is on a distinguished road
    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.

  15. #15
    4137 Posts
    I am a registered host on this forum.
    Secura Hosting Ltd
    My recent posts put me 16th (-3)
    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.
    Last edited by markcastle; 11th August 2008 at 03:21 PM.

+ Reply to Thread
Page 1 of 2 1 2 LastLast

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

     

Similar Threads

  1. SP3 - Good or bad?
    By JonWitte in forum Windows XP
    Replies: 14
    Last Post: 28th May 2010, 09:24 AM
  2. iphouse - good or bad?
    By UH-Matt in forum Dedicated Servers, VPS and Colocation
    Replies: 46
    Last Post: 29th June 2006, 06:01 PM
  3. PSYCHZ.NET - Bad bad news
    By grap2312 in forum Discuss a hosting company
    Replies: 4
    Last Post: 13th April 2006, 09:47 AM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts

Content Relevant URLs by vBSEO 3.5.0 RC2